On 12/18/24 15:56, Jiří Sléžka via Users wrote:
On 12/18/24 15:47, e...@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 enveloperoutines: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-le...@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.htmloVirt 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-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/YO3FCCD3D7MQCOVU4DOAFISD3GONK5VT/
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ 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/TY33AHY3TITQRHOV2JXQHQUBSWN6BC7I/