Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1402693 - excluder did not add expexcted excluded packages into yum.conf
excluder did not add expexcted excluded packages into yum.conf
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Upgrade (Show other bugs)
3.4.0
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Troy Dawson
liujia
:
Depends On:
Blocks: 1403696 1404106
  Show dependency treegraph
 
Reported: 2016-12-08 02:40 EST by liujia
Modified: 2017-03-08 13 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1403696 (view as bug list)
Environment:
Last Closed: 2016-12-12 09:25:11 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 12:23:26 EST

  None (edit)
Description liujia 2016-12-08 02:40:54 EST
Description of problem:
Run "atomic-openshift-excluder exclude" and "atomic-openshift-docker-excluder exclude" to exclude expected packages updated after rpm install excluder successfully, the expected packages in /usr/sbin/*excluder* are not added into /etc/yum.conf to prevent ocp and docker not updated.

# cat /etc/yum.conf 
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
excludes=
excludes=
excludes=
excludes=
gpgcheck=1
plugins=1
installonly_limit=3


Version-Release number of selected component (if applicable):
atomic-openshift-docker-excluder-3.4.0.33-1.git.0.71c05b2.el7.noarch
atomic-openshift-excluder-3.4.0.33-1.git.0.71c05b2.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. rpm install ose/ocp on rhel hosts.
2. rpm install atomic-openshift-excluder and atomic-openshift-docker-excluder 
3. run "atomic-openshift-excluder exclude" and "atomic-openshift-docker-excluder exclude"

Actual results:
the expected packages in /usr/sbin/*excluder* are not added into /etc/yum.conf to prevent ocp and docker not updated.

Expected results:
It should add expected packages into yum.conf to prevent ocp and docker updated when run "*excluder* exclude" command as a postinstall after install excluder or run "*excluder* exclude" command manually.
Comment 1 Troy Dawson 2016-12-08 11:33:16 EST
Found the problem and fixed it.
Upstream pull request:
  https://github.com/openshift/origin/pull/12191
OSE 3.4 pull request:
  https://github.com/openshift/ose/pull/499
Comment 3 liujia 2016-12-12 01:15:46 EST
Version:
atomic-openshift-excluder-3.4.0.34-1.git.0.87d9d8d.el7.noarch
atomic-openshift-docker-excluder-3.4.0.34-1.git.0.87d9d8d.el7.noarch

Steps:
1. rpm install ocp on rhel hosts.
2. install atomic-openshift-excluder 
3. run "atomic-openshift-excluder exclude"
4. run "atomic-openshift-excluder unexclude" as a workaround of bug1403655
5. install atomic-openshift-docker-excluder 
6. run "atomic-openshift-docker-excluder exclude"

Result:
For step3 and step6,all packages need to be excluded have been added into yum config file rightly as an exclude line.

I think the problem has been fixed.
Comment 4 Troy Dawson 2016-12-12 09:25:11 EST
Since this has not been released yet, and no customers were affected, I am marking this Closed.

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