[ovirt-users] how to remove VM and Hosts ?

Tamer Lima tamer.americo at gmail.com
Tue May 6 18:44:15 UTC 2014


Problem solved:

The VMs are related to POOL

To remove these VMs
1) on tab POOLS : detach each VM from pool
2) remove pool   (when I choose to detach all VMs from the pool this will
remove the pool itself)

When I do this , on the VM tab  the icons of VMs changes  from Pool Icon to
Server Icon
Then, on VM tab I select desired VM and click on remove.  Now it works.


finally:

all VMs removed.
now I can remove the Hosts





On Tue, May 6, 2014 at 2:59 PM, Tamer Lima <tamer.americo at gmail.com> wrote:

>
> I reinstalled the hosts
>
> step:
> 1) create new host  > I selected srv-02
> 2) host created
>
> 1) create new host  > I selected srv-03
> 2) host created
>
>
> and noticed two things :
>
> 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.
>
> 2) I can run theses VMs . That is, I can remove the host and reinsert
> again without VM problems.
> 2.1)  And another detail: these VMs are thin/dependent.
>
> All others VMs that I was able to remove was the type clone/independent.
>
>
> What happens with this thin type provisioning?
>
>
>
> On Tue, May 6, 2014 at 1:42 PM, Tamer Lima <tamer.americo at gmail.com>wrote:
>
>> hello
>>
>> what is the correct procedure to remove VMs and Hosts?
>> I know the right way is to remove VMs first then remove your Host,
>> but I generate 20 VMs, just for testing, and I want to remove either the
>> host who hosts this VMs
>>
>> Environment:
>> 3 servers:
>> srv-01 = engine , vdsm
>> srv-02 = vdsm  ,  spm, lots of VMs
>> srv-03 = vdsm , lots of VMs
>>
>>
>> I removed 2 hosts of my ovirt-engine
>> steps:
>> 1) select host and put on maintenance
>> 2) stop all VMs
>> 3) remove host
>>
>> But in VM tab I can see all VMs and can not remove .
>>
>> steps
>>
>> 1) select VM and click on remove
>>  Are you sure you want to remove the following items?
>> - pvm0203-2
>> Remove Disk(s)
>>
>> 2) click ok
>> Operation Canceled
>> Error while executing action:
>> pvm0203-2:
>>     Cannot remove VM. VM is attached to a VM-Pool.
>>
>>
>> What really happens here?  Where is this files located to remove
>> manually?
>>
>> thanks
>>
>>
>> thanks
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140506/dd810c77/attachment-0001.html>


More information about the Users mailing list