-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


On 11/17/2015 01:14 PM, Ashby, Jason (IMS) wrote:
> Hi,
> 
> 
> 
> Due to the broken qpid-ccp-server dependency 
> <https://pulp.plan.io/issues/1340> 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.
> 
> 
> 
> In /etc/pulp/consumer/consumer.conf there does not appear to be a setting for 
> credentials (user/pass) or
> vhost for rabbitmq.
> 
> 
> 
> 
> 
> [messaging]
> 
> # Agent messaging.
> 
> #
> 
> # scheme:
> 
> #   The broker URL scheme. Either 'tcp' or 'ssl' can be used. The default is 
> 'tcp'.
> 
> #
> 
> # host:
> 
> #   The broker host (default: host defined in [server]).
> 
> #
> 
> # port:
> 
> #   The broker port number. The default is 5672.
> 
> #
> 
> # transport:
> 
> #   The AMQP transport name. Valid options are 'qpid' or 'rabbitmq'. The 
> default is 'qpid'.
> 
> #
> 
> # cacert:
> 
> #   The (optional) absolute path to a PEM encoded CA certificate to validate 
> the identity of the
> 
> #   broker.
> 
> #
> 
> # clientcert:
> 
> #   The optional absolute path to PEM encoded key & certificate used to 
> authenticate to the broker
> 
> #   with.
> 
> 
> 
> 
> 
> The config format is different from the url/broker_url settings in 
> server.conf.  I have tried:
> 
> 
> 
> [messaging]
> 
> scheme = tcp
> 
> host = pulpuser:[email protected]:5672/pulp_vhost
> 
> transport = rabbitmq
> 
> # port =
> 
> 
> 
> and that gets me pretty close:
> 
> 
> 
> # /var/log/messages
> 
> Nov 17 14:03:27 pulp01 goferd: [INFO][worker-0] 
> gofer.messaging.adapter.amqp.connection:108 - connecting:
> URL: tcp://pulpuser:[email protected]:5672|SSL: ca: None|key: 
> None|certificate: 
> /etc/pki/pulp/consumer/consumer-cert.pem|host-validation: None
> 
> 
> 
> But doesn’t allow me to specify vhost.  Any ideas?


The separate property for vhost will be supported in 2.8.  For now, suggest:

host = pulpuser:[email protected]
port = 5672/pulp_vhost

> 
> 
> 
> My servers are running CentOS 6, pulp 2.7.0.
> 
> 
> 
> Thanks!
> 
> 
> 
> 
> ------------------------------------------------------------------------------------------------------------
- --
>
>  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.
> 
> 
> _______________________________________________ Pulp-list mailing list 
> [email protected] 
> https://www.redhat.com/mailman/listinfo/pulp-list
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWS5A2AAoJEM9lW7UwFwZXlGEP/iIOeHch2r9k9XLXw2d0i8Mp
+obuZjRv/yinbehETleGidsfLt6qdPInHdBcvn71cuO8WqS19+wKAmZ+gdYEhp0Q
dTsxG+b2GvLyX6E4fz6YTADloru1yEIGEqMPF6uww0ZyFc2ZLn6isYJ1/WvdVrO2
WUdAmo/7Y7C4ZoouEfJWsDZ02mPV3Kuw8LqhdqA0V9phtF0fm89tk948gOo+pl6C
ObMeTurb5Lyy5gvXyGiqG0pKyMFcyVYIgr4xRW9eHi92S2rtiKiSOWatSdYDFmBa
HMmHs4XtRj7ba7nOqXP8vuinSi77Dk2PKem6V6gGipL1aoxle6XRS5hciwx3VerC
qpfXrLnNCCOhFAklqR/ociwop0m5wDuiiL00erGB8V9GEmAb0Fms15hv1D7cx+ww
hwlZtLG2bKYSx/HAeLROYrfcWc1sUFO4weVmaZST3+sc4PRxYOi3uAGwiPFWodZu
E4p4dx8xm4rhYzJisKkP9b1ZvXyvgBHN/DNH/JLtZw9HJH0cRyORAMryPut871D1
yagPw7GmVvBYKxyHyLaVHWZWjizvCHIK03BLf9nmeu5/B0OvUEbgK4dyxJGHZN0q
Ub7sa6sc7r5yIWjmrjOEFB36ai2Za1Nt3pNBN4WMn0jmGDwZC+md2AnyeBS/E/Y7
N0Uk6A7i1wV84ouMztGi
=+Fg5
-----END PGP SIGNATURE-----

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to