Hello 
Did you try checking if the engine upgrade is available or not? If yes please update and then run engine-setup.

To check
run this engine-upgrade-check

if update is available please run
yum update ovirt-engine\*setup\* -y

After this you can run engine-setup. Hope this will work for you

Ritesh



On Mon, Aug 23, 2021 at 2:08 PM dhanaraj.ramesh--- via Users <users@ovirt.org> wrote:
Hi Klaas Demter

Thank you so much for the help, appreciate it. but the upgrade still failed before the last setps and the hosting engine crashed,

[ INFO  ] Updating OVN SSL configuration
[ INFO  ] Updating OVN timeout configuration
[ INFO  ] Backing up database localhost:ovirt_engine_history to '/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump'.
[ INFO  ] Creating/refreshing DWH database schema
[ INFO  ] Setting up ovirt-vmconsole SSH PKI artifacts
[ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/bin/pki-enroll-pkcs12.sh' failed to execute
[ INFO  ] DNF Performing DNF transaction rollback
[ ERROR ] DNF module 'dnf.history' has no attribute 'open_history'
[WARNING] Rollback of DWH database postponed to Stage "Clean up"
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20210823011923-bv030m.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20210823012309-setup.conf'
[WARNING] Rollback of DWH database started
          This might be a long process, but it should be safe to start the engine service before it finishes, if needed.
[ INFO  ] Clearing DWH database ovirt_engine_history
[ INFO  ] Restoring DWH database ovirt_engine_history
[ INFO  ] Restoring file '/var/lib/ovirt-engine-dwh/backups/dwh-20210823012249.n7sv_dim.dump' to database localhost:ovirt_engine_history.
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/2A7W7Z5Q3JQK25U4QTEBAEB27VYNOZJ5/