Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 983243

Summary: Remove packages orphaned by the upgrade
Product: OpenShift Container Platform Reporter: Brenton Leanhardt <bleanhar>
Component: Cluster Version OperatorAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED EOL QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: low    
Version: 2.2.0CC: gmollett, kseifried, libra-onpremise-devel, lmeyer, rthrashe, thoger
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-13 22:34:45 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: 909636, 917241    
Attachments:
Description Flags
List of removed packages none

Description Brenton Leanhardt 2013-07-10 19:23:59 UTC
Description of problem:
The SRT reached out to me and mentioned that they would like us to remove packages that were shipped prior to 1.2 that are orphaned by the upgrade.  rubygem-rails-3.0.13-1.el6op.noarch is one example but I'm certain there are others.

Comment 2 Luke Meyer 2013-07-10 21:39:46 UTC
Meaning provide scripts to remove them from the customers' systems?

Well, add v1 cartridges...

I got started on scripts for cleaning up a number of things after the upgrade, would be happy to provide if I don't work this bug.

Comment 3 John W. Lamb 2013-07-11 14:04:24 UTC
Can this be done in a specfile? Will look into this.

Comment 4 Brenton Leanhardt 2013-07-11 15:24:13 UTC
I think the logic needs to live in ose-upgrade somewhere.  We don't want a given ose-upgrade step to be interactive but we should only remove packages that are no longer supported in our channels.

Comment 6 Tomas Hoger 2013-07-16 16:06:59 UTC
Created attachment 774401 [details]
List of removed packages

Attaches is a list of binary packages that exist in 1.0/1.1 OSE channels, but not in 1.2 channels.  Separate list for each OSE channel (infrastructure, node, client, jbosseap).  This has not been pruned to remove any that are obsoleted properly (if any).

Comment 8 Brenton Leanhardt 2013-07-17 15:19:07 UTC
rubygem-crack and ruby193-rubygem-crack were shipped in 1.1 but not in 1.2.  They can safely be removed if no other packages on a user's system requires them.

Comment 9 Brenton Leanhardt 2014-04-24 14:21:41 UTC
Moving this to the next major release as a reminder.

Comment 10 Rory Thrasher 2017-01-13 22:34:45 UTC
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/