[ovirt-users] mantenance mode error

nicola.gentile.to nicola.gentile.to at gmail.com
Thu Jun 30 13:08:02 UTC 2016


I run what you have told me and now I put in maintenance mode the node 
successfully

This is the results of command "vdsClient -s 0 getAllTasksStatuses":

{'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': 
{'19d51354-0add-4c88-a9cf-be660146af6d': {'message': '1 jobs completed 
successfully', 'code': 0, 'taskID': 
'19d51354-0add-4c88-a9cf-be660146af6d', 'taskResult': 'success', 
'taskState': 'finished'}, '355a6da4-be07-4fed-b424-99aa4e3321aa': 
{'message': '1 jobs completed successfully', 'code': 0, 'taskID': 
'355a6da4-be07-4fed-b424-99aa4e3321aa', 'taskResult': 'success', 
'taskState': 'finished'}, 'a0f1551a-f23c-4b89-84c4-43dadbc7c772': 
{'message': '1 jobs completed successfully', 'code': 0, 'taskID': 
'a0f1551a-f23c-4b89-84c4-43dadbc7c772', 'taskResult': 'success', 
'taskState': 'finished'}}}

I attach the request file vdsm.log and engine.log

Thanks a lot

Nicola

Il 30/06/2016 14:33, Nir Soffer ha scritto:
> On Thu, Jun 30, 2016 at 3:20 PM, nicola.gentile.to
> <nicola.gentile.to at gmail.com> wrote:
>> hello,
>> I must put in maintenance mode the node of ovirt but returns the following
>> error (by admin web page):
>>
>> Error while executing action: Cannot switch Host to Maintenance mode. Host
>> has asynchronous running tasks,
>> wait for operation to complete and retry.
>>
>> I have checked the log file engine.log and returns the following errors:
>>
>> 2016-06-30 13:31:35,688 INFO
>> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default task-47)
>> [5f3d36f7] Lock Acquired to object 'EngineLock:{exclusiveLocks='null',
>> sharedLocks='[00000001-0001-0001-0001-00000000037d=<POOL,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}'
>> 2016-06-30 13:31:35,692 WARN
>> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default task-47)
>> [5f3d36f7] CanDoAction of action 'MaintenanceNumberOfVdss' failed for user
>> admin at internal. Reasons:
>> VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENANCE_SPM_WITH_RUNNING_TASKS
>> 2016-06-30 13:31:35,692 INFO
>> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default task-47)
>> [5f3d36f7] Lock freed to object 'EngineLock:{exclusiveLocks='null',
>> sharedLocks='[00000001-0001-0001-0001-00000000037d=<POOL,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}'
>>
>> how can I do to see if there are tasks?
> You can run this on the host:
>
>      vdsClient -s 0 getAllTasksStatuses
>
> And share the output.
>
>> What can i do for resolve the problem?
> You should see the status of each task - if you have a finished task,
> and engine is not
> clearing it, this is a bug in engine - please file a bug and attached
> vdsm and engine logs.
>
> To clear the a finished task not cleared by the engine, try to restart
> the engine.
>
> If engine is not clearing finished tasks after restart, you can clear
> it yourself:
>
>      vdsClient -s 0 clearTask <task uuid>
>
> Nir
>
>> Thanks in advance
>>
>> Nicola
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdsm.tar.gz
Type: application/gzip
Size: 431121 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160630/13993886/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine.tar.gz
Type: application/gzip
Size: 160648 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160630/13993886/attachment-0003.bin>


More information about the Users mailing list