Hi Brett,

You may be able to clear the task using the vdsClient:

On the SPM host, you can run vdsClient to query and make changes to the cluster 
To cleanup stuck task, for example

[root@oVirt1 ~]
# vdsClient -s 0 getAllTasksStatuses
{'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}
 

[root@oVirt1 ~]# vdsClient -s 0 clearTask <TaskID>

In my experience, the stuck task is never listed and therefore not available to 
be removed with vdsClient. What has worked for me in the past is to ssh into 
the engine and re-running `engine-setup` If you are running a hosted engine 
make sure that you put it in global maintenance mode first.

Cheers,
Gervais



> On Sep 20, 2016, at 7:10 AM, Maton, Brett <mat...@ltresources.co.uk> wrote:
> 
> Hi,
> 
>   I had a network outage while I was import VM backups.
>   The tasks show 'Copying Image - Failed', and are now stuck 'finalizing'.
> 
>   The VM's I was trying to import show status Image Locked in the web-ui.
> 
>   What o I need to do to cancel the tasks and start again ?
> _______________________________________________
> 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

Reply via email to