Bug 1966150 - Remove version lock on specific ansible version and require ansible 2.9.z >= 2.9.21 in ovirt-hosted-engine-setup
Summary: Remove version lock on specific ansible version and require ansible 2.9.z >= ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 4.4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.4.7
: ---
Assignee: Asaf Rachmani
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-31 14:16 UTC by Martin Perina
Modified: 2021-07-22 15:11 UTC (History)
6 users (show)

Fixed In Version: ovirt-hosted-engine-setup-2.5.0-3
Doc Type: Release Note
Doc Text:
The ovirt-hosted-engine-setup in RHV 4.4.7 requires Ansible 2.9.21 or higher. Also in RHV 4.4.7, the specific Ansible version has been removed, because the correct Ansible version is shipped through RHV channels.
Clone Of:
Environment:
Last Closed: 2021-07-22 15:11:25 UTC
oVirt Team: Integration
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2864 0 None None None 2021-07-22 15:11:29 UTC

Description Martin Perina 2021-05-31 14:16:46 UTC
Bump requirement of ansible package in ovirt-hosted-engine-setup to latest available version, which passed integration testing

Comment 1 Martin Perina 2021-05-31 14:18:26 UTC
Bumping ansible in ovirt-engine is tracked in BZ1966145

Comment 2 Michal Skrivanek 2021-06-01 06:49:31 UTC
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

Comment 4 Sandro Bonazzola 2021-06-01 12:42:47 UTC
Looks like latest ansible 2.9 is breaking us: https://github.com/oVirt/ovirt-ansible-collection/issues/283

Comment 7 Nikolai Sednev 2021-06-16 22:06:49 UTC
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)

Comment 8 Nikolai Sednev 2021-06-16 22:08:06 UTC
Is this what expected?

Comment 9 Nikolai Sednev 2021-06-20 18:07:47 UTC
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.

Comment 10 Asaf Rachmani 2021-06-20 18:11:19 UTC
(In reply to Nikolai Sednev from comment #8)
> Is this what expected?

Yes, it looks ok.

Comment 16 errata-xmlrpc 2021-07-22 15:11:25 UTC
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


Note You need to log in before you can comment on or make changes to this bug.