Bug 2141351

Summary: yum update of ansible-core blocked by ansible version dependency
Product: [Fedora] Fedora EPEL Reporter: Evan Rempel <erempel>
Component: ansibleAssignee: Maxwell G <maxwell>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel8CC: a.badger, dmsimard, jens.viebig, kevin, maxwell, patrick
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ansible-6.3.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-18 01:53:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Evan Rempel 2022-11-09 14:37:08 UTC
The current ansible package ansible-5.4.0-3.el8.noarch.rpm has a requirement of

ansible-core >= 2.12.2 with ansible-core < 2.13

but redhat has just released a new ansible-core ansible-core-2.13.3-1.el8.x86_64

which breaks a full yum update


Steps to Reproduce:
1. on a RHEL8 system install ansible-5.4.0-3.el8.noarch and ansible-core-2.12.2-4.el8_6.x86_64
2. yum update


Actual results:

Depsolve Error occured: 
 Problem: package ansible-5.4.0-3.el8.noarch requires (ansible-core >= 2.12.2 with ansible-core < 2.13), but none of the providers can be installed
  - cannot install both ansible-core-2.13.3-1.el8.x86_64 and ansible-core-2.12.2-4.el8_6.x86_64
  - cannot install both ansible-core-2.13.3-1.el8.x86_64 and ansible-core-2.12.2-3.1.el8.x86_64
  - cannot install the best update candidate for package ansible-core-2.12.2-4.el8_6.x86_64
  - cannot install the best update candidate for package ansible-5.4.0-3.el8.noarch


Expected results:

updated packages get installed.

Additional info:

Comment 1 Maxwell G 2022-11-09 17:25:01 UTC
This is an unfortunate side effect of the fact that the EPEL ansible maintainers don't have control over ansible-core in RHEL, and it's to time updates across repositories. I have tried to stick to upstream's version constraints, but that's apparently not working too well. I'm planning to remove the upper version constraints from ansible in EPEL 8 and 9 so we have a grace period to properly release and test new ansible major versions after RHEL rebases ansible-core. The lower version constraints (e.g. ansible 6.5.0 requires at least ansible-core 2.13.5) can stay in place.

Comment 2 Fedora Update System 2022-11-10 00:24:35 UTC
FEDORA-EPEL-2022-5ee67963d8 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-5ee67963d8

Comment 3 Fedora Update System 2022-11-10 16:46:32 UTC
FEDORA-EPEL-2022-5ee67963d8 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-5ee67963d8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-11-18 01:53:24 UTC
FEDORA-EPEL-2022-5ee67963d8 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.