<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
The problem is at kvm dom0 (not opennebula) i have a similar problem
some times... but i dont know how solve... <br>
<br>
in my case. when that happend i just return manually the image to
the repository.<br>
<br>
for example, if the image disk is 111, the VM is 4444 and the dom0
is 99.99.99.99 i do the following<br>
<br>
as oneadmin<br>
<br>
oneimage show 111 | grep SOURCE<br>
<br>
that return the path, similar like that:
/srv/cloud/one/var/images/5963e9e0f2ed9524e90c3b4c1d8b01ab<br>
<br>
then make a backup (backup are your friend)<br>
<br>
cp /srv/cloud/one/var/images/5963e9e0f2ed9524e90c3b4c1d8b01ab
/srv/cloud/one/var/images/5963e9e0f2ed9524e90c3b4c1d8b01ab.bk<br>
<br>
now, i can shutdown the VM<br>
<br>
ssh VM && shutdown -h now <br>
<br>
check if at dom0 the VM is running (KVM)<br>
<br>
virsh list | grep one-4444<br>
<br>
(if no output, jump to scp command)<br>
<br>
else do: virsh destroy one-4444 (or destroy VMID)<br>
<br>
and after retreive the image:<br>
<br>
scp 99.99.99.99:/path/to/image/4444/images/disk.0
/srv/cloud/one/var/images/5963e9e0f2ed9524e90c3b4c1d8b01ab<br>
<br>
usually disk.0 is the image correct to backup, but see deployment.0
file to see if you need backup other disk (deployment.0 file is at
disk.0 directory)<br>
<br>
at the last, delete VM under OpenNebula (onevm delete 4444)<br>
<br>
<br>
Sure you yet know the steps, sorry 4 the possible spam :) <br>
<br>
keep in touch to see if anybody can resolve the problem to stop an
unstoppable VM.<br>
<br>
El 05/06/12 10:42, Mohsen Amini escribió:
<blockquote
cite="mid:CA+NRpT=+V_3CkdQuOufMM6_s9ALQzQ0Vg5V+bypX3p0BFMXhDA@mail.gmail.com"
type="cite">
<div dir="ltr"><font>Hello everybody,</font>
<div><font><br>
</font></div>
<div><font>I came to know that onevm shutdown <vmid> does
not work.</font></div>
<div><font><br>
</font></div>
<div><font>In fact, in the begining the VM goes to the
"shutdown" state but after some time it again changes to
"runn".</font></div>
<div><font><br>
</font></div>
<div><font>Can someone help me on this issue?</font></div>
<div><font><br>
</font></div>
<div><font>Regards,<br clear="all">
</font>
<div dir="ltr">--------<br>
Mohsen Amini Salehi<br>
PhD Student<br>
CLOUDS Lab,
<div>Room 5.30A, ICT building,<br>
Department of Computing and Information Systems,<br>
Melbourne University,
<div><a moz-do-not-send="true"
href="http://www.csse.unimelb.edu.au/%7Emohsena"
target="_blank">http://www.csse.unimelb.edu.au/~mohsena</a></div>
</div>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
</body>
</html>