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(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/C2TWKXGOEES...