Hi Benny,
I was trying to do it with vdsm-client without success.
vdsm-client Task -h
usage: vdsm-client Task [-h] method [arg=value] ...
optional arguments:
-h, --help show this help message and exit
Task methods:
method [arg=value]
getInfo Get information about a Task.
getStatus Get Task status information.
revert Rollback a Task to restore the previous system state.
clear Discard information about a finished Task.
stop Stop a currently running Task.
[root@v0 common]# vdsm-client Task getInfo
vdsm-client: Command Task.getInfo with args {} failed:
(code=-32603, message=Internal JSON-RPC error: {'reason': '__init__() takes
exactly 2 arguments (1 given)'})
[root@v0 common]# vdsm-client Task getStatus
vdsm-client: Command Task.getStatus with args {} failed:
(code=-32603, message=Internal JSON-RPC error: {'reason': '__init__() takes
exactly 2 arguments (1 given)'})
What other arguments does this expect. When using Host namespace I am able
to run the available options.
Thanx,
Alex
On Tue, Feb 6, 2018 at 10:24 AM, Benny Zlotnik <bzlotnik(a)redhat.com> wrote:
It was replaced by vdsm-client[1]
[1] -
https://www.ovirt.org/develop/developer-guide/vdsm/vdsm-client/
On Tue, Feb 6, 2018 at 10:17 AM, Alex K <rightkicktech(a)gmail.com> wrote:
> Hi all,
>
> I have a stuck snapshot removal from a VM which is blocking the VM to
> start.
> In ovirt 4.1 I was able to cancel the stuck task by running within SPM
> host:
>
> vdsClient -s 0 getAllTasksStatuses
> vdsClient -s 0 stopTask <task ID>
>
> Is there a similar way to do at ovirt 4.2?
>
> Thanx,
> Alex
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
>