
Hi, I need to migrate from Centos8 to Centos9, engine+ 2 nodes, iSCSI storage, My idea is backup Engine on Centos8: engine-backup --scope=all --mode=backup --file=/root/backup Then install a new engine machine with Centos9 and restore: engine-backup --mode=restore --file=backup --log=backup_restore.log engine-setup Now Engine on Centos9 is controlling the 2 nodes on Centos8 Than, I migrate all VMs from node2 to node1. Install node2 with Centos9 Migrate all VMs from node1 to node2 Install node1 with Centos9 Do you think it will work? Thanks -- Jose Ferradeira http://www.logicworks.pt

With the current versions, you cannot migrate from Centos 8 to 9. It cannot be solved with engine backup, the only solution is to export the VMs to OVA or choose the export to domain option, then do a clean install with a Centos 9 ovirt engine, and then use either the OVA or the import domain. Both solutions will definitely cause downtime.

Hi, On 12/13/24 16:43, ecsi@ecsi.hu wrote:
With the current versions, you cannot migrate from Centos 8 to 9. It cannot be solved with engine backup, the only solution is to export the VMs to OVA or choose the export to domain option, then do a clean install with a Centos 9 ovirt engine, and then use either the OVA or the import domain. Both solutions will definitely cause downtime.
Could you describe why you think it is not possible? I believe I red some posts in this list that stated there is no crucial problem to run engine on el9. Also el9 host is supported and if I remember correctly, you can live migrate to newer host but not back (which is for migrating purposes acceptable). Am I wrong? because I am currently planing migration from HE to standalone engine and I would like to restore engine backup on el9 node. Cheers, Jiri
_______________________________________________ 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/ HYLJLFEAPEDM7DNCB45IRX4OT7GSXFOK/

That's not what you asked, but how to migrate from el8 to 9. Yes, only el9 is supported. What I wrote is my own experience, from the time when el8 was not yet discontinued, and the el9 overwritten engine cannot successfully load the el8 overwritten engine save, but if you don't believe me, try it if you have a few extra free hours for this...

On 12/18/24 15:47, ecsi@ecsi.hu wrote:
That's not what you asked, but how to migrate from el8 to 9. Yes, only el9 is supported. What I wrote is my own experience, from the time when el8 was not yet discontinued, and the el9 overwritten engine cannot successfully load the el8 overwritten engine save, but if you don't believe me, try it if you have a few extra free hours for this...
ok, I will (and will report back) Cheers, Jiri
_______________________________________________ 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/V3CXWY2L4KPTTU...

On 12/18/24 15:56, Jiří Sléžka via Users wrote:
On 12/18/24 15:47, ecsi@ecsi.hu wrote:
That's not what you asked, but how to migrate from el8 to 9. Yes, only el9 is supported. What I wrote is my own experience, from the time when el8 was not yet discontinued, and the el9 overwritten engine cannot successfully load the el8 overwritten engine save, but if you don't believe me, try it if you have a few extra free hours for this...
ok, I will (and will report back)
well, it looks like installing engine and restoring db works well on el9. For now I have to stop and convert all old certificates from RC2-40-CBC to AES as RC2 is not supported on el9. Will continue tomorrow. for reference. I did these steps: yum install centos-release-ovirt45 dnf copr enable -y ovirt/ovirt-master-snapshot centos-stream-9 dnf install -y ovirt-release-master cat >/etc/yum.repos.d/CentOS-Stream-Extras-common.repo <<'EOF' [c9s-extras-common] name=CentOS Stream $releasever - Extras packages metalink=https://mirrors.centos.org/metalink?repo=centos-extras-sig-extras-common-$stream&arch=$basearch&protocol=https,http gpgkey=https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Extras gpgcheck=1 repo_gpgcheck=0 metadata_expire=6h countme=1 enabled=1 EOF echo "9-stream" > /etc/yum/vars/stream dnf distro-sync --nobest dnf install ovirt-engine engine-backup --mode=restore --file=backup/backup.tar --log=restore.log Start of engine-backup with mode 'restore' scope: all archive file: backup/backup.tar log file: restore.log Preparing to restore: - Unpacking file 'backup/backup.tar' Restoring: - Files ------------------------------------------------------------------------------ Please note: Operating system is different from the one used during backup. Current operating system: rocky9 Operating system at backup: rocky8 Apache httpd configuration will not be restored. You will be asked about it on the next engine-setup run. ------------------------------------------------------------------------------ Provisioning PostgreSQL users/databases: - user 'engine', database 'engine' - user 'ovirt_engine_history', database 'ovirt_engine_history' - user 'ovirt_engine_history_grafana' on database 'ovirt_engine_history' Restoring: - Engine database 'engine' - Cleaning up temporary tables in engine database 'engine' - Updating DbJustRestored VdcOption in engine database - Resetting DwhCurrentlyRunning in dwh_history_timekeeping in engine database - Resetting HA VM status ------------------------------------------------------------------------------ Please note: The engine database was backed up at 2024-12-18 07:30:08.000000000 +0100 . Objects that were added, removed or changed after this date, such as virtual machines, disks, etc., are missing in the engine, and will probably require recovery or recreation. ------------------------------------------------------------------------------ - DWH database 'ovirt_engine_history' - Grafana database '/var/lib/grafana/grafana.db' You should now run engine-setup. Done. engine-setup but here I stop for today because ... [WARNING] Failed to read or parse '/etc/pki/ovirt-engine/keys/engine.p12' Perhaps it was changed since last Setup. Error was: Error outputting keys and certificates 00DE315FE47F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:355:Global default library context, Algorithm (RC2-40-CBC : 0), Properties () ... cheers, Jiri
Cheers,
Jiri
_______________________________________________ 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/V3CXWY2L4KPTTUMAVCE2JZHUQLVZPHMH/
_______________________________________________ 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/YO3FCCD3D7MQCO...

This is exactly the "/etc/pki/ovirt-engine/keys/engine.p12" error that everyone who tried, including me and you, ran into. That's why I said OVA export, which is a cleaner solution, but it involves downtime.

Hi, but this error is simply solvable as mentioned in thread... https://lists.ovirt.org/archives/list/users@ovirt.org/thread/YI647H7YWRHJKDX... ...and Sam Novak's reply https://lists.ovirt.org/archives/list/users@ovirt.org/message/5IF2OOPWTCEM4Z... you just need to do this on an el8 machine and then copy converted p12 keys to el9 host Cheers, Jiri On 12/19/24 8:22 AM, ecsi@ecsi.hu wrote:
This is exactly the "/etc/pki/ovirt-engine/keys/engine.p12" error that everyone who tried, including me and you, ran into. That's why I said OVA export, which is a cleaner solution, but it involves downtime. _______________________________________________ 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/NBFVTINMTMAXSJ...

Hi, I just finished migration of production ovirt manager from HE based on el8 to standalone on el9. Now I am in process of undeploying HE from hosts. There were some minor problems which is more about fact that our ovirt installation is quite old. So as for now I believe migration from HE and el8 to standalone and el9 is viable and doable without downtime. Cheers, Jiri On 12/19/24 09:24, Jiri Slezka via Users wrote:
Hi,
but this error is simply solvable as mentioned in thread...
https://lists.ovirt.org/archives/list/users@ovirt.org/thread/ YI647H7YWRHJKDXNP4DJDEHU4ZWKCHY2/
...and Sam Novak's reply
https://lists.ovirt.org/archives/list/users@ovirt.org/ message/5IF2OOPWTCEM4ZTMC2TRPU2YN55R5D24/
you just need to do this on an el8 machine and then copy converted p12 keys to el9 host
Cheers,
Jiri
On 12/19/24 8:22 AM, ecsi@ecsi.hu wrote:
This is exactly the "/etc/pki/ovirt-engine/keys/engine.p12" error that everyone who tried, including me and you, ran into. That's why I said OVA export, which is a cleaner solution, but it involves downtime. _______________________________________________ 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/NBFVTINMTMAXSJOB3BBDUFSEDQ6GB3PX/
_______________________________________________ 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/A3VKO43SOUM7QL...
participants (4)
-
ecsi@ecsi.hu
-
Jiri Slezka
-
Jiří Sléžka
-
suporte@logicworks.pt