[one-users] Image mgmt on ONE 3 beta : issues
Robert Parrott
parrott at seas.harvard.edu
Wed Aug 10 19:35:11 PDT 2011
Hi All,
I'm working with ONE 3 beta, and am having issues with image mgmt. In
one case, trying to delete or add an introduced image doesn't work,
and in another case, using the "onevm saveas" command breaks. I'm
seeing this in both the 2.9.80 pre-release and the latest git pull of
the master branch.
In both cases, it appears as if helper scripts that are supposed to be
in the directory
$ONE_LOCATION/var/remotes/image/fs
named "mv" or "rm" (etc.) are not actually there; in fact, the entire
$ONE_LOCATION/var/remotes/image directory is missing. I expect that
something in the new IMAGE_MAD setup -- in oned.conf -- is the cause.
either a missing configuration or a bug. My IMAGE_MAD stanza is
IMAGE_MAD = [ executable = "one_image", arguments = "fs -t 15" ]
and the one_image scripts and everything are stock. Also, we are using
shared NFS filesystem across the board. In looking at the one_image.rb
code, I see where scripts from the $ONE_LOCATION/var/remotes/image/fs
are invoked, I just don't understand how they get populated.
Any help in resolving this would be appreciated. A sample log snippet
of a failed insert and a failed delete is below.
Thanks,
Rob
--
Robert E. Parrott, Ph.D. (Phys. '06)
Director, Academic Computing
Harvard University Sch. of Eng. and App. Sci.
Maxwell-Dworkin 211,
33 Oxford St.
Cambridge, MA 02138
(617)-496-1520
Failed Create
--------------
Wed Aug 10 22:30:12 2011 [ReM][D]: ImageAllocate method invoked
Wed Aug 10 22:30:12 2011 [ImM][I]: Copying
/virt/home/oneadmin/disk-images/basic-centos6.qcow2 to repository for
image 23
Wed Aug 10 22:30:12 2011 [ImG][D]: Message received: LOG I 23 Command
execution fail:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/cp
/virt/home/oneadmin/disk-images/basic-centos6.qcow2 23
Wed Aug 10 22:30:12 2011 [ImM][I]: Command execution fail:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/cp
/virt/home/oneadmin/disk-images/basic-centos6.qcow2 23Wed Aug 10
22:30:12 2011 [ImG][D]: Message received: LOG I 23 sh:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/cp: No such
file or directory
Wed Aug 10 22:30:12 2011 [ImM][I]: sh:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/cp: No such
file or directory
Wed Aug 10 22:30:12 2011 [ImG][D]: Message received: LOG I 23 ExitCode: 127
Wed Aug 10 22:30:12 2011 [ImM][I]: ExitCode: 127
Wed Aug 10 22:30:12 2011 [ImG][D]: Message received: CP FAILURE 23 -
Wed Aug 10 22:30:12 2011 [ImM][E]: Error copying image in the repository
Failed Delete
--------------
Wed Aug 10 22:13:40 2011 [ReM][D]: ImageDelete method invoked
Wed Aug 10 22:13:40 2011 [ImG][D]: Message received: LOG I 22 Command
execution fail:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/rm - 22
Wed Aug 10 22:13:40 2011 [ImM][I]: Command execution fail:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/rm - 22
Wed Aug 10 22:13:40 2011 [ImG][D]: Message received: LOG I 22 sh:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/rm: No such
file or directory
Wed Aug 10 22:13:40 2011 [ImM][I]: sh:
/virt/home/one3/opennebula-2.9.xx/var/remotes/image/fs/rm: No such
file or directory
Wed Aug 10 22:13:40 2011 [ImG][D]: Message received: LOG I 22 ExitCode: 127
Wed Aug 10 22:13:40 2011 [ImM][I]: ExitCode: 127
Wed Aug 10 22:13:40 2011 [ImG][D]: Message received: RM FAILURE 22 -
Wed Aug 10 22:13:40 2011 [ImM][E]: Error removing image from
repository. Remove file - to completely delete image.
More information about the Users
mailing list