<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 10, 2016 at 3:11 PM, <a href="http://nicola.gentile.to">nicola.gentile.to</a> <span dir="ltr"><<a href="mailto:nicola.gentile.to@gmail.com" target="_blank">nicola.gentile.to@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have a problem. I try to put in maintenance mode the host, but the message that is displayed is this<br>
<br>
"Error while executing action: Cannot switch Host to Maintenance mode. Host has asynchronous running tasks, wait for operation to complete and retry."<br>
<br>
I checked the log file engine.log:<br>
<br>
"2016-10-10 14:32:53,841 INFO [org.ovirt.engine.core.bll.Mai<wbr>ntenanceNumberOfVdssCommand] (default task-15) [697e9736] Lock Acquired to object 'EngineLock:{exclusiveLocks='n<wbr>ull', sharedLocks='[00000001-0001-00<wbr>01-0001-00000000016a=<POOL, ACTION_TYPE_FAILED_OBJECT_LOCK<wbr>ED>]'}'<br>
2016-10-10 14:32:53,843 WARN [org.ovirt.engine.core.bll.Mai<wbr>ntenanceNumberOfVdssCommand] (default task-15) [697e9736] Validation of action 'MaintenanceNumberOfVdss' failed for user admin@internal-authz. Reasons: VAR__TYPE__HOST,VAR__ACTION__M<wbr>AINTENANCE,VDS_CANNOT_MAINTENA<wbr>NCE_SPM_WITH_RUNNING_TASKS<br>
2016-10-10 14:32:53,843 INFO [org.ovirt.engine.core.bll.Mai<wbr>ntenanceNumberOfVdssCommand] (default task-15) [697e9736] Lock freed to object 'EngineLock:{exclusiveLocks='n<wbr>ull', sharedLocks='[00000001-0001-00<wbr>01-0001-00000000016a=<POOL, ACTION_TYPE_FAILED_OBJECT_LOCK<wbr>ED>]'}'<br>
2016-10-10 14:32:53,851 ERROR [org.ovirt.engine.api.restapi.<wbr>resource.AbstractBackendResour<wbr>ce] (default task-15) [] Operation Failed: [Cannot switch Host to Maintenance mode. Host has asynchronous running tasks,"<br>
<br>
How can I revolve?<br></blockquote><div><br></div><div>It seams that you have ongoing async operation on that host. If this it's true, I'd suggest to wait for them to complete.</div><div><br></div><div>If it's not the case or that tasks somehow died, on the engine machine you have the /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh utility to remove that zombies.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards<br>
<br>
<br>
Nicola<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote></div><br></div></div>