All,
I just recently upgraded from 4.3 to 4.5, and while most of the upgrade went
smoothly and I didn't see any major issues, I have noticed a few things that
are causing problems.
The one piece that I had to sneak in to make the install successful, is push my
CA and intermediate CA certs into the engine after it came up the first time,
but before it fully installed, otherwise it would fail restoring the backup.
This is to address using a custom Apache cert for the hosted engine, instead of
the default self-signed CA.
The biggest issue is with keycloak. To make the upgrade succeed I had to skip
keycloak installation, after doing some digging related to this error:
"Failed to execute stage 'Misc configuration':
'OVESETUP_OVN/ovirtProviderOvnSecret'" I don't actively use OVN in my
environment right now, and I think it is all pretty much in the default install
state.
This is the same error I get when I loop back to install keycloak now that the
engine is up. This is what is in the logs for the last few lines preceding the
error and failure event:
2024-01-19 19:09:32,602+0000 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn
plugin.execute:921 execute-output: ('ovn-sbctl', 'set-connection',
'pssl:6642:[::]') stdout:
2024-01-19 19:09:32,602+0000 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn
plugin.execute:926 execute-output: ('ovn-sbctl', 'set-connection',
'pssl:6642:[::]') stderr:
2024-01-19 19:09:32,626+0000 DEBUG otopi.context context._executeMethod:127
Stage misc METHOD
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_timeout
2024-01-19 19:09:32,627+0000 INFO
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn
ovirtproviderovn._misc_configure_ovn_timeout:1076 Updating OVN timeout
configuration
2024-01-19 19:09:32,628+0000 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn
plugin.executeRaw:813 execute: ('ovn-sbctl', 'set', 'connection', '.',
'inactivity_probe=60000'), executable='None', cwd='None', env=None
2024-01-19 19:09:32,652+0000 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn
plugin.executeRaw:863 execute-result: ('ovn-sbctl', 'set', 'connection', '.',
'inactivity_probe=60000'), rc=0
2024-01-19 19:09:32,653+0000 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn
plugin.execute:921 execute-output: ('ovn-sbctl', 'set', 'connection', '.',
'inactivity_probe=60000') stdout:
2024-01-19 19:09:32,653+0000 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn
plugin.execute:926 execute-output: ('ovn-sbctl', 'set', 'connection', '.',
'inactivity_probe=60000') stderr:
2024-01-19 19:09:32,677+0000 DEBUG otopi.context context._executeMethod:127
Stage misc METHOD
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider
2024-01-19 19:09:32,678+0000 DEBUG otopi.context context._executeMethod:145
method exception
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/network/ovirtproviderovn.py",
line 1113, in _misc_configure_provider
self._configure_ovirt_provider_ovn()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/network/ovirtproviderovn.py",
line 796, in _configure_ovirt_provider_ovn
content = self._create_config_content()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/network/ovirtproviderovn.py",
line 761, in _create_config_content
OvnEnv.OVIRT_PROVIDER_OVN_SECRET
KeyError: 'OVESETUP_OVN/ovirtProviderOvnSecret'
2024-01-19 19:09:32,682+0000 ERROR otopi.context context._executeMethod:154
Failed to execute stage 'Misc configuration':
'OVESETUP_OVN/ovirtProviderOvnSecret'
2024-01-19 19:09:32,683+0000 DEBUG otopi.transaction transaction.abort:124
aborting 'DNF Transaction'
I have spent a fair amount of time researching this but haven't found a
specific root cause, or solution on this issue.
Thank you in advance,
Seann
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/WNH6XRAXNNG2PBJQCOWZHIKNT7MTTYBU/