
Hello, On 08/06/2018 12:52 PM, Gobinda Das wrote:
Can you please post vdsm log which is inside /var/log/vdsm/vdsm.log ?
I suppose you are interested in vdsm log of affected host blade01 It looks like nothing special is there... 2018-08-06 12:08:37,736+0200 INFO (periodic/0) [vdsm.api] START repoStats(domains=()) from=internal, tas k_id=e2c4f6da-8179-4022-a204-9e79f83223d2 (api:46) 2018-08-06 12:08:37,737+0200 INFO (periodic/0) [vdsm.api] FINISH repoStats return={} from=internal, task _id=e2c4f6da-8179-4022-a204-9e79f83223d2 (api:52) 2018-08-06 12:08:37,737+0200 INFO (periodic/0) [vdsm.api] START multipath_health() from=internal, task_i d=c5a1406e-1afd-458e-a97d-4942f86b7be0 (api:46) 2018-08-06 12:08:37,737+0200 INFO (periodic/0) [vdsm.api] FINISH multipath_health return={} from=interna l, task_id=c5a1406e-1afd-458e-a97d-4942f86b7be0 (api:52) 2018-08-06 12:08:37,841+0200 INFO (jsonrpc/2) [api.host] START getAllVmStats() from=::1,43898 (api:46) 2018-08-06 12:08:37,842+0200 INFO (jsonrpc/2) [api.host] FINISH getAllVmStats return={'status': {'messag e': 'Done', 'code': 0}, 'statsList': (suppressed)} from=::1,43898 (api:52) 2018-08-06 12:08:37,842+0200 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succee ded in 0.00 seconds (__init__:573) 2018-08-06 12:08:52,761+0200 INFO (periodic/3) [vdsm.api] START repoStats(domains=()) from=internal, tas k_id=6a0a0ecd-941c-4f21-99b2-ea8bd140df0e (api:46) 2018-08-06 12:08:52,761+0200 INFO (periodic/3) [vdsm.api] FINISH repoStats return={} from=internal, task _id=6a0a0ecd-941c-4f21-99b2-ea8bd140df0e (api:52) 2018-08-06 12:08:52,761+0200 INFO (periodic/3) [vdsm.api] START multipath_health() from=internal, task_i d=2243d5f5-2ca8-434d-953d-33778318d79d (api:46) 2018-08-06 12:08:52,761+0200 INFO (periodic/3) [vdsm.api] FINISH multipath_health return={} from=interna l, task_id=2243d5f5-2ca8-434d-953d-33778318d79d (api:52) 2018-08-06 12:08:52,852+0200 INFO (jsonrpc/3) [api.host] START getAllVmStats() from=::1,43898 (api:46) 2018-08-06 12:08:52,853+0200 INFO (jsonrpc/3) [api.host] FINISH getAllVmStats return={'status': {'messag e': 'Done', 'code': 0}, 'statsList': (suppressed)} from=::1,43898 (api:52) 2018-08-06 12:08:52,853+0200 INFO (jsonrpc/3) [jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succee ded in 0.00 seconds (__init__:573) 2018-08-06 12:09:07,784+0200 INFO (periodic/0) [vdsm.api] START repoStats(domains=()) from=internal, tas k_id=05bc82c8-bca4-4ee3-81a1-d9f3f0b142e9 (api:46) 2018-08-06 12:09:07,785+0200 INFO (periodic/0) [vdsm.api] FINISH repoStats return={} from=internal, task _id=05bc82c8-bca4-4ee3-81a1-d9f3f0b142e9 (api:52) 2018-08-06 12:09:07,785+0200 INFO (periodic/0) [vdsm.api] START multipath_health() from=internal, task_i d=602cf720-762e-4f05-9ef7-3b9741377136 (api:46) 2018-08-06 12:09:07,785+0200 INFO (periodic/0) [vdsm.api] FINISH multipath_health return={} from=interna l, task_id=602cf720-762e-4f05-9ef7-3b9741377136 (api:52) 2018-08-06 12:09:07,871+0200 INFO (jsonrpc/4) [api.host] START getAllVmStats() from=::1,43898 (api:46) 2018-08-06 12:09:07,872+0200 INFO (jsonrpc/4) [api.host] FINISH getAllVmStats return={'status': {'messag e': 'Done', 'code': 0}, 'statsList': (suppressed)} from=::1,43898 (api:52) 2018-08-06 12:09:07,872+0200 INFO (jsonrpc/4) [jsonrpc.JsonRpcServer] RPC call Host.getAllVmStats succee ded in 0.00 seconds (__init__:573) Cheers, Jiri
On Mon, Aug 6, 2018 at 3:51 PM, Jiří Sléžka <jiri.slezka@slu.cz <mailto:jiri.slezka@slu.cz>> wrote:
Hi,
no one can help?
I still cannot activate this host - error is "Cannot activate Host. Related operation is currently in progress. Please try again later."
I believe relevant log entrieas are
2018-08-06 12:15:50,398+02 INFO [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426) [9387077a-8276-4a3f-a087-584a10a09b08] Failed to Acquire Lock to object 'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]', sharedLocks=''}' 2018-08-06 12:15:50,398+02 WARN [org.ovirt.engine.core.bll.ActivateVdsCommand] (default task-426) [9387077a-8276-4a3f-a087-584a10a09b08] Validation of action 'ActivateVds' failed for user ***my_username***. Reasons: VAR__ACTION__ACTIVATE,VAR__TYPE__HOST,ACTION_TYPE_FAILED_OBJECT_LOCKED
when I tried to "reinstall host" I got entry in Events "Failed to update Host blade01" and correlation id. Relevant log entries are
cat /var/log/ovirt-engine/engine.log | grep d2b332da-9050-419c-8188-8fdda5e9d807
2018-08-06 12:08:57,451+02 INFO [org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Running command: InstallVdsCommand internal: false. Entities affected : ID: 786646cd-c9ef-49a8-8aea-56e858dcf202 Type: VDSAction group EDIT_HOST_CONFIGURATION with role type ADMIN 2018-08-06 12:08:57,476+02 INFO [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Failed to Acquire Lock to object 'EngineLock:{exclusiveLocks='[786646cd-c9ef-49a8-8aea-56e858dcf202=VDS]', sharedLocks=''}' 2018-08-06 12:08:57,476+02 WARN [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Validation of action 'InstallVdsInternal' failed for user ***my_username***. Reasons: ACTION_TYPE_FAILED_OBJECT_LOCKED 2018-08-06 12:08:57,479+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Installation/upgrade of Host '786646cd-c9ef-49a8-8aea-56e858dcf202', 'blade01' failed: Cannot ${action} ${type}. Related operation is currently in progress. Please try again later. 2018-08-06 12:08:57,482+02 INFO [org.ovirt.engine.core.bll.CommandCompensator] (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Command [id=b74adfbb-c043-4fa9-a163-0a6ea7fba9dc]: Compensating DELETED_OR_UPDATED_ENTITY of org.ovirt.engine.core.common.businessentities.VdsStatic; snapshot: id=786646cd-c9ef-49a8-8aea-56e858dcf202. 2018-08-06 12:08:57,486+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand] (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] Transaction rolled-back for command 'org.ovirt.engine.core.bll.hostdeploy.InstallVdsCommand'. 2018-08-06 12:08:57,491+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-425) [d2b332da-9050-419c-8188-8fdda5e9d807] EVENT_ID: USER_FAILED_UPDATE_VDS(105), Failed to update Host blade01 (User: ***my_username***).
How can I unlock this entries?
Thanks in advance,
Jiri Slezka
On 08/03/2018 02:07 PM, Jiří Sléžka wrote: > Hi, > > I have one interesting issue. I was asked by colleague to repair his > cluster which is part of our oVirt installation. He tried to upgrade his > host to gain 4.2 compatibility level but it fails in some cases. Never > mind, I checked it, repaired, installed upgrades and activate his hosts > with one exception. > > One of hosts was stucked in finishing two tasks. One was changing > network configuration, the second was activating of this host. I have to > manually clear this tasks in database by > > SELECT * FROM job ORDER BY start_time DESC; > SELECT DeleteJob('...job_id...'); > SELECT DeleteJob('...job_id...'); > > Now this tasks are gone but still cannot activate this host. > > > Error while executing action: > > blade01: > > Cannot activate Host. Related operation is currently in progress. > Please try again later. > > Host is updatet (latest 4.2 repo), rebooted, looks fine... > > In tasks in UI are no tasks found (the same in db)... > > What can I do now? > > Cheers, Jiri > > > > > _______________________________________________ > Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> > To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://www.ovirt.org/site/privacy-policy/> > oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> > List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/C2TWKXGOEESXCD... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/C2TWKXGOEESXCDJUZ7IBKYDE2APFN4ZB/> >
_______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://www.ovirt.org/site/privacy-policy/> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/6H4QYVTTV37IEI... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/6H4QYVTTV37IEIA2MTABJ67P43LQ5AGI/>
-- Thanks, Gobinda