<div dir="ltr">In short, I am looking for "Destroy VM" (along with destroy Disks) similar to "Destroy Storage Domain"<div><br></div><div>-Karthik</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Jan 5, 2014 at 1:55 PM, karthik S <span dir="ltr"><<a href="mailto:karthik.lubdup@gmail.com" target="_blank">karthik.lubdup@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">When the storage is formatted, the storage Domain gets down status. <div><br></div><div>From UI, when I tried to deactivate the storage domain from the datacenter, I was asked to remove all the removes first. I could not remove the VM because the storage domain is in down state. I could not remove the storage domain (System >> storage domain>> "Remove" ) too. The remove option remained disabled.</div>
<div><br></div><div>I could only "destory" the storage domain. The storage domain was destroyed, but the vm which were in "Not Responding" status are still seen. The destory storaged domain did not destory the vms.</div>
<div><br></div><div>All the above were done using UI. Not sure using ovirtsdk would have made any diffrence.</div><div><br></div><div>Now the only option I have is to remove the stale vms ("?" vms) by getting into database. </div>
<div><br></div><div>May be an option in the UI to "remove VM from inventory/database" (and also ovirtsdk implemention of it).</div><div>If there is no existing solution, I can file a bug/ RFE ?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div>
<div>-Karthik</div><div><br></div><div><br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jan 5, 2014 at 10:52 AM, Itamar Heim <span dir="ltr"><<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 01/04/2014 10:50 PM, karthik S wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is there a way to remove VMs entries from rhev manager using python<br>
ovirt-sdk "once the storage becomes unavailble" . - Something equivalent<br>
to "Remove from Inventory" in Vmware vsphere. ?<br>
<br>
Currently I get into the postgres db and delete the entries, manually.<br>
</blockquote>
<br></div></div>
did you try removing the missing storage domain from the system?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Karthik<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>