Error in installing nova-compute , rabbitmq server

asked 2015-10-19 06:25:07 -0500

majd.alshimali gravatar image

I try to install nova-compute-server when I try to start the service systemctl start openstack-nova-compute.service it just freez like it entered in infinit loop wirh no error when i check the log file

2015-10-18 22:07:25.855 17748 ERROR oslo_messaging._drivers.impl_rabbit [req-c710fb69-624c-44aa-88e5-3248335e7d52 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
2015-10-18 22:07:29.879 17748 ERROR oslo_messaging._drivers.impl_rabbit [req-c710fb69-624c-44aa-88e5-3248335e7d52 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
2015-10-18 22:07:33.899 17748 ERROR oslo_messaging._drivers.impl_rabbit [req-c710fb69-624c-44aa-88e5-3248335e7d52 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
2015-10-18 22:07:37.919 17748 ERROR oslo_messaging._drivers.impl_rabbit [req-c710fb69-624c-44aa-88e5-3248335e7d52 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
2015-10-18 22:07:41.940 17748 ERROR oslo_messaging._drivers.impl_rabbit [req-c710fb69-624c-44aa-88e5-3248335e7d52 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
2015-10-18 22:07:45.960 17748 ERROR oslo_messaging._drivers.impl_rabbit [req-c710fb69-624c-44aa-88e5-

3248335e7d52 - - - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed

I double check the username and password of rabbitmq server in nova.conf like million time and remover and reinstall the rabbitmq-server , I remove and recreated the user of rabbitmq with no change , I turned off the firewall and the iptables ,, this is the log of the rabbitmqserver

=ERROR REPORT==== 18-Oct-2015::22:16:48 ===
closing AMQP connection <0.664.0> (10.10.10.11:41962 -> 10.10.10.10:5672):
{handshake_error,opening,0,
                 {amqp_error,access_refused,
                             "access to vhost '/' refused for user 'openstack'",
                             'connection.open'}}

10.10.10.11 is the ip of compute node and 10.10.10.10 is the ip of controller node this is the nova.conf in the compute node

[oslo_messaging_rabbit]

rabbit_host = controller
rabbit_port=5672
rabbit_hosts=controller:5672
rabbit_use_ssl=false
rabbit_userid = openstack
rabbit_password = secret

any help ,, I just spend two days try to solve this error ,, two more days I will kill my self :)

edit retag flag offensive close merge delete

Comments

I think you failed to execute this on the controller: rabbitmqctl set_permissions openstack ".*" ".*" ".*". See also the MQ section in the install guide.

Bernd Bausch gravatar imageBernd Bausch ( 2015-10-19 20:55:33 -0500 )edit

yesssssssssssssssssss that it is :) :) thanks u ,

majd.alshimali gravatar imagemajd.alshimali ( 2015-10-21 07:26:50 -0500 )edit

Thanks a lot Bernd!

LightheadOc gravatar imageLightheadOc ( 2017-01-09 03:20:48 -0500 )edit