Bug 789136

Summary: Unmet gofer dependencies
Product: Red Hat Satellite Reporter: Jay Greguske <jgreguske>
Component: katello-agentAssignee: Jeff Ortel <jortel>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bkearney, gkhachik, jlaska, jortel, mkoci, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:26:02 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 Jay Greguske 2012-02-09 22:17:15 UTC
Description of problem:
A repoclosure on the latest SE repo produces the following output:

package: ruby-gofer-0.65-1.el6.noarch from file:///mnt/redhat/test/CloudForms/1.0-beta/2012-02-09.5/mash/cf-tools-1.0-rhel-6-override/x86_64
  unresolved deps: 
     rubygem(json)

Note the EL5 build has additional dependencies:
package: python-gofer-0.65-1.el5.noarch from file:///mnt/redhat/test/CloudForms/1.0-beta/2012-02-09.5/mash/cf-tools-1.0-rhel-5-override/x86_64
  unresolved deps: 
     python-uuid
     python-qpid >= 0:0.7
     PyPAM
     python-ssl
package: ruby-gofer-0.65-1.el5.noarch from file:///mnt/redhat/test/CloudForms/1.0-beta/2012-02-09.5/mash/cf-tools-1.0-rhel-5-override/x86_64
  unresolved deps: 
     rubygem(json)
     ruby-qpid
     rubygems

These dependencies should be packaged and included in the release.

Comment 1 James Laska 2012-02-17 19:45:17 UTC
These dependency problems are preventing katello-agent from being installed on deployments. 

# yum install katello-agent
Loaded plugins: katello, product-id, rhnplugin, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
cfse-tools                                                                                                          | 1.9 kB     00:00     
cfse-tools/primary_db                                                                                               |  10 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package katello-agent.noarch 0:0.13-2.el5 set to be updated
--> Processing Dependency: gofer-package >= 0.60 for package: katello-agent
--> Processing Dependency: gofer >= 0.60 for package: katello-agent
--> Running transaction check
---> Package gofer.noarch 0:0.65-1.el5 set to be updated
--> Processing Dependency: python-gofer = 0.65 for package: gofer
---> Package gofer-package.noarch 0:0.65-1.el5 set to be updated
--> Running transaction check
---> Package python-gofer.noarch 0:0.65-1.el5 set to be updated
--> Processing Dependency: python-qpid >= 0.7 for package: python-gofer
--> Processing Dependency: python-uuid for package: python-gofer
--> Processing Dependency: PyPAM for package: python-gofer
--> Processing Dependency: python-ssl for package: python-gofer
--> Running transaction check
---> Package python-gofer.noarch 0:0.65-1.el5 set to be updated
--> Processing Dependency: python-uuid for package: python-gofer
--> Processing Dependency: PyPAM for package: python-gofer
--> Processing Dependency: python-ssl for package: python-gofer
---> Package python-qpid.noarch 0:0.14-4.el5 set to be updated
--> Processing Dependency: python-saslwrapper >= 0.10 for package: python-qpid
--> Finished Dependency Resolution
python-qpid-0.14-4.el5.noarch from cfse-tools has depsolving problems
  --> Missing Dependency: python-saslwrapper >= 0.10 is needed by package python-qpid-0.14-4.el5.noarch (cfse-tools)
python-gofer-0.65-1.el5.noarch from cfse-tools has depsolving problems
  --> Missing Dependency: python-ssl is needed by package python-gofer-0.65-1.el5.noarch (cfse-tools)
python-gofer-0.65-1.el5.noarch from cfse-tools has depsolving problems
  --> Missing Dependency: PyPAM is needed by package python-gofer-0.65-1.el5.noarch (cfse-tools)
python-gofer-0.65-1.el5.noarch from cfse-tools has depsolving problems
  --> Missing Dependency: python-uuid is needed by package python-gofer-0.65-1.el5.noarch (cfse-tools)
Error: Missing Dependency: python-saslwrapper >= 0.10 is needed by package python-qpid-0.14-4.el5.noarch (cfse-tools)
Error: Missing Dependency: python-uuid is needed by package python-gofer-0.65-1.el5.noarch (cfse-tools)
Error: Missing Dependency: python-ssl is needed by package python-gofer-0.65-1.el5.noarch (cfse-tools)
Error: Missing Dependency: PyPAM is needed by package python-gofer-0.65-1.el5.noarch (cfse-tools)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Comment 3 Jeff Ortel 2012-02-17 21:19:24 UTC
Looks like we just need to get the following packages in cf-tools channel for el5:

python-saslwrapper >= 0.10
python-ssl
python-uuid
PyPAM

Comment 7 Jeff Ortel 2012-02-20 23:06:13 UTC
built in brew for cf-tools:
  python-ssl
  python-uuid
  PyPAM

Looks like python-saslwrapper is not in brew.

Comment 8 Jay Greguske 2012-02-21 14:46:16 UTC
https://brewweb.devel.redhat.com/buildinfo?buildID=163507

It's a subpkgs of saslwrapper.

Comment 9 Jeff Ortel 2012-02-21 15:55:21 UTC
Got python-saslwrapper built in brew for cf-tools.

I scrubbed the gofer.spec and the source code and found (2) dependencies missing in the gofer.spec:

python-iniparse
  Found in RHEL 5 & 6 base OS so not a problem:
    python-iniparse-0.2.3-4.el5 and python-iniparse-0.3.1-2.1.el6
python-hashlib
    Resolving this now.

I'll update the gofer.spec and get updated in brew ASAP.

Comment 10 Jeff Ortel 2012-02-21 16:35:23 UTC
Last dependency: python-haslib built for cf-tools.

Comment 11 Jeff Ortel 2012-02-21 16:36:01 UTC
(In reply to comment #10)
> Last dependency: python-haslib built for cf-tools.

correction: python-hashlib

Comment 12 Jeff Ortel 2012-02-21 19:32:49 UTC
gofer 0.66 built in brew for cf-tools.

Should have all dependency issues resolved.

Comment 15 Garik Khachikyan 2012-02-24 14:04:09 UTC
python-qpid could not be found in the build repo, but using rhel6 base channel - it goes fine.

Comment 16 Garik Khachikyan 2012-02-24 14:22:10 UTC
# VERIFIED

Also checked on RHEL5.8:
---

Dependencies Resolved

===============================================================================================
 Package                  Arch         Version                 Repository                 Size
===============================================================================================
Installing:
 katello-agent            noarch       0.15-1.el5              system-engine-tools        17 k
Installing for dependencies:
 PyPAM                    x86_64       0.5.0-11.1.el5          system-engine-tools        23 k
 gofer                    noarch       0.66-1.el5              system-engine-tools        69 k
 gofer-package            noarch       0.66-1.el5              system-engine-tools        32 k
 python-gofer             noarch       0.66-1.el5              system-engine-tools       108 k
 python-qpid              noarch       0.14-4.el5              system-engine-tools       513 k
 python-saslwrapper       x86_64       0.10-5.el5              system-engine-tools        27 k
 python-uuid              noarch       1.30-4.el5              system-engine-tools        14 k
 saslwrapper              x86_64       0.10-5.el5              system-engine-tools        21 k

Transaction Summary
===============================================================================================
Install       9 Package(s)
Upgrade       0 Package(s)

---
so looks all fine. Considering that the rhel6 base repo should not be disabled, I'm putting the bug to verified.

Comment 18 Mike McCune 2013-08-16 17:56:24 UTC
getting rid of 6.0.0 version since that doesn't exist