Bug 760134

Summary: RHEL 6.2 support
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: James Slagle <jslagle>
Component: RHUAAssignee: James Slagle <jslagle>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0.2CC: kbidarka, sghai, tsanders
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: 2012-03-12 19:39:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Slagle 2011-12-05 14:00:26 UTC
Need to make sure we install and run on RHEL 6.2 without any issues.

Comment 1 James Slagle 2011-12-05 14:01:42 UTC
Note from Kedar:

> [root@ip-10-190-190-31 rhui20-iso]# ./install_tools.sh
> Installing RHUI Tools packages
> 
> Loaded plugins: amazon-id, product-id, pulp-profile-update, rhui-lb, security,
>               : subscription-manager
> Updating certificate-based repositories.
> Setting up Local Package Process
> Examining Packages/rh-rhui-tools-2.0.44-1.el6.noarch.rpm: rh-rhui-tools-2.0.44-1.el6.noarch
> Marking Packages/rh-rhui-tools-2.0.44-1.el6.noarch.rpm to be installed
> Examining Packages/PyYAML-3.09-14.el6_1.x86_64.rpm: PyYAML-3.09-14.el6_1.x86_64
> Packages/PyYAML-3.09-14.el6_1.x86_64.rpm: does not update installed package.
> Examining Packages/libyaml-0.1.3-3.el6_1.x86_64.rpm: libyaml-0.1.3-3.el6_1.x86_64
> Packages/libyaml-0.1.3-3.el6_1.x86_64.rpm: does not update installed package.
> Examining Packages/rpm-build-4.8.0-16.el6_1.1.x86_64.rpm: rpm-build-4.8.0-16.el6_1.1.x86_64
> Marking Packages/rpm-build-4.8.0-16.el6_1.1.x86_64.rpm to be installed
> Examining Packages/elfutils-0.152-1.el6.x86_64.rpm: elfutils-0.152-1.el6.x86_64
> Packages/elfutils-0.152-1.el6.x86_64.rpm: does not update installed package.
> Examining Packages/elfutils-libs-0.152-1.el6.x86_64.rpm: elfutils-libs-0.152-1.el6.x86_64
> Packages/elfutils-libs-0.152-1.el6.x86_64.rpm: does not update installed package.
> Examining Packages/pulp-client-0.0.214-8.el6.noarch.rpm: pulp-client-0.0.214-8.el6.noarch
> Packages/pulp-client-0.0.214-8.el6.noarch.rpm: does not update installed package.
> Examining Packages/pulp-common-0.0.214-8.el6.noarch.rpm: pulp-common-0.0.214-8.el6.noarch
> Packages/pulp-common-0.0.214-8.el6.noarch.rpm: does not update installed package.
> Examining Packages/python-isodate-0.4.4-2.el6_1.noarch.rpm: python-isodate-0.4.4-2.el6_1.noarch
> Packages/python-isodate-0.4.4-2.el6_1.noarch.rpm: does not update installed package.
> Examining Packages/gofer-0.43-1.el6.noarch.rpm: gofer-0.43-1.el6.noarch
> Packages/gofer-0.43-1.el6.noarch.rpm: does not update installed package.
> Examining Packages/python-gofer-0.43-1.el6.noarch.rpm: python-gofer-0.43-1.el6.noarch
> Packages/python-gofer-0.43-1.el6.noarch.rpm: does not update installed package.
> Resolving Dependencies
> --> Running transaction check
> ---> Package rh-rhui-tools.noarch 0:2.0.44-1.el6 will be installed
> ---> Package rpm-build.x86_64 0:4.8.0-16.el6_1.1 will be installed
> --> Processing Dependency: rpm = 4.8.0-16.el6_1.1 for package: rpm-build-4.8.0-16.el6_1.1.x86_64
> --> Finished Dependency Resolution
> Error: Package: rpm-build-4.8.0-16.el6_1.1.x86_64 (/rpm-build-4.8.0-16.el6_1.1.x86_64)
>            Requires: rpm = 4.8.0-16.el6_1.1
>            Installed: rpm-4.8.0-19.el6.x86_64 (@koji-override-0/$releasever)
>                rpm = 4.8.0-19.el6
>            Available: rpm-4.8.0-12.el6.x86_64 (rhui-us-east-rhel-server-releases)
>                rpm = 4.8.0-12.el6
>            Available: rpm-4.8.0-16.el6.x86_64 (rhui-us-east-rhel-server-releases)
>                rpm = 4.8.0-16.el6
>            Available: rpm-4.8.0-16.el6_1.1.x86_64 (rhui-us-east-rhel-server-releases)
>                rpm = 4.8.0-16.el6_1.1
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> 
> Failed to install packages. The system needs to be installed with the @Base set of packages.
> 
> [root@ip-10-190-190-31 rhui20-iso]# rpm -qav | grep -ie rpm -ie rpm-build 
> deltarpm-3.5-0.5.20090913git.el6.x86_64
> rpm-4.8.0-19.el6.x86_64
> rpm-python-4.8.0-19.el6.x86_64
> rpm-libs-4.8.0-19.el6.x86_64
> python-deltarpm-3.5-0.5.20090913git.el6.x86_64
> 
> [root@ip-10-190-190-31 rhui20-iso]# cat /etc/redhat-release 
> Red Hat Enterprise Linux Server release 6.2 (Santiago)

Comment 2 James Slagle 2012-01-18 20:43:58 UTC
The issue here is that rpm-build is included on the RHUI iso.

When we go to install the set of RHUI packages using yum, yum will see the rpm-build on the iso and try to install that.  However, there is a newer version of rpm on the system, and the versions of rpm and rpm-build must be the same.

I believe the original intent here may have been that you could install RHUI on a disconnected system, however it currently requires you to be able to pull from the Red Hat yum repos to satisfy the package installation requirements.  

Will discuss with Chris Morgan what the intent here is, if it's not a hard requirement to be able to install disconnected, then just removing rpm-build from the iso will resolve this issue.

Comment 3 James Slagle 2012-02-03 12:20:47 UTC
QA: Verify you can install on RHEL 6.2 (as well as previous versions of RHEL 6)

Comment 4 Sachin Ghai 2012-02-08 10:52:08 UTC
We can install on rhel6.2 smoothly. However need to test on previous version of RHEL6.

Comment 5 Kedar Bidarkar 2012-02-14 09:10:46 UTC
Installation Successful and smooth with RHEL6.1.

Installed:
  PyYAML.x86_64 0:3.09-14.el6_1                                                 
  gofer.noarch 0:0.64-1.el6                                                     
  gofer-package.noarch 0:0.64-1.el6                                             
  grinder.noarch 0:0.0.136-1.el6                                                
  js.x86_64 0:1.70-12.el6_0                                                     
  libmongodb.x86_64 0:1.8.2-2.el6                                               
  libyaml.x86_64 0:0.1.3-3.el6_1                                                
  mod_wsgi.x86_64 0:3.3-2.pulp.el6                                              
  mongodb.x86_64 0:1.8.2-2.el6                                                  
  mongodb-server.x86_64 0:1.8.2-2.el6                                           
  pulp.noarch 0:0.0.263-6.el6                                                   
  pulp-admin.noarch 0:0.0.263-6.el6                                             
  pulp-client-lib.noarch 0:0.0.263-6.el6                                        
  pulp-common.noarch 0:0.0.263-6.el6                                            
  pulp-consumer.noarch 0:0.0.263-6.el6                                          
  pulp-selinux-server.noarch 0:0.0.263-6.el6                                    
  pymongo.x86_64 0:1.9-8.el6_1                                                  
  python-BeautifulSoup.noarch 1:3.0.8.1-3.el6_1                                 
  python-bson.x86_64 0:1.9-8.el6_1                                              
  python-gofer.noarch 0:0.64-1.el6                                              
  python-httplib2.noarch 0:0.6.0-4.el6_0                                        
  python-isodate.noarch 0:0.4.4-4.pulp.el6                                      
  python-oauth2.noarch 0:1.5.170-2.pulp.el6                                     
  python-webpy.noarch 0:0.32-8.el6_0                                            
  rh-rhua-selinux-policy.noarch 0:0.0.5-1.el6                                   

Dependency Installed:
  PyPAM.x86_64 0:0.5.0-12.el6                                                   
  createrepo.noarch 0:0.9.8-4.el6                                               
  deltarpm.x86_64 0:3.5-0.5.20090913git.el6                                     
  python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6                              
  python-qpid.noarch 0:0.12-1.el6                                               
  python-rhsm.noarch 0:0.96.15-1.el6                                            
  python-simplejson.x86_64 0:2.0.9-3.1.el6                                      

Updated:
  m2crypto.x86_64 0:0.21.1.pulp-7.el6                                           

Complete!

Red Hat Update Appliance packages installed.

------------------------------

Installed:
  rh-rhui-tools.noarch 0:2.0.54-1.el6                                           

Dependency Installed:
  rpm-build.x86_64 0:4.8.0-19.el6                                               

Dependency Updated:
  rpm.x86_64 0:4.8.0-19.el6               rpm-libs.x86_64 0:4.8.0-19.el6       
  rpm-python.x86_64 0:4.8.0-19.el6       

Complete!

Red Hat Update Infrastructure Tools packages sucessfully installed and can be started by 
executing rhui-tools from the prompt.


------------------------------------------


Installed:
  PyYAML.x86_64 0:3.09-14.el6_1              gofer.noarch 0:0.64-1.el6         
  gofer-package.noarch 0:0.64-1.el6          grinder.noarch 0:0.0.136-1.el6    
  libyaml.x86_64 0:0.1.3-3.el6_1             mod_wsgi.x86_64 0:3.3-2.pulp.el6  
  pulp-cds.noarch 0:0.0.263-6.el6            pulp-common.noarch 0:0.0.263-6.el6
  pulp-selinux-server.noarch 0:0.0.263-6.el6 python-gofer.noarch 0:0.64-1.el6  

Dependency Installed:
  PyPAM.x86_64 0:0.5.0-12.el6                                                   
  createrepo.noarch 0:0.9.8-4.el6                                               
  deltarpm.x86_64 0:3.5-0.5.20090913git.el6                                     
  python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6                              
  python-qpid.noarch 0:0.12-1.el6                                               
  python-simplejson.x86_64 0:2.0.9-3.1.el6                                      

Updated:
  m2crypto.x86_64 0:0.21.1.pulp-7.el6                                           

Complete!

Red Hat Content Delivery Server packages installed.

[root@ip-10-34-75-76 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.1 (Santiago)

Comment 6 Kedar Bidarkar 2012-02-14 11:36:42 UTC
For rhel6.0 it fails to install for below reasons

Package mod_wsgi-3.3-2.pulp.el6.x86_64.rpm is not signed

Failed to install packages. The system needs to be installed with the @Base set of packages.


Package pulp-client-lib-0.0.263-6.el6.noarch.rpm is not signed

Failed to install packages. The system needs to be installed with the @Base set of packages.

Comment 7 James Slagle 2012-02-17 20:58:30 UTC
After some investigation, the issue on 6.0 is that the version of yum in 6.0 did not have separate configuration options for gpgcheck and localpkg_gpgcheck.  So, even local packages must be gpg signed, and they are not on our devel candidate iso's.

gpgcheck always defaults to 1, and localpkg_gpgcheck defaults to 0, so this is why it works on rhel 6.1 and later.

To work around this to install one of our candidate isos, you can set gpgcheck=0 in /etc/yum.conf.

Once we have a release candidate that has all signed packages, this workaround will not be necessary.

Comment 8 Kedar Bidarkar 2012-02-24 13:19:02 UTC
Installed:
  PyYAML.x86_64 0:3.09-14.el6_1              gofer.noarch 0:0.64-1.el6         
  gofer-package.noarch 0:0.64-1.el6          grinder.noarch 0:0.0.136-1.el6    
  libyaml.x86_64 0:0.1.3-3.el6_1             mod_wsgi.x86_64 0:3.3-2.pulp.el6  
  pulp-cds.noarch 0:0.0.263-9.el6            pulp-common.noarch 0:0.0.263-9.el6
  pulp-selinux-server.noarch 0:0.0.263-9.el6 python-gofer.noarch 0:0.64-1.el6  

Dependency Installed:
  PyPAM.x86_64 0:0.5.0-12.el6                                                   
  createrepo.noarch 0:0.9.8-4.el6                                               
  deltarpm.x86_64 0:3.5-0.5.20090913git.el6                                     
  python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6                              
  python-qpid.noarch 0:0.12-1.el6                                               
  python-simplejson.x86_64 0:2.0.9-3.1.el6                                      

Updated:
  curl.x86_64 0:7.19.7-26.el6_1.2      m2crypto.x86_64 0:0.21.1.pulp-7.el6     

Dependency Updated:
  libcurl.x86_64 0:7.19.7-26.el6_1.2                                            
  nspr.x86_64 0:4.8.8-3.el6                                                     
  nss.x86_64 0:3.12.10-17.el6_2                                                 
  nss-softokn.x86_64 0:3.12.9-11.el6                                            
  nss-softokn-freebl.x86_64 0:3.12.9-11.el6                                     
  nss-sysinit.x86_64 0:3.12.10-17.el6_2                                         
  nss-tools.x86_64 0:3.12.10-17.el6_2                                           
  nss-util.x86_64 0:3.12.10-2.el6                                               

Complete!

Red Hat Content Delivery Server packages installed.




Installed:
  rh-rhui-tools.noarch 0:2.0.57-1.el6                                           

Dependency Installed:
  rpm-build.x86_64 0:4.8.0-19.el6                                               

Updated:
  elfutils.x86_64 0:0.152-1.el6                                                 

Dependency Updated:
  elfutils-libelf.x86_64 0:0.152-1.el6    elfutils-libs.x86_64 0:0.152-1.el6   
  gdb.x86_64 0:7.2-50.el6                 rpm.x86_64 0:4.8.0-19.el6            
  rpm-libs.x86_64 0:4.8.0-19.el6          rpm-python.x86_64 0:4.8.0-19.el6     

Complete!

Red Hat Update Infrastructure Tools packages sucessfully installed and can be started by 
executing rhui-tools from the prompt.

Installed:
  PyYAML.x86_64 0:3.09-14.el6_1                                                 
  gofer.noarch 0:0.64-1.el6                                                     
  gofer-package.noarch 0:0.64-1.el6                                             
  grinder.noarch 0:0.0.136-1.el6                                                
  js.x86_64 0:1.70-12.el6_0                                                     
  libmongodb.x86_64 0:1.8.2-2.el6                                               
  libyaml.x86_64 0:0.1.3-3.el6_1                                                
  mod_wsgi.x86_64 0:3.3-2.pulp.el6                                              
  mongodb.x86_64 0:1.8.2-2.el6                                                  
  mongodb-server.x86_64 0:1.8.2-2.el6                                           
  pulp.noarch 0:0.0.263-9.el6                                                   
  pulp-admin.noarch 0:0.0.263-9.el6                                             
  pulp-client-lib.noarch 0:0.0.263-9.el6                                        
  pulp-common.noarch 0:0.0.263-9.el6                                            
  pulp-consumer.noarch 0:0.0.263-9.el6                                          
  pulp-selinux-server.noarch 0:0.0.263-9.el6                                    
  pymongo.x86_64 0:1.9-8.el6_1                                                  
  python-BeautifulSoup.noarch 1:3.0.8.1-3.el6_1                                 
  python-bson.x86_64 0:1.9-8.el6_1                                              
  python-gofer.noarch 0:0.64-1.el6                                              
  python-httplib2.noarch 0:0.6.0-4.el6_0                                        
  python-isodate.noarch 0:0.4.4-4.pulp.el6                                      
  python-oauth2.noarch 0:1.5.170-2.pulp.el6                                     
  python-webpy.noarch 0:0.32-8.el6_0                                            
  rh-rhua-selinux-policy.noarch 0:0.0.5-1.el6                                   

Dependency Installed:
  PyPAM.x86_64 0:0.5.0-12.el6                                                   
  acl.x86_64 0:2.2.49-6.el6                                                     
  createrepo.noarch 0:0.9.8-4.el6                                               
  deltarpm.x86_64 0:3.5-0.5.20090913git.el6                                     
  python-deltarpm.x86_64 0:3.5-0.5.20090913git.el6                              
  python-qpid.noarch 0:0.12-1.el6                                               
  python-rhsm.noarch 0:0.96.15-1.el6                                            
  python-simplejson.x86_64 0:2.0.9-3.1.el6                                      

Updated:
  curl.x86_64 0:7.19.7-26.el6_1.2      m2crypto.x86_64 0:0.21.1.pulp-7.el6     

Dependency Updated:
  libacl.x86_64 0:2.2.49-6.el6                                                  
  libcurl.x86_64 0:7.19.7-26.el6_1.2                                            
  nspr.x86_64 0:4.8.8-3.el6                                                     
  nss.x86_64 0:3.12.10-17.el6_2                                                 
  nss-softokn.x86_64 0:3.12.9-11.el6                                            
  nss-softokn-freebl.x86_64 0:3.12.9-11.el6                                     
  nss-sysinit.x86_64 0:3.12.10-17.el6_2                                         
  nss-tools.x86_64 0:3.12.10-17.el6_2                                           
  nss-util.x86_64 0:3.12.10-2.el6                                               

Complete!

Red Hat Update Appliance packages installed.


[root@ip-10-202-21-103 rhui20-iso]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.0 (Santiago)

Comment 9 James Slagle 2012-03-12 19:39:38 UTC
Released in RHUI 2.0.2