Nova service connection login refused by Rabbitmq under mechanism amqplain but user is authenticated

Viewed 77

I have successfully created a separate user openstack and set the user as administrator and set permissions for vhost /. I have verified authentication and it was susccessful. But when nova-conductor is sending a connection request it was refused under mechanism AMQPLAIN --invalid credentials. I have googled and attempted various workarounds but couldn't fix it. Can anyone please help to resolve this issue.

rabbitmq Log: =====INFO REPORT===== Connection <0.3791.0> (192.168.1.104:54794 -> 192.168.1.104:5672) has a client-provided name: nova-scheduler:42308:94a665dd-8d09-40ac-9f8b-fc797419abc2

=====INFO REPORT====== connection <0.3791.0> (192.168.1.104:54794 -> 192.168.1.104:5672 -nova-scheduler:42308:94a665dd-8d09-40ac-9f8b-fc797419abc2): user 'openstack'authenticated and granted access to vhost '/'

=====INFO REPORT====== accepting AMQP connection <0.3802.0> (192.168.1.104:54800 -> 192.168.1.104:5672)

=====INFO REPORT===== Connection <0.3802.0> (192.168.1.104:54800 -> 192.168.1.104:5672) has a client-provided name: nova-conductor:42189:e7299bb3-afe9-4a87-a74c-eae2e154dce6

=====ERROR REPORT===== Error on AMQP connection <0.3802.0> (192.168.1.104:54800 -> 192.168.1.104:5672, state:starting): AMQPLAIN login refused: user 'openstack' --invalid credentials

=====INFO REPORT====== closing AMQP connection <0.3802.0> (192.168.1.104:54800 -> 192.168.1.104:5672 - nova-condutor:42189:e7299bb3-afe9-4a87-a74c-eae2e154dce6

=====INFO REPORT====== accepting AMQP connection <0.3802.0> (192.168.1.104:58400 -> 192.168.1.104:5672

Please help to resolve the issue. User was successfully authenticated but still error shows invalid credentials for AMQPLAIN login Screenshot
enter image description here

transport_url = rabbit://openstack:password@192.168.1.104 nova conductor was initially connected to amqp server but when i launch a vm, nova-conductor connection is reset by peer and login is refused later under authentication mechanism amqplain. All other openstack services are connected and working fine. Verified through web page of rabbitmq. Can you please advice a workaround.

I am able to send curl from both controller node and compute node. curl -u openstack:password 192.168.1.104/api/vhosts and it was successful. I was able to login using browser and verify the details and openstack user is having the permissions set. But when i spawn an instance nova-conductor log shows login refused under mechanism AMQPLAIN --invalid credentials. Any advice please on resolving the issue.

openstack user created during deployment. Yes other services eem to work fine. Even for conductor connection was established and working normally. If i try to launch a VM instance, the error pops up that the credentials are invalid. nova conf file settings are same in both controller and compute node. I have restarted all nova services and rabbitmq multiple times. debug is also enabled. i am using openstack queens version. package versions are the same.

rabbitmqctl list_vhosts

Output: /

rabbitmqctl list_permissions

Output: openstack .* .* .*

rabbitmqctl list_policies

Output:

Please advice to resolve the issue

0 Answers
Related