Bug 1221068

Summary: OSE-2.2 - Can not update system due to ImageMagick on rhel-6.7
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: ContainersAssignee: John W. Lamb <jolamb>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.2.0CC: jokerman, libra-onpremise-devel, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Library dependencies shipped in RHEL 6.7 beta conflict with dependent packages shipped in the OpenShift Enterprise channels Consequence: Dependent programs and libraries shipped in OpenShift Enterprise failed to work due to missing or incompatible libraries. Fix: Dependent packages were updated and/or rebuilt against the dependencies shipped in RHEL 6.7 beta. Result: Dependent programs and libraries work correctly.
Story Points: ---
Clone Of:
: 1221074 (view as bug list) Environment:
Last Closed: 2015-07-24 13:03:46 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: 1221074, 1221077    

Comment 2 Johnny Liu 2015-05-15 06:37:44 UTC
Though the latest ImageMagick-devel-6.7.2.7-2.el6.x86_64.rpm is already put into puddle, but still failed.

Seen from the following output:
# yum install *openshift*cartridge*ruby
<--snip-->
--> Finished Dependency Resolution
Error: Package: ruby-RMagick-2.13.1-6.el6op.1.x86_64 (openshift_node_cdn)
           Requires: libMagickCore.so.2()(64bit)
           Available: ImageMagick-6.5.4.7-5.el6.x86_64 (rhel6)
               libMagickCore.so.2()(64bit)
           Available: ImageMagick-6.5.4.7-6.el6_2.x86_64 (rhel6)
               libMagickCore.so.2()(64bit)
           Available: ImageMagick-6.5.4.7-7.el6_5.x86_64 (rhel6)
               libMagickCore.so.2()(64bit)
           Available: ImageMagick-6.7.2.7-2.el6.i686 (rhel_extra_repo)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Seem like when install ruby-RMagick, it is looking for libMagickCore.so.2, but this file does not exist in the latest ImageMagick-devel-6.7.2.7-2.el6, but exist in the released ImageMagick-6.5.4.7-7.el6_5.

# rpm -qpl ImageMagick-6.5.4.7-7.el6_5.x86_64.rpm|grep libMagickCore.so.2
/usr/lib64/libMagickCore.so.2
/usr/lib64/libMagickCore.so.2.0.0

# rpm -qpl ImageMagick-6.7.2.7-2.el6.x86_64.rpm |grep libMagickCore.so.2


Should we also update those rpms that have dependency with libMagickCore.so.2, e.g: ruby-RMagick ???

Comment 3 Johnny Liu 2015-05-22 03:15:12 UTC
Verified this bug with OpenShiftEnterpriseErrataRHEL6.7beta/2.2/2015-05-21.2, and PASS.

# yum install "*openshift*cartridge*"

The latest ImageMagick-6.7.2.7-2.el6 would be installed, and all the dependency of cartridge is resolved successfully.

Comment 5 errata-xmlrpc 2015-07-24 13:03:46 UTC
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://rhn.redhat.com/errata/RHBA-2015-1492.html