Ask Your Question
0

rabbitmq (AMQP) error

asked 2013-10-08 13:57:15 -0600

RHK gravatar image

Hello,

I am getting rabbitmq error, which shown in the below logs.

I installed rabbitmq server and after i created user/password manually.

root@openstack:/var/log/cinder# tail -f cinder-scheduler.log 2013-10-09 00:18:28 INFO [cinder.openstack.common.rpc.common] Reconnecting to AMQP server on 192.168.30.130:5672 2013-10-09 00:18:31 ERROR [cinder.openstack.common.rpc.common] AMQP server on 192.168.30.130:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2013-10-09 00:19:01 INFO [cinder.openstack.common.rpc.common] Reconnecting to AMQP server on 192.168.30.130:5672 2013-10-09 00:19:04 ERROR [cinder.openstack.common.rpc.common] AMQP server on 192.168.30.130:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2013-10-09 00:19:34 INFO [cinder.openstack.common.rpc.common] Reconnecting to AMQP server on 192.168.30.130:5672 2013-10-09 00:19:37 ERROR [cinder.openstack.common.rpc.common] AMQP server on 192.168.30.130:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2013-10-09 00:20:07 INFO [cinder.openstack.common.rpc.common] Reconnecting to AMQP server on 192.168.30.130:5672 2013-10-09 00:20:10 ERROR [cinder.openstack.common.rpc.common] AMQP server on 192.168.30.130:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2013-10-09 00:20:40 INFO [cinder.openstack.common.rpc.common] Reconnecting to AMQP server on 192.168.30.130:5672

2013-10-09 00:20:43 ERROR [cinder.openstack.common.rpc.common] AMQP server on 192.168.30.130:5672 is unreachable: Socket closed. Trying again in 30 seconds.

root@openstack:~# cd /var/log/rabbitmq/ root@openstack:/var/log/rabbitmq# ls rabbit@openstack.log rabbit@openstack-sasl.log shutdown_log startup_log root@openstack:/var/log/rabbitmq# tail -f rabbit@openstack.log

=ERROR REPORT==== 9-Oct-2013::00:20:43 === exception on TCP connection <0.261.0> from 192.168.30.130:39399 {channel0_error,opening, {amqp_error,access_refused, "access to vhost '/nova' refused for user 'rabbitmq'", 'connection.open'}}

=INFO REPORT==== 9-Oct-2013::00:20:43 === closing TCP connection <0.261.0> from 192.168.30.130:39399

because of this errors when i try to create,

$ cinder create --display_name test 1

its hanging and in cinder list status is showincreating.

plz any one let me know how to fix this issue.

Regards, Hari

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-10-09 23:10:46 -0600

marcelodieder gravatar image

updated 2013-10-09 23:11:14 -0600

You need see the option "rabbit_virtual_host" in file /etc/glance/glance-api.conf. Change the vhost as command show:

# rabbitmqctl list_vhosts show your vhost.

Example:

/etc/glance/glance-api.conf

rabbit_virtual_host = /

edit flag offensive delete link more

Comments

Thank you marcelodieder, your solution works well. : ) I come into this problem when I install Cinder without Nova (Grizzly) and try to create an image. The error gone after I remove the "rabbit_virtual_host = " line.

yyli gravatar imageyyli ( 2013-12-05 02:10:05 -0600 )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-10-08 13:57:15 -0600

Seen: 3,988 times

Last updated: Oct 09 '13