[ovirt-users] Re: Force VM delete API

2018-10-31 Thread Bohdan Iakymets
Hello, as I see, your error message tell that, you can't delete VM because *Template is being created from this VM. *So did you try to remove template first? BI On Wed, Oct 31, 2018 at 11:13 AM Shani Leviim wrote: > Hi Hari, > > In case you don't have any more locked tasks, I would give a try

[ovirt-users] Re: Force VM delete API

2018-10-31 Thread Shani Leviim
Hi Hari, In case you don't have any more locked tasks, I would give a try to unlock all the tasks: PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t all This one may help too: PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -R *Regards,*

[ovirt-users] Re: Force VM delete API

2018-10-26 Thread Hari Prasanth Loganathan
Hi Benny, As per the doc, I did the following, Is this the correct way to unlock the VM ? cd /usr/share/ovirt-engine/setup/dbutils ./unlock_entity.sh -t vm c002bf24-bd34-4954-83ce-03619d7438fd Caution, this operation may lead to data corruption and should be used with care. Please contact

[ovirt-users] Re: Force VM delete API

2018-10-25 Thread Hari Prasanth Loganathan
Thank you so much Benny, I see a way to use the unlock_entity.sh, Could you provide the right method to remove the virtual machine which is there in some locked state? ./unlock_entity.sh -u "${ENGINE_DB_USER}" -d "${ENGINE_DB_DATABASE}" -t all On Thu, Oct 25, 2018 at 4:16 PM Benny Zlotnik

[ovirt-users] Re: Force VM delete API

2018-10-25 Thread Benny Zlotnik
You can use /us/share/ovirt-engine/setup/dbutils/unlock_entity.sh to unlock it first, before removing On Thu, Oct 25, 2018 at 1:40 PM Hari Prasanth Loganathan < hariprasant...@msystechnologies.com> wrote: > Hi Team, > > Any update on this ? > > On Tue, Oct 23, 2018 at 9:22 PM Hari Prasanth

[ovirt-users] Re: Force VM delete API

2018-10-25 Thread Hari Prasanth Loganathan
Hi Team, Any update on this ? On Tue, Oct 23, 2018 at 9:22 PM Hari Prasanth Loganathan < hariprasant...@msystechnologies.com> wrote: > I see an API in this doc for FORCE delete : >

[ovirt-users] Re: Force VM delete API

2018-10-23 Thread Hari Prasanth Loganathan
I see an API in this doc for FORCE delete : https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/version_3_rest_api_guide/sect-actions DELETE /ovirt-engine/api/vms/5114bb3e-a4e6-44b2-b783-b3eea7d84720 HTTP/1.1 Accept: application/xml Content-type: application/xml