Bug 1456602
| Summary: | Packages with longer names are ignored during package updates (#24330) | ||
|---|---|---|---|
| Product: | Red Hat Ansible Engine | Reporter: | Jan Chaloupka <jchaloup> |
| Component: | ansible | Assignee: | Pavel Cahyna <pcahyna> |
| Status: | CLOSED ERRATA | QA Contact: | Leos Pol <lpol> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | jchaloup, ovasik |
| Target Milestone: | --- | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ansible-2.3.1.0-2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-02 00:19:51 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: | |||
| Bug Depends On: | 1461920 | ||
| Bug Blocks: | |||
Does 2.3.1 fix your problem? It is in EPEL-testing. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-b316d2bb3b The https://github.com/ansible/ansible/pull/24331 is applied in 2.3.1. So it will work too. But there is no plan to upgrade it to 2.3.1. The backport will do fine. It turns out that this bug is specific to the usage in OpenShift and the version of Ansible that is shipped with OpenShift should have been used, which is currently ansible-2.2.3.0-1.el7. The ansible component in RHEL Extras exists mainly for rhel-system-roles, see https://bugzilla.redhat.com/show_bug.cgi?id=1313263 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, 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/RHEA-2017:2366 |
When updating rpms with the package module with docker container as a driver packages with longer names are ignored and the module reports all packages are up-to-date. E.g. ```yaml - hosts: container_host tasks: - name: "Update packages" package: name: "verylongpackagenamethatiscompletelyignoredfromtheupdates" state: "latest" ``` The issues is upstream reported and fixed by https://github.com/ansible/ansible/pull/24331. Version-Release number of selected component (if applicable): ansible-2.3.0.0-4.el7 This blocks molecule testing of ansible roles.