Hi,<div><br></div><div>Check that the image hook is uncommented in the oned.conf.</div><div>Would you mind to send us the output of onevm show VMID after the saveas command.</div><div><br></div><div>Regards<br><br><div class="gmail_quote">

On 27 April 2011 10:53, Prakhar Srivastava <span dir="ltr"><<a href="mailto:prakhar.apj@gmail.com">prakhar.apj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<div>When I run the command,</div><div>  onevm saves VMID DISKID IMAGENAME</div><div>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. </div>


<div><div>Tue Apr 26 20:59:36 2011 [LCM][I]: New VM state is SHUTDOWN</div><div>Tue Apr 26 20:59:44 2011 [LCM][I]: New VM state is EPILOG</div><div>Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Moving /srv/cloud/one/var//90/images/disk.0</div>


<div>Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh box1 mkdir -p /srv/cloud/one/var/90".</div><div>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".</div>


<div>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".</div><div>Tue Apr 26 21:01:16 2011 [TM][I]: tm_delete.sh: Deleting /srv/cloud/one/var//90/images</div>


<div>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".</div><div>Tue Apr 26 21:01:16 2011 [DiM][I]: New VM state is DONE</div></div><div>


<br></div><div><br></div><div><br></div><div>Isn't the image supposed to be registered during the save process.</div><div>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.</div>


<div><br></div><div>Please advice.</div><div><br></div><font color="#888888"><div>Prakhar</div>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Daniel Molina, Cloud Technology Engineer/Researcher<br>Major Contributor<br><div>OpenNebula - The Open Source Toolkit for Cloud Computing</div><div><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a></div>

<br>
</div>