[one-users] onevm saveas command

Daniel Molina dmolina at opennebula.org
Wed Apr 27 15:29:41 PDT 2011


Hi,

Check that the image hook is uncommented in the oned.conf.
Would you mind to send us the output of onevm show VMID after the saveas
command.

Regards

On 27 April 2011 10:53, Prakhar Srivastava <prakhar.apj at gmail.com> wrote:

> Hi,
> When I run the command,
>   onevm saves VMID DISKID IMAGENAME
> the image of the disk is successfully saved upon shutdown of the VM,
> however the the file with a hash string name in (/srv/cloud/one/var/images)
> is not created. So when I use the image in any VM, it compains that the file
> cannot be found in /srv/cloud/one/var/images.
> Tue Apr 26 20:59:36 2011 [LCM][I]: New VM state is SHUTDOWN
> Tue Apr 26 20:59:44 2011 [LCM][I]: New VM state is EPILOG
> Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Moving
> /srv/cloud/one/var//90/images/disk.0
> Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh box1
> mkdir -p /srv/cloud/one/var/90".
> Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/scp -r
> 192.168.145.116:/srv/cloud/one/var//90/images/disk.0
> box1:/srv/cloud/one/var/90/disk.0".
> Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh
> 192.168.145.116 rm -rf /srv/cloud/one/var//90/images/disk.0".
> Tue Apr 26 21:01:16 2011 [TM][I]: tm_delete.sh: Deleting
> /srv/cloud/one/var//90/images
> Tue Apr 26 21:01:16 2011 [TM][I]: tm_delete.sh: Executed "/usr/bin/ssh
> 192.168.145.116 rm -rf /srv/cloud/one/var//90/images".
> Tue Apr 26 21:01:16 2011 [DiM][I]: New VM state is DONE
>
>
>
> Isn't the image supposed to be registered during the save process.
> Anyhow I am able to use the image by using a template file providing the
> source as the disk image saved and then registering it with a different
> name.
>
> Please advice.
>
> Prakhar
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Daniel Molina, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | dmolina at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110428/6b3a7220/attachment-0003.htm>


More information about the Users mailing list