Hi,

I am trying to update my old 4.5.5 system to the latest one, right now with no luck: I am writing to share some experience and hopefully to be pointed to the correct process.

My system runs entirely on centos8, version is 4.5.5-1.el8, engine is on a vm hosted on vmware, no self hosted engine.

The idea is to install a new engine vm, with almalinux10, import the backup taken from the old engine, and restore the system. After that I would upgrade all the hosts, one at a time.

I tried today the first time, unsuccesfully. Here are all the steps:

1. take the almalinux10 vm, install the ovirt software with these commands:

dnf copr enable -y ovirt/ovirt-master-snapshot rhel-10-x86_64
dnf install -y ovirt-release-master epel-release
dnf install -y ovirt-engine

Operation ended succesfully

2. import the backup taken from current 4.5.5 engine:

engine-backup --mode=restore --scope=all --file=/backup.tar.gz --log=/tmp/restore.log --restore-permissions

Operation ended successfully

3. Run engine-setup, here is the output (removed fqdn for privacy):

          --== CONFIGURATION PREVIEW ==--

          Host FQDN                               : xxxxxxx.yyy.it
          Firewall manager                        : firewalld
          Update Firewall                         : True
          Set up Cinderlib integration            : False
          Engine database host                    : localhost
          Engine database port                    : 5432
          Engine database secured connection      : False
          Engine database host name validation    : False
          Engine database name                    : engine
          Engine database user name               : engine
          Engine installation                     : True
          PKI organization                        : yyy.it
          Set up ovirt-provider-ovn               : True
          DWH installation                        : True
          DWH database host                       : localhost
          DWH database port                       : 5432
          DWH database secured connection         : False
          DWH database host name validation       : False
          DWH database name                       : ovirt_engine_history
          DWH database user name                  : ovirt_engine_history
          Backup DWH database                     : False
          Grafana integration                     : True
          Grafana database user name              : ovirt_engine_history_grafana
          Configure VMConsole Proxy               : True
          Configure WebSocket Proxy               : True

          Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Unlocking existing entities
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] DNF Repository copr:copr.fedorainfracloud.org:ovirt:ovirt-master-snapshot is listed more than once in the configuration
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping vmconsole-proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration (early)
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Upgrading CA
[ INFO  ] Configuring WebSocket Proxy
[ INFO  ] Backing up database localhost:engine to '/var/lib/ovirt-engine/backups/engine-20260127180343.q9xj84af.dump'.
[ INFO  ] Creating/refreshing Engine database schema
[ INFO  ] Creating/refreshing DWH database schema
[ INFO  ] Updating OVN SSL configuration
[ INFO  ] Updating OVN timeout configuration
[ INFO  ] Creating/refreshing Engine 'internal' domain database schema
          Unregistering existing client registration info.
          Updating the engine FQDN in the Data Warehouse Database.
[ INFO  ] Generating post install configuration file '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up

          --== SUMMARY ==--

[ INFO  ] Starting dwh service
[ INFO  ] Starting Grafana service
[ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'grafana-server'
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20260127180313-lps532.log [ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20260127180410-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

The log provided is so verbose that I can't spot the possible problem. I wonder, anyway, if this procedure is correct or whether I should do something different. For example I noticed that I am not asked to configure keycloak, since in the current production system I have freeipa.

Thanks for the possible help,


Andrea


--
Andrea Chierici - INFN-CNAF                     
Viale Berti Pichat 6/2, 40127 BOLOGNA
Office Tel: +39 051 2095463     
--

_______________________________________________
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/P5CNR3UQWO3XAAFPKXT4L46T2L2T67QN/

Reply via email to