Re: [ovirt-users] delete hang task
On Thu, Feb 18, 2016 at 3:25 PM, p...@email.cz wrote: > Hello, > I'm testing oVirt 3.6 for failover and have total issue. > Snapshot VM will hang on ZFS filesystem. Can you open a bug for this with engine and vdsm logs? > But the main questionis is : how can I cancel any unfinished tasks in ovirt > ??? We don't support canceling tasks, but it is on our roadmap. New storage tasks in 4.x should be cancelable. > I didn't find any "normal" solution, except deleting record from ovirt DB > manually To abort current running tasks, you can restart vdsmd on the host running the task. This should cause the task to fail on the engine side, and if all goes well, engine will fail the current operation and clean up properly. If engine did not clean up properly, you may need to use the unlock_entity tool mentioned in this thread. If the unlock_entity tool fails, you may need to unlock entities manually in the database, or delete record from the database. Nir ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] delete hang task
When I worked on Ovirt (a year ago) there was a tool that did it, please look for some cleaner tool or something like that. In addition, last itme I touched the code I was strongly against such a solution, are you sure that the task is not running on VDSM side? CC'ing some relevant people. - Original Message - From: "Nathanaël Blanchet" To: users@ovirt.org Sent: Friday, February 19, 2016 12:51:06 AM Subject: Re: [ovirt-users] delete hang task Hello, I met the same issue, so I worked a little bit for you :) On the engine : * QUERY : -q PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot -u engine 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2aed48392 * REMOVE PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392 Ref : http://lists.ovirt.org/pipermail/users/2015-November/035686.html Le 18/02/2016 14:25, p...@email.cz a écrit : Hello, I'm testing oVirt 3.6 for failover and have total issue. Snapshot VM will hang on ZFS filesystem. But the main questionis is : how can I cancel any unfinished tasks in ovirt ??? I didn't find any "normal" solution, except deleting record from ovirt DB manually any idea ? - no one is missing this functionality ??? regs. Pa. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanc...@abes.fr ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] delete hang task
Hello, I met the same issue, so I worked a little bit for you :) On the engine : * QUERY : -q PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot -u engine 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2aed48392 * REMOVE PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392 Ref : http://lists.ovirt.org/pipermail/users/2015-November/035686.html Le 18/02/2016 14:25, p...@email.cz a écrit : Hello, I'm testing oVirt 3.6 for failover and have total issue. Snapshot VM will hang on ZFS filesystem. But the main questionis is : how can I cancel any unfinished tasks in ovirt ??? I didn't find any "normal" solution, except deleting record from ovirt DB manually any idea ? - no one is missing this functionality ??? regs. Pa. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanc...@abes.fr ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] delete hang task
Hello, I'm testing oVirt 3.6 for failover and have total issue. Snapshot VM will hang on ZFS filesystem. But the main questionis is : how can I cancel any unfinished tasks in ovirt ??? I didn't find any "normal" solution, except deleting record from ovirt DB manually any idea ? - no one is missing this functionality ??? regs. Pa. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users