<div dir="ltr">Problem solved:<br><br>The VMs are related to POOL<br><br>To remove these VMs<br>1) on tab POOLS : detach each VM from pool<br>2) remove pool (when I choose to detach all VMs from the pool this will remove the pool itself)<br>
<br>When I do this , on the VM tab the icons of VMs changes from Pool Icon to Server Icon<br>Then, on VM tab I select desired VM and click on remove. Now it works.<br><div><br><br></div><div>finally:<br></div><div><br>
</div><div>all VMs removed.<br></div><div class="gmail_extra">now I can remove the Hosts<br></div><div class="gmail_extra"><br><br><br><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 2:59 PM, Tamer Lima <span dir="ltr"><<a href="mailto:tamer.americo@gmail.com" target="_blank">tamer.americo@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"><div><div><br>I reinstalled the hosts <br><br>step:<br>1) create new host > I selected srv-02<br>2) host created<br>
<br>1) create new host > I selected srv-03<br>2) host created<br><br><br>and noticed two things :<br>
<br>1) I tried now, to remove the remaining VMs , but the error was the same : Cannot remove VM. VM is attached to a VM-Pool.<br><br>2) I can run theses VMs . That is, I can remove the host and reinsert again without VM problems. <br>
2.1) And another detail: these VMs are thin/dependent.<br><br>All others VMs that I was able to remove was the type clone/independent.<br><br><br></div><div>What happens with this thin type provisioning?<br></div><br><br>
</div><div><div class="h5"><div><div><div class="gmail_extra"><br><div class="gmail_quote">
On Tue, May 6, 2014 at 1:42 PM, Tamer Lima <span dir="ltr"><<a href="mailto:tamer.americo@gmail.com" target="_blank">tamer.americo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">hello<div><br></div><div>what is the correct procedure to remove VMs and Hosts? </div><div>I know the right way is to remove VMs first then remove your Host,</div><div>but I generate 20 VMs, just for testing, and I want to remove either the host who hosts this VMs<br clear="all">
<div><br></div><div>Environment:</div><div>3 servers:</div><div>srv-01 = engine , vdsm</div><div>srv-02 = vdsm , spm, lots of VMs</div><div>srv-03 = vdsm , lots of VMs</div><div><br></div><div><br></div><div>I removed 2 hosts of my ovirt-engine</div>
<div>steps:</div><div>1) select host and put on maintenance</div><div>2) stop all VMs </div><div>3) remove host</div><div><br></div><div>But in VM tab I can see all VMs and can not remove .</div><div><br></div><div>steps</div>
<div><br></div><div>1) select VM and click on remove</div><div> Are you sure you want to remove the following items?</div><div><div>- pvm0203-2</div><div>Remove Disk(s)<br></div></div><div><br></div><div>2) click ok</div>
<div>Operation Canceled<br></div><div><div>Error while executing action:</div><div>pvm0203-2:<br></div><div> Cannot remove VM. VM is attached to a VM-Pool.<br></div></div><div><br></div><div><br></div><div>What really happens here? Where is this files located to remove manually? </div>
<div><br></div><div>thanks</div><div><br></div><div><br></div><div>thanks</div><div><br></div><div><br></div>
</div></div>
</blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div></div>