ERROR [cinder.openstack.common.rpc.common] AMQP server on localhost:5672 is unreachable: Socket closed.
I am trying to deply all Grizzly components on 1 machine with Ubuntu 12.04.2 LTS. After Cinder installation, I tried:
cinder create --display_name test 1
And got above error message.
I checked RabbitMQ user Id and password , both are correct and rabbitmq-server is up-running.
cinder.conf is as below:
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
sql_connection = mysql://cinder:cloud@localhost/cinder
api_paste_config = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
\#osapi_volume_listen_port=5900
rabbit_host = localhost
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = cloud
rabbit_virtual_host = /nova
rabbit_hosts=$rabbit_host:$rabbit_port
rabbit_use_ssl=false
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
Am i wrong? All i did is follow the installation guide ...
Thanks a lot!
Can you check if port 5672 is open using `netstat -ntlp | grep 5672`?
Yes, it is opened: tcp6 0 0 :::5672 :::* LISTEN 1320/beam.smp
@Jobin, this is my out put for that command, and I'm facing the same problem, seems my rabbit can't bind to port 5672 in IPv4: