Bug 1008297

Summary: Installing sam1.3 snap6 on rhel6.2 throws dependency issue error while such issue is not faced in other higher versions (rhel6.4 for example)
Product: [Retired] Subscription Asset Manager Reporter: Tazim Kolhar <tkolhar>
Component: katelloAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED NOTABUG QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.3CC: bkearney, cwelton, omaciel, sthirugn
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 16:58:50 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: 833466    

Description Tazim Kolhar 2013-09-16 06:03:35 UTC
Description of problem:
Installing sam1.3 snap6 on rhel6.2 throws dependency issue error while such issue is not faced in other higher versions (rhel6.4 for example)

Version-Release number of selected component (if applicable):
installing sam1.3 snap6 from errate

How reproducible:
everytime

Steps to Reproduce:

1.[root@ibm-x3650m4-01-vm-02 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.2 (Santiago)
Kernel \r on an \m

3.# cat /etc/yum.repos.d/sam.repo
[sam]
name=SAM
baseurl=http://download.lab.bos.redhat.com/devel/candidate-trees/SAM/SAM-1.3.0-RHEL-6-20130912.0/compose/SAM/x86_64/os/
enabled=1
gpgcheck=0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 

--> Processing Dependency: scl-utils for package: ruby193-runtime-1-11.el6.x86_64
--> Finished Dependency Resolution
Error: Package: candlepin-scl-runtime-1-5.el6_4.noarch (sam)
           Requires: scl-utils
Error: Package: ruby193-runtime-1-11.el6.x86_64 (sam)
           Requires: scl-utils
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

4. However, If try same snap6 install in rhel6.4 (say for ex or rhel6.3 also)
   no such dependency issue

5. Rhel system
   [root@hp-dl380pgen8-02-vm-12 ~]# cat /etc/issue
   Red Hat Enterprise Linux Server release 6.4 (Santiago)
   Kernel \r on an \m

6.[root@hp-dl380pgen8-02-vm-12 ~]# cat /etc/yum.repos.d/sam.repo
[sam]
name=SAM
baseurl=http://download.lab.bos.redhat.com/devel/candidate-trees/SAM/SAM-1.3.0-RHEL-6-20130912.0/compose/SAM/x86_64/os/
enabled=1
gpgcheck=0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release 


7. [root@hp-dl380pgen8-02-vm-12 ~]# yum install -y katello-headpin-all
Dependency Updated:
  libselinux.x86_64 0:2.0.94-5.3.el6_4.1       libselinux-devel.x86_64 0:2.0.94-5.3.el6_4.1       libselinux-utils.x86_64 0:2.0.94-5.3.el6_4.1      

Complete!

[root@hp-dl380pgen8-02-vm-12 ~]# katello-configure --deployment=sam --user-pass=****
Starting Katello configuration
The top-level log file is [/var/log/katello/katello-configure-20130916-015157/main.log]
Katello configuration: |=============================================================================================================================|


Actual results:
Dependency issue should not occur in rhel6.2

Expected results:
Installation successful

Additional info:
Please, let me know if any other information is needed

Comment 1 sthirugn@redhat.com 2013-09-19 16:58:50 UTC
Works for me.

# cat /etc/issue
Red Hat Enterprise Linux Server release 6.2 (Santiago)
Kernel \r on an \m

# katello-service status
tomcat6 (pid 13903) is running...[  OK  ]
httpd (pid  14227) is running...
thumbslug (pid  11713) is running...
elasticsearch (pid  13489) is running...
katello (14171) is running.
katello (14188) is running.
katello (14205) is running.
delayed_job is running.
delayed_job_monitor is running.


Version Tested:
* candlepin-0.8.26-1.el6sam.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.8.26-1.el6sam.noarch
* candlepin-tomcat6-0.8.26-1.el6sam.noarch
* elasticsearch-0.19.9-8.el6sat.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-2.el6sat.noarch
* katello-cli-1.4.3-11.el6sat.noarch
* katello-cli-common-1.4.3-11.el6sat.noarch
* katello-common-1.4.3-14.el6sam_splice.noarch
* katello-configure-1.4.4-4.el6sat.noarch
* katello-glue-candlepin-1.4.3-14.el6sam_splice.noarch
* katello-glue-elasticsearch-1.4.3-14.el6sam_splice.noarch
* katello-headpin-1.4.3-14.el6sam_splice.noarch
* katello-headpin-all-1.4.3-14.el6sam_splice.noarch
* katello-selinux-1.4.4-2.el6sat.noarch
* thumbslug-0.0.34-1.el6sam.noarch
* thumbslug-selinux-0.0.34-1.el6sam.noarch