Ask Your Question
3

Why can't Nova Conductor connect to rabbitmq?

asked 2013-05-13 06:26:08 -0500

omidkosari gravatar image

updated 2013-05-13 12:43:45 -0500

smaffulli gravatar image

According to this guide the nova conductor could not connect to rabbitmq .

nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-cert        cloud                                internal         enabled    :-)   2013-05-13 11:09:51
nova-consoleauth cloud                                internal         enabled    :-)   2013-05-13 11:09:51
nova-scheduler   cloud                                internal         enabled    :-)   2013-05-13 11:09:51
nova-conductor   cloud                                internal         enabled    XXX   2013-05-13 10:40:16

/var/log/nova/nova-conductor.log show a lot of

2013-05-13 15:34:25.225 INFO nova.openstack.common.rpc.common [req-630ba185-4feb-479e-a794-2f3b6ac6fe33 None None] Reconnecting to AMQP server on localhost:5672
2013-05-13 15:34:28.229 ERROR nova.openstack.common.rpc.common [req-630ba185-4feb-479e-a794-2f3b6ac6fe33 None None] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2013-05-13 15:34:58.258 INFO nova.openstack.common.rpc.common [req-630ba185-4feb-479e-a794-2f3b6ac6fe33 None None] Reconnecting to AMQP server on localhost:5672
2013-05-13 15:35:01.261 ERROR nova.openstack.common.rpc.common [req-630ba185-4feb-479e-a794-2f3b6ac6fe33 None None] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.

/var/log/rabbitmq/rabbit@cloud.log

=INFO REPORT==== 13-May-2013::15:34:58 ===
accepted TCP connection on [::]:5672 from 127.0.0.1:33000

=INFO REPORT==== 13-May-2013::15:34:58 ===
starting TCP connection <0.958.0> from 127.0.0.1:33000

=ERROR REPORT==== 13-May-2013::15:35:01 ===
exception on TCP connection <0.958.0> from 127.0.0.1:33000
{channel0_error,starting,
                {amqp_error,access_refused,
                            "AMQPLAIN login refused: user 'guest' - invalid credentials",
                            'connection.start_ok'}}

=INFO REPORT==== 13-May-2013::15:35:01 ===
closing TCP connection <0.958.0> from 127.0.0.1:33000
edit retag flag offensive close merge delete

Comments

Thanks i already seen that and then posted here . my problem is something else .

omidkosari gravatar imageomidkosari ( 2013-05-13 07:13:39 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-05-13 07:25:40 -0500

omidkosari gravatar image
aptitude purge nova-conductor

and

aptitude install nova-conductor

then after some minutes (maybe it uses cache)

nova-manage service list
Binary           Host                                 Zone             Status     State Updated_At
nova-cert        cloud                                internal         enabled    :-)   2013-05-13 12:09:06
nova-consoleauth cloud                                internal         enabled    :-)   2013-05-13 12:09:06
nova-scheduler   cloud                                internal         enabled    :-)   2013-05-13 12:09:06
nova-conductor   cloud                                internal         enabled    :-)   2013-05-13 12:09:06
edit flag offensive delete link more

Comments

worked for me .. thx

lmcdasm gravatar imagelmcdasm ( 2013-07-09 20:05:17 -0500 )edit
0

answered 2013-05-13 07:23:10 -0500

updated 2013-05-13 07:23:37 -0500

From logs problem is rabbit password for user guest. You can change password for user guest running:

rabbitmqctl change_password guest your_password

Put that password to nova.conf:

rabbit_password=your_password
edit flag offensive delete link more

Comments

as you can see 3 other nova services running correctly which means the password in nova.conf was ok .

omidkosari gravatar imageomidkosari ( 2013-05-13 07:27:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-05-13 06:26:08 -0500

Seen: 8,702 times

Last updated: May 13 '13