Hi,
The problem/problems don't seem to be related to HE storage in any way.
As you don't use OVN I would make sure to remove any parameters in answer files 
that mention 'ovn' or something about external providers (and let ovengine 
setup prompt for any values interactively)
and make sure that none of the networks have that 'external network' checkmark 
with ovn as provider in ovEngine GUI
(but yes, I see that you explicitly said 'I don't have OVN in my dump'...)

For Keycloak probably you see the change described in 
https://www.mail-archive.com/users@ovirt.org/msg70682.html and thus it is 
indeed likely that you need to use OVESETUP_CONFIG/keycloakEnable=bool:False

All in all, there are 3 primary things to think of: backup, answers file and 
ovirt version (and of course things like OS/networking aspects...) and you 
might narrow down the troubleshooting by using some test host and then don't use
backup/adapt or don't use answers file.


BR,
Konstantin


On 17.01.23, 17:29, "Diego Ercolani" <diego.ercol...@ssis.sm 
<mailto:diego.ercol...@ssis.sm>> wrote:


Thank you, I'm currently trying to accomplish what you reported. But I'm 
currently stuck:
I launched this:
hosted-engine --deploy --4 
--restore-from-file=/root/deploy_hosted_engine_230117/230117-scopeall-backup.tar.gz
 
--config-append=/root/deploy_hosted_engine_230117/hosted_engine_deploy.answer.conf
 --ansible-extra-vars=Debug=99 --ansible-extra-vars=pauseonRestore=true 
--ansible-extra-vars=he_pause_before_engine_setup=true 
--otopi-environment="OVESETUP_CONFIG/keycloakEnable=bool:False"


I can install correctly the ovirt-engine locally, it launch the engine-setup 
with the restore of the database but it fails invalidating: 
OVESETUP_OVN/ovirtProviderOvnSecret as is possible to see in the engine under 
/ver/log/ovirt-engine/setup/
[...]
2023-01-17 15:58:05,667+0000 DEBUG otopi.context context._executeMethod:127 
Stage misc METHOD 
otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider
2023-01-17 15:58:05,667+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 1124, 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 807, 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 772, in _create_config_content
OvnEnv.OVIRT_PROVIDER_OVN_SECRET
KeyError: 'OVESETUP_OVN/ovirtProviderOvnSecret'
2023-01-17 15:58:05,669+0000 ERROR otopi.context context._executeMethod:154 
Failed to execute stage 'Misc configuration': 
'OVESETUP_OVN/ovirtProviderOvnSecret'
2023-01-17 15:58:05,669+0000 DEBUG otopi.transaction transaction.abort:124 
aborting 'DNF Transaction'
[...]
And also I have a problem because it seem the keycloak is enabled even if I 
disable and also ovn I tried to disable it and in the engine under 
/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf I have:
[...]
20-setup-ovirt-post.conf:OVESETUP_OVN/ovirtProviderOvn=bool:True
20-setup-ovirt-post.conf:OVESETUP_OVN/ovirtProviderOvnId=str:e6b92384-b112-40e0-8d6f-2c6e4536cd1a
[...]
but it doesn't appear any ovirtProviderOvnSecret


by the way I don't use keycloak (I don't have any keycloak table in the engine 
dump) and even OVN.


I will try to set OVESETUP_OVN/ovirtProviderOvn=bool:True to False before 
ansible launch engine-setup


_______________________________________________
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org 
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html 
<https://www.ovirt.org/privacy-policy.html>
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 
<mailto:users@ovirt.org>/message/AW5PWNJRLCC4MUAFQZTPJZ5YIE6GTDEB/



_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
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/users@ovirt.org/message/RKAFUWOKB5LHI2M2WJIX5EJVXSH6UCOR/

Reply via email to