Bug 769207

Summary: RHEL6.2 installation failure - log4j package issues
Product: Red Hat Satellite Reporter: Garik Khachikyan <gkhachik>
Component: PackagingAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: mkoci, mmccune, shughes
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 769905 (view as bug list) Environment:
Last Closed: 2012-08-22 18:15:25 UTC Type: ---
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: 747354, 769905    

Description Garik Khachikyan 2011-12-20 09:35:34 UTC
Description of problem:
log4j-1.2.16-4_redhat_1.el6.noarch (repo: katello) on RHEL 6.2 requires 

Version-Release number of selected component (if applicable):
RHEL 6.2 with: kernel-2.6.32-220.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. reserve a RHEL6.2 system with kernel: kernel-2.6.32-220.el6.x86_64
2. do perform the steps of installation
3. fails on `yum install -y katello-all`
  
Actual results:
Error:
---
--> Running transaction check
---> Package log4j.noarch 0:1.2.16-4_redhat_1.el6 will be installed
--> Processing Dependency: javamail >= 1.4 for package: log4j-1.2.16-4_redhat_1.el6.noarch
--> Processing Dependency: glassfish-jaf >= 1.0.2 for package: log4j-1.2.16-4_redhat_1.el6.noarch
--> Processing Dependency: jms_1_1_api for package: log4j-1.2.16-4_redhat_1.el6.noarch
---> Package rubygem-polyglot.noarch 0:0.3.1-2.el6 will be installed
--> Finished Dependency Resolution
Error: Package: log4j-1.2.16-4_redhat_1.el6.noarch (katello)
           Requires: glassfish-jaf >= 1.0.2
Error: Package: log4j-1.2.16-4_redhat_1.el6.noarch (katello)
           Requires: jms_1_1_api
Error: Package: log4j-1.2.16-4_redhat_1.el6.noarch (katello)
           Requires: javamail >= 1.4
           Installing: classpathx-mail-1.1.1-9.4.el6.noarch (rhel-x86_64-server-6)
               javamail = 1.3.1
Error: Package: log4j-1.2.16-4_redhat_1.el6.noarch (katello)
           Requires: javamail >= 1.4
           Available: classpathx-mail-1.1.1-9.4.el6.noarch (rhel-x86_64-server-6)
               javamail = 1.3.1
---

Expected results:
no deps errors. Installation is clean.

Additional info:

Comment 1 Garik Khachikyan 2011-12-20 09:38:00 UTC
packaging issue - changing the "component"

Comment 2 Garik Khachikyan 2011-12-20 09:46:23 UTC
workaround: yum install -y tomcat6 --disablerepo=katello

Q: do we really need in our Katello repo the log4j-1.2.16-4_redhat_1.el6.noarch there?

if yes - please consider the dependency issues in comment#0.

Comment 3 Mike McCune 2011-12-20 17:46:07 UTC
we do need it for the new upcoming elasticsearch work

Comment 4 Shannon Hughes 2011-12-20 17:54:54 UTC
submitted necessary rpms to our internal build area

Comment 5 Garik Khachikyan 2011-12-21 10:53:45 UTC
# VERIFIED

confirm: recently just succeed on installing Katello on RHEL6.2

packages:
:: [   INFO   ] :: katello-0.1.151-1.git.0.acb9f28.el6.noarch
:: [   INFO   ] :: katello-cli-0.1.30-1.git.0.7b8087d.el6.noarch
:: [   INFO   ] :: candlepin-0.5.8-1.el6.noarch
:: [   INFO   ] :: pulp-0.0.255-1.el6.noarch
:: [   INFO   ] :: katello-configure-0.1.43-1.git.0.0b38c9a.el6.noarch

thanks, Shannon for the fix.