<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Due to the <a href="https://pulp.plan.io/issues/1340">broken qpid-ccp-server dependency</a> bug in EL6, I’m switching to rabbitmq for the messaging broker (we already have some rabbitmq servers around too), but I’m having trouble with the
 consumer side.  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In /etc/pulp/consumer/consumer.conf there does not appear to be a setting for credentials (user/pass) or vhost for rabbitmq. 
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[messaging]<o:p></o:p></p>
<p class="MsoNormal"># Agent messaging.<o:p></o:p></p>
<p class="MsoNormal">#<o:p></o:p></p>
<p class="MsoNormal"># scheme:<o:p></o:p></p>
<p class="MsoNormal">#   The broker URL scheme. Either 'tcp' or 'ssl' can be used. The default is 'tcp'.<o:p></o:p></p>
<p class="MsoNormal">#<o:p></o:p></p>
<p class="MsoNormal"># host:<o:p></o:p></p>
<p class="MsoNormal">#   The broker host (default: host defined in [server]).<o:p></o:p></p>
<p class="MsoNormal">#<o:p></o:p></p>
<p class="MsoNormal"># port:<o:p></o:p></p>
<p class="MsoNormal">#   The broker port number. The default is 5672.<o:p></o:p></p>
<p class="MsoNormal">#<o:p></o:p></p>
<p class="MsoNormal"># transport:<o:p></o:p></p>
<p class="MsoNormal">#   The AMQP transport name. Valid options are 'qpid' or 'rabbitmq'. The default is 'qpid'.<o:p></o:p></p>
<p class="MsoNormal">#<o:p></o:p></p>
<p class="MsoNormal"># cacert:<o:p></o:p></p>
<p class="MsoNormal">#   The (optional) absolute path to a PEM encoded CA certificate to validate the identity of the<o:p></o:p></p>
<p class="MsoNormal">#   broker.<o:p></o:p></p>
<p class="MsoNormal">#<o:p></o:p></p>
<p class="MsoNormal"># clientcert:<o:p></o:p></p>
<p class="MsoNormal">#   The optional absolute path to PEM encoded key & certificate used to authenticate to the broker<o:p></o:p></p>
<p class="MsoNormal">#   with.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The config format is different from the url/broker_url settings in server.conf.  I have tried:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[messaging]<o:p></o:p></p>
<p class="MsoNormal">scheme = tcp<o:p></o:p></p>
<p class="MsoNormal">host = pulpuser:secret@rabbit01.example.com:5672/pulp_vhost<o:p></o:p></p>
<p class="MsoNormal">transport = rabbitmq<o:p></o:p></p>
<p class="MsoNormal"># port =<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">and that gets me pretty close:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># /var/log/messages<o:p></o:p></p>
<p class="MsoNormal">Nov 17 14:03:27 pulp01 goferd: [INFO][worker-0] gofer.messaging.adapter.amqp.connection:108 - connecting: URL: tcp://pulpuser:secret@rabbit01.example.com:5672|SSL: ca: None|key: None|certificate: /etc/pki/pulp/consumer/consumer-cert.pem|host-validation:
 None<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But doesn’t allow me to specify vhost.  Any ideas?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My servers are running CentOS 6, pulp 2.7.0.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Information in this e-mail may be confidential. It is intended only for the addressee(s) identified above. If you are not the addressee(s), or an employee or agent of the addressee(s), please note that any dissemination, distribution, or copying of this communication
 is strictly prohibited. If you have received this e-mail in error, please notify the sender of the error.<br>
</font>
</body>
</html>