[SOLVED] closed the connection. Check login credentials: Socket closed, openstack nova service list

i have problem like this, if i start nova service-list the nova service like scheduler and so on being down, then i got log error, before that i typed
tail -f /var/log/nova/nova-scheduler.log
and shown like this
2016-07-24 20:34:57.152 3012 ERROR oslo.messaging._drivers.impl_rabbit [req-00e7679b-7a4c-42e3-a50a-e60c24726dd0 - - - - -] AMQP server 10.0.0.10:5672 closed the connection. Check login credentials: Socket closed
now i can figure out what the problem is, when i typed 
rabbitmqctl list_users
and the user openstack that i included in /etc/nova/nova.conf doesnt exist. now we must create the user that we want, if we are going to add user rabbitmq "openstack" and password "root" do this
rabbitmqctl add_user openstack root

set permissions too
rabbitmqctl set_permissions openstack ".*" ".*" ".*"


and boooomm, your problem solved!

0 Response to "[SOLVED] closed the connection. Check login credentials: Socket closed, openstack nova service list"

Post a Comment