Hi all,
i just upgraded a cluster from 4.3.10 to 4.5.4. 3 hosts, hosted-engine,
engine deployment via shell and with restore from backup. Engine update
worked fine, but host update from 4.4.10 to 4.5.4 failed because the
engine could not initiate a host reboot:
2023-10-10 13:37:27,802+02 WARN
[org.ovirt.engine.core.dal.job.ExecutionMessageDirector]
(EE-ManagedThreadFactory-engine-Thread-2) [7d4d6 a58] The message key
'SshHostReboot' is missing from 'bundles/ExecutionMessages'
2023-10-10 13:37:27,823+02 INFO
[org.ovirt.engine.core.bll.SshHostRebootCommand]
(EE-ManagedThreadFactory-engine-Thread-2) [7d4d6a58] Running command:
SshHostRebootCommand internal: true. Entities affected : ID:
b578519d-7f34-4509-8b8b-dbab1b2cf6d2 Type: VDSAction group
MANIPULATE_HOST with role type ADMIN
2023-10-10 13:37:27,827+02 INFO
[org.ovirt.engine.core.bll.SshHostRebootCommand]
(EE-ManagedThreadFactory-engine-Thread-2) [7d4d6a58] Opening SSH reboot
session on host <host fqdn>
2023-10-10 13:37:28,030+02 ERROR
[org.ovirt.engine.core.bll.SshHostRebootCommand]
(EE-ManagedThreadFactory-engine-Thread-2) [7d4d6a58] SSH reboot command
failed on host '<host fqdn>': SSH session closed during connection
'root@<host fqdn>'
Stdout:
Stderr:
2023-10-10 13:37:28,038+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engine-Thread-2) [7d4d6a58] EVENT_ID:
SYSTEM_FAILED_SSH_HOST_RESTART(198), A restart using SSH initiated by
the engine to Host <host fqdn> has failed.
This also happens when a host is reinstalled via engine webinterface.
How can i fix this? The only Workaround i found is rebooting the host
via SSH and reactivating it via engine webinterface.
Also, i constantly find error messages like these in the engine.log:
2023-10-11 13:54:11,338+02 INFO
[org.ovirt.engine.extension.aaa.jdbc.core.Authentication] (default
task-815) [] locking user: api-user due to interval failures
2023-10-11 13:54:14,932+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-812) [] EVENT_ID: USER_VDC_LOGIN_FAILED(114), User
api-user@internal connecting from '<engine-ip>' failed to log in :
'Unable to log in because the password has expired. Please change the
password to proceed.'.
2023-10-11 13:54:14,933+02 ERROR
[org.ovirt.engine.core.sso.service.SsoService] (default task-815) []
OAuthException access_denied: Cannot authenticate user
'api-user@internal': Unable to log in because the password has expired.
Please change the password to proceed..
2023-10-11 13:54:14,934+02 ERROR
[org.ovirt.engine.core.aaa.filters.SsoRestApiAuthFilter] (default
task-814) [] Cannot authenticate using authentication Headers:
access_denied: Cannot authenticate user 'api-user@internal': Unable to
log in because the password has expired. Please change the password to
proceed..
This only affects the user "api-user". I am still new to oVirt and have
no idea what the api-user is trying to do and where.
I found
https://www.ovirt.org/develop/release-management/features/infra/aaa-jdbc....
but havent tried resetting yet because i dont know what will be affected
by that.
Can anyone help to point me in the right direction?
Many thanks in advance :)
Regards,
Niko