Description of problem: The upgrade from a self-hosted ovirt-engine 4.4.6 to 4.4.9 fails during the engine-setup phase. The output of engine-setup is: [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: /etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf, /etc/ovirt-engine-setup.conf.d/10-packaging.conf, /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20211113210328-cshogg.log Version: otopi-1.9.4 (otopi-1.9.4-1.el8) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup (late) [ INFO ] Stage: Environment customization --== PRODUCT OPTIONS ==-- [ INFO ] ovirt-provider-ovn already installed, skipping. --== PACKAGES ==-- [ INFO ] Checking for product updates... [ ERROR ] DNF Problem 1: cannot install the best candidate for the job - nothing provides ceph-common needed by ovirt-engine-4.4.9.5-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.5-1.el8.noarch Problem 2: problem with installed package ovirt-engine-4.4.6.8-1.el8.noarch - cannot install the best update candidate for package ovirt-engine-4.4.6.8-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.9.3-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.3-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.9.4-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.4-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.9.5-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.5-1.el8.noarch [ INFO ] DNF Performing DNF transaction rollback [ ERROR ] Failed to execute stage 'Environment customization': Problem 1: cannot install the best candidate for the job - nothing provides ceph-common needed by ovirt-engine-4.4.9.5-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.5-1.el8.noarch Problem 2: problem with installed package ovirt-engine-4.4.6.8-1.el8.noarch - cannot install the best update candidate for package ovirt-engine-4.4.6.8-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.8.4-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.8.4-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.9.3-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.3-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.9.4-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.4-1.el8.noarch - nothing provides ceph-common needed by ovirt-engine-4.4.9.5-1.el8.noarch - nothing provides python3-cinderlib needed by ovirt-engine-4.4.9.5-1.el8.noarch [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20211113210328-cshogg.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20211113210337-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed Note that: 1) The current engine is 4.4.6, but the original installation was 4.4.3. 2) I have never enabled the cinderlib support, so I wonder if it now compulsory in the latest version of the engine. How reproducible: No idea, I only have this system for experimenting.
What system is used on the hypervisor? The version oVirt 4.4.9 must be used on hypervisors with CentOS Stream or RedHat Enteprise Linix 8.5 Beta. Version 8.4 is missing specific libraries
Hosts run oVirt Node 4.4.6.3 (which is based on CentOS Strem), but the oVirt Engine VM runs CentOS 8.4, since previous upgrades did not automatically switch from CentOS to CentOS Stream. I am still perplexed since CentOS Stream does not provide packages ceph-common and python3-cinderlib, but I'll try switching to CentOS Stream and report my results back.
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
Starting with 4.4.9 cinderlib support is provided by default on both engine and node side. Please `yum update -y ovirt-release44` on the hosted engine vm, it will enable the needed repos. Closing as duplicate of bug #2023343, we are going to update the documentation about this additional step. *** This bug has been marked as a duplicate of bug 2023343 ***
I did all steps from documentation and this thread : 1. yum remove centos-release-openstack-ussuri 2. yum update ovirt-release44 3. engine-upgrade-check 4. yum update ovirt\*setup\* 5. engine-setup And got same error [ INFO ] DNF Downloaded librbd1-16.2.6-1.el8s.x86_64.rpm [ INFO ] DNF Downloaded python3-os-win-5.2.0-1.el8.noarch.rpm [ INFO ] DNF Downloaded python3-cinder-common-17.2.0-1.el8.noarch.rpm [ INFO ] DNF Downloading ovirt-engine-wildfly-23.0.2-1.el8.x86_64.rpm 181760.53/200669.30KB [ INFO ] DNF Downloaded ovirt-engine-wildfly-23.0.2-1.el8.x86_64.rpm [ ERROR ] DNF name '_get_key_for_package' is not defined [ ERROR ] Failed to execute stage 'Package installation': name '_get_key_for_package' is not defined [ INFO ] DNF Performing DNF transaction rollback [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20211115201042-n5pxb2.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20211115201432-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed