Bug 815820

Summary: condor_configd is using QMF_BROKER_AUTH_MECHANISM instead of QMF_BROKER_AUTH_MECH
Product: Red Hat Enterprise MRG Reporter: Trevor McKay <tmckay>
Component: condor-wallaby-clientAssignee: Robert Rati <rrati>
Status: CLOSED ERRATA QA Contact: Lubos Trilety <ltrilety>
Severity: medium Docs Contact:
Priority: low    
Version: 2.1CC: esammons, iboverma, ltrilety, matt, mkudlej, sgraf
Target Milestone: 2.3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: condor-wallaby-client-5.0.2-1 Doc Type: Enhancement
Doc Text:
Feature: The configd can use the same parameters as other qmf related daemons to specify authentication mechansims when connecting to a broker Reason: The configd uses QMF_BROKER_AUTH_MECHANISM whereas other qmf related daemons use QMF_BROKER_AUTH_MECH Result (if any): The configd uses both QMF_BROKER_AUTH_MECHANISM and QMF_BROKER_AUTH_MECH, with QMF_BROKER_AUTH_MECHANISM taking precedence
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-06 18:43:59 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: 754228    

Description Trevor McKay 2012-04-24 15:13:14 UTC
Description of problem:

condor_configd should use QMF_BROKER_AUTH_MECH for reading a SASL mechanism list from config files, to match the grid plugins.

Comment 1 Trevor McKay 2012-04-24 16:11:27 UTC
Version:

condor-wallaby-4.1.2-1.el6

Comment 2 Robert Rati 2012-05-07 20:34:50 UTC
The configd will use QMF_BROKER_AUTH_MECH if QMF_BROKER_AUTH_MECHANISM is not defined.  If neither is defined it will use the defaults.

Fixed upstream on branch:
BZ815820-qmf_broker_auth_mech

Comment 7 Lubos Trilety 2012-12-20 09:52:13 UTC
tested with:
condor-wallaby-client-5.0.4-1

tested on:
RHEL6 i386,x86_64
RHEL5 i386,x86_64

1.
QMF_BROKER_AUTH_MECHANISM=PLAIN
#QMF_BROKER_AUTH_MECH=DIGEST-MD5

# qpid-stat -c
Connections
  connection                      cproc           cpid   mech        auth            connected       idle    msgIn  msgOut
  ==========================================================================================================================
  127.0.0.1:5672-127.0.0.1:36052  condor_configd  18858  PLAIN       cumin@QPID      2m 57s          0s        51    115
...

2.
QMF_BROKER_AUTH_MECHANISM=PLAIN
QMF_BROKER_AUTH_MECH=DIGEST-MD5

# qpid-stat -c
Connections
  connection                      cproc           cpid   mech        auth            connected      idle  msgIn  msgOut
  =======================================================================================================================
  127.0.0.1:5672-127.0.0.1:36048  condor_configd  18629  PLAIN       cumin@QPID      16s            0s      51    100
...

3.
#QMF_BROKER_AUTH_MECHANISM=PLAIN
QMF_BROKER_AUTH_MECH=DIGEST-MD5

# qpid-stat -c
Connections
  connection                      cproc           cpid   mech        auth            connected       idle  msgIn  msgOut
  ========================================================================================================================
  127.0.0.1:5672-127.0.0.1:36050  condor_configd  18742  DIGEST-MD5  cumin@QPID      10s             0s      49     94
...

4.
#QMF_BROKER_AUTH_MECHANISM=PLAIN
#QMF_BROKER_AUTH_MECH=DIGEST-MD5

# qpid-stat -c
Connections
  connection                      cproc           cpid   mech        auth            connected       idle    msgIn  msgOut
  ==========================================================================================================================
  127.0.0.1:5672-127.0.0.1:36054  condor_configd  18983  ANONYMOUS   anonymous@QPID  11s             0s        49     96
...

>>> verified

Comment 10 errata-xmlrpc 2013-03-06 18:43:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0564.html