rabbitmq authentication failures

Solution Verified - Updated -

Issue

  • Following the Installation and Configuration Guide guide, Part of this deployment includes the use of a separate rabbitmq VM, also rhel7. I'm having a strange authentication issue with rabbitmq.

  • From the rabbitmq log:

=ERROR REPORT==== 16-Jul-2014::09:08:33 ===
closing AMQP connection <0.19688.0> (192.168.0.1:46642 -> 192.168.0.2:5672):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             "AMQPLAIN login refused: user 'cinder' - invalid credentials",
                             'connection.start_ok'}}
  • The user exists and has the correct/same password set:
# rabbitmqctl list_users
Listing users ...
cinder  [administrator]
guest   [administrator]
heat    [administrator]
neutron [administrator]
nova    [administrator]
...done.
# rabbitmqctl list_permissions
Listing permissions in vhost "/" ...
cinder  .*      .*      .*
guest   .*      .*      .*
heat    .*      .*      .*
neutron .*      .*      .*
nova    .*      .*      .*
...done.
  • Just to confirm again, I just reset the password again and restarted the service:
# rabbitmqctl change_password cinder openstack
Changing password for user "cinder" ...
...done.
# systemctl restart rabbitmq-server.service
  • This is the config from the physical node providing the cinder resources:
[DEFAULT]
auth_strategy = keystone
rpc_backend = cinder.openstack.common.rpc.impl_kombu
rabbit_host = rabbit.example.com
rabbit_port = 5672
rabbit_userid = cinder
rabbit_pass = openstack
sql_connection = mysql://cinder:openstack@mysql.example.com/cinder
osapi_volume_workers = 12
volume_group = cinder-volumes
volume_driver = cinder.volume.drivers.lvm.LVMISCSIDriver
  • And I restarted everything again, But same result:
=INFO REPORT==== 16-Jul-2014::15:56:38 ===
accepting AMQP connection <0.302.0> (192.168.0.1:46642 -> 192.168.0.2:5672)

=ERROR REPORT==== 16-Jul-2014::15:56:41 ===
closing AMQP connection <0.302.0> (192.168.0.1:46642 -> 192.168.0.2:5672):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             "AMQPLAIN login refused: user 'cinder' - invalid credentials",
                             'connection.start_ok'}}

Environment

  • Red Hat Enterprise Linux OpenStack Platform 5.0 on RHEL 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content