Bump requirement of ansible package in ovirt-hosted-engine-setup to latest available version, which passed integration testing
Bumping ansible in ovirt-engine is tracked in BZ1966145
I wonder why not drop the concrete version? we're shipping it ourselves since 4.4.5, 4.4.7 sounds like good enough time to adapt. we may always have people who keep using the ansible channel, but those also suffer from dnf errors and have to use --nobest which we removed from docs...so they are in trouble anyway
Looks like latest ansible 2.9 is breaking us: https://github.com/oVirt/ovirt-ansible-collection/issues/283
Latest ansible coming with latest 4.4.7 is ansible-2.9.21-1.el8ae.noarch. Tested with these components on host: ansible-2.9.21-1.el8ae.noarch ovirt-ansible-collection-1.5.0-1.el8ev.noarch ovirt-hosted-engine-setup-2.5.1-1.el8ev.noarch ovirt-hosted-engine-ha-2.4.7-1.el8ev.noarch Linux 4.18.0-305.6.1.el8_4.x86_64 #1 SMP Mon Jun 7 10:18:09 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 8.4 (Ootpa) Tested with these components on engine: ovirt-engine-setup-4.4.7.3-0.3.el8ev.noarch python3-ansible-runner-1.4.6-2.el8ar.noarch ansible-2.9.21-1.el8ae.noarch ovirt-ansible-collection-1.5.0-1.el8ev.noarch ansible-runner-service-1.0.7-1.el8ev.noarch Linux 4.18.0-305.6.1.el8_4.x86_64 #1 SMP Mon Jun 7 10:18:09 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 8.4 (Ootpa)
Is this what expected?
nsednev-he-1 ~]# yum versionlock list Last metadata expiration check: 0:19:13 ago on Sun 20 Jun 2021 08:17:45 PM IDT. ovirt-engine-ui-extensions-1.2.6-1.el8ev.noarch ovirt-engine-4.4.7.3-0.3.el8ev.noarch ovirt-engine-dwh-4.4.7.1-1.el8ev.noarch ovirt-engine-tools-backup-4.4.7.3-0.3.el8ev.noarch rhvm-dependencies-4.4.1-1.el8ev.noarch ovirt-engine-extension-aaa-jdbc-1.2.0-1.el8ev.noarch ovirt-engine-restapi-4.4.7.3-0.3.el8ev.noarch rhvm-4.4.7.3-0.3.el8ev.noarch rhvm-branding-rhv-4.4.8-1.el8ev.noarch ovirt-engine-tools-4.4.7.3-0.3.el8ev.noarch ovirt-engine-webadmin-portal-4.4.7.3-0.3.el8ev.noarch ovirt-engine-dbscripts-4.4.7.3-0.3.el8ev.noarch ovirt-engine-backend-4.4.7.3-0.3.el8ev.noarch [root@nsednev-he-1 ~]# yum versionlock list | grep ansible [root@nsednev-he-1 ~]# nsednev-he-1 ~]# rpm -qi ansible-2.9.21-1.el8ae.noarch Name : ansible Version : 2.9.21 Release : 1.el8ae Architecture: noarch Install Date: Thu 17 Jun 2021 01:01:43 AM IDT Group : Development/Libraries Size : 100747680 License : GPLv3+ Signature : RSA/SHA256, Tue 04 May 2021 11:51:43 PM IDT, Key ID 199e2f91fd431d51 Source RPM : ansible-2.9.21-1.el8ae.src.rpm Build Date : Tue 04 May 2021 10:56:29 PM IDT Build Host : s390-066.build.eng.bos.redhat.com Relocations : (not relocatable) Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> Vendor : Red Hat, Inc. URL : http://ansible.com Summary : SSH-based configuration management, deployment, and task execution system Description : Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. nsednev-he-1 ~]# rpm -q --whatrequires ansible ovirt-engine-metrics-1.4.2.2-1.el8ev.noarch ansible-runner-service-1.0.7-1.el8ev.noarch ovirt-engine-4.4.7.3-0.3.el8ev.noarch ovirt-engine-4.4.7.3-0.3.el8ev.noarch ovirt-ansible-collection-1.5.0-1.el8ev.noarch nsednev-he-1 ~]# repoquery --requires --resolve ovirt-engine-4.4.7.3-0.3.el8ev.noarch | grep ansible Last metadata expiration check: 0:43:26 ago on Sun 20 Jun 2021 08:17:45 PM IDT. ansible-0:2.9.21-1.el8ae.noarch ansible-runner-service-0:1.0.7-1.el8ev.noarch ovirt-ansible-collection-0:1.5.0-1.el8ev.noarch nsednev-he-1 ~]# repoquery --requires --resolve ovirt-ansible-collection-1.5.0-1.el8ev.noarch | grep ansible Last metadata expiration check: 0:44:54 ago on Sun 20 Jun 2021 08:17:45 PM IDT. ansible-0:2.9.21-1.el8ae.noarch nsednev-he-1 ~]# repoquery --requires --resolve ansible-runner-service-1.0.7-1.el8ev.noarch | grep ansible Last metadata expiration check: 0:45:32 ago on Sun 20 Jun 2021 08:17:45 PM IDT. ansible-0:2.9.21-1.el8ae.noarch python3-ansible-runner-0:1.4.6-2.el8ar.noarch nsednev-he-1 ~]# repoquery --requires --resolve ovirt-engine-metrics-1.4.2.2-1.el8ev.noarch | grep ansible Last metadata expiration check: 0:46:04 ago on Sun 20 Jun 2021 08:17:45 PM IDT. ansible-0:2.9.21-1.el8ae.noarch nsednev-he-1 ~]# yum versionlock list Last metadata expiration check: 0:46:48 ago on Sun 20 Jun 2021 08:17:45 PM IDT. ovirt-engine-ui-extensions-1.2.6-1.el8ev.noarch ovirt-engine-4.4.7.3-0.3.el8ev.noarch ovirt-engine-dwh-4.4.7.1-1.el8ev.noarch ovirt-engine-tools-backup-4.4.7.3-0.3.el8ev.noarch rhvm-dependencies-4.4.1-1.el8ev.noarch ovirt-engine-extension-aaa-jdbc-1.2.0-1.el8ev.noarch ovirt-engine-restapi-4.4.7.3-0.3.el8ev.noarch rhvm-4.4.7.3-0.3.el8ev.noarch rhvm-branding-rhv-4.4.8-1.el8ev.noarch ovirt-engine-tools-4.4.7.3-0.3.el8ev.noarch ovirt-engine-webadmin-portal-4.4.7.3-0.3.el8ev.noarch ovirt-engine-dbscripts-4.4.7.3-0.3.el8ev.noarch ovirt-engine-backend-4.4.7.3-0.3.el8ev.noarch I don't see any locking regarding ansible version and every package that requires ansible is set to ansible-0:2.9.21-1.el8ae.noarch or above. Moving to verified.
(In reply to Nikolai Sednev from comment #8) > Is this what expected? Yes, it looks ok.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RHV RHEL Host (ovirt-host) [ovirt-4.4.7]), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:2864