Bug 1430929
| Summary: | exclude list stays the same after atomic-openshift-docker-excluder pkg update | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Alex Dellapenta <adellape> | |
| Component: | Installer | Assignee: | Troy Dawson <tdawson> | |
| Status: | CLOSED ERRATA | QA Contact: | liujia <jiajliu> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 3.4.1 | CC: | aos-bugs, jokerman, jrosenta, mmccomas, xtian | |
| Target Milestone: | --- | |||
| Target Release: | 3.4.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause: On updates, the new rpm was not running the unexclude script of the old rpm.
Consequence: The old excludes in the yum.conf file were not cleaned up if there was any differences between the old and new excluders
Fix: The new rpm run the old rpms unexclude script before it touches anything.
Result: All of the old excludes in yum.conf are cleaned up when there is an update.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1457379 (view as bug list) | Environment: | ||
| Last Closed: | 2017-04-04 14:28:40 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: | ||||
| Bug Blocks: | 1426570, 1457379 | |||
|
Description
Alex Dellapenta
2017-03-09 22:01:40 UTC
Looks like our "preun" script is running the new script to unexclude instead of the old script. I will investigate, but I believe %pretrans is what we need instead of %preun Fixed with this pull request: https://github.com/openshift/ose/pull/653 Version: atomic-openshift-docker-excluder-3.4.1.10-1.git.0.c96aed3.el7.noarch Steps: 1. prepare 3.3 repo and install atomic-openshift-docker-excluder 2. prepare 3.4 repo on the hosts 3. Update docker-excluder to 3.4 #yum update atomic-openshift-docker-excluder Result: ->before update exclude= docker*1.20* docker*1.19* docker*1.18* docker*1.17* docker*1.16* docker*1.15* docker*1.14* docker*1.13* docker*1.12* ->after update exclude= docker*1.20* docker*1.19* docker*1.18* docker*1.17* docker*1.16* docker*1.15* docker*1.14* docker*1.13* docker*1.12* The issue still existed. This was fixed in atomic-openshift-docker-excluder-3.4.1.11-1.git.0.d58d8ae.el7.noarch Please try again with the updated version. Version: atomic-openshift-docker-excluder-3.4.1.11-1.git.0.d58d8ae.el7.noarch Steps: 1. prepare 3.3 repo and install atomic-openshift-docker-excluder 2. prepare 3.4 repo on the hosts 3. Update docker-excluder to 3.4 #yum update atomic-openshift-docker-excluder Result: ->before update exclude= docker*1.20* docker*1.19* docker*1.18* docker*1.17* docker*1.16* docker*1.15* docker*1.14* docker*1.13* docker*1.12* ->after update exclude= docker*1.20* docker*1.19* docker*1.18* docker*1.17* docker*1.16* docker*1.15* docker*1.14* docker*1.13* The issue has been fixed. For those that want to see the pull request and don't have access to openshift/ose, the same code was submitted upstream in origin. https://github.com/openshift/origin/pull/13392/files 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/RHBA-2017:0865 |