Bug 1134512

Summary: Capsule/RHEL7 - not picking up cyrus-sasl-plain leads to nonworking capsule
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Foreman ProxyAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.3CC: bbuckingham, jmontleo
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/7279
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:22:04 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:

Description Corey Welton 2014-08-27 16:22:44 UTC
Description of problem:
Saw this on fresh capsule install on RHEL7.  Might be an issue on RHEL6 too but for some reason I saw the package installed there already - someone else?  I know I had to specifically install it myself on RHEL7 though

Version-Release number of selected component (if applicable):

Satellite-6.0.4-RHEL-7-20140823.0

How reproducible:


Steps to Reproduce:
1.  Install capsule on RHEL7
2.  Note logs and failure to get capsule do anything useful.


Actual results:
lots and lots of messages like

Aug 26 23:14:56 ibm-x3550m3-13 pulp: celery.worker.consumer:ERROR: consumer: Cannot connect to qpid://guest.eng.brq.redhat.com:5671//: Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found.

Upon further investigation, there is no 'cyrus-sasl-plain' package installed.

Expected results:

package installed, working capsule.

Additional info:

* If this is a dupe, we can close it

* Gross workaround:

# yum -y install cyrus-sasl-plain
# service qpidd stop && service pulp_celerybeat stop && service pulp_workers stop && service pulp_resource_manager stop && service httpd stop
# service qpidd start && service pulp_celerybeat start && service pulp_workers start && service pulp_resource_manager start && service httpd start

Comment 3 Jason Montleon 2014-08-27 16:36:04 UTC
Is this really a problem for just RHEL 7? The only dependency on cyrus-sasl-plain is on ruby193-rubygem-katello and ofd the top I don't see anything in installer that ensure cyyrus-sasl-plain is installed on RHEL 6 either.

Comment 4 Brad Buckingham 2014-08-27 17:26:26 UTC
While not ideal and shouldn't be permanant, the current documentation states to install the package.  Refer to: step 5 in https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.0/html/Installation_Guide/Installing_a_Satellite_Node.html

Comment 5 Brad Buckingham 2014-08-27 17:53:52 UTC
Created redmine issue http://projects.theforeman.org/issues/7279 from this bug

Comment 6 Brad Buckingham 2014-08-27 18:03:55 UTC
Proposed fix in PR: 

https://github.com/Katello/pulp-katello-plugins/pull/9

Comment 8 Corey Welton 2014-09-03 14:41:33 UTC
Verified in Satellite-6.0.4-RHEL-7-20140829.0/Satellite-6.0.4-RHEL-6-20140829.0

Comment 9 Bryan Kearney 2014-09-11 12:22:04 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.