cinder volume creation error

Asked by benabadji

Hi,

I am using Folsom on Ubuntu 12.10.
When i try to create my first volume (cinder create or from dashboard) I get this error messages in the /var/log/cinder/cinder-volume.log :

ERROR cinder.openstack.common.rpc.common [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.

And the volume stay with the 'in creating ' state.

Thank's for your help.

Question information

Language:
English Edit question
Status:
Solved
For:
Cinder Edit question
Assignee:
No assignee Edit question
Solved by:
benabadji
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Yaguang Tang (heut2008) said :
#1

check whether your rabbitmq-server is running .
then make sure the follow options in the cinder.conf is correct

# rabbit_host=localhost
#### (StrOpt) The RabbitMQ broker address where a single node is used

# rabbit_port=5672
#### (IntOpt) The RabbitMQ broker port where a single node is used

# rabbit_hosts=$rabbit_host:$rabbit_port
#### (ListOpt) RabbitMQ HA cluster host:port pairs

# rabbit_use_ssl=false
#### (BoolOpt) connect over SSL for RabbitMQ

# rabbit_userid=guest
#### (StrOpt) the RabbitMQ userid

# rabbit_password=guest
#### (StrOpt) the RabbitMQ password

Revision history for this message
Adel (adelgacem) said :
#2

And comprae this informations (cinder.conf) with user / password / group in RabbitMq

# rabbitmqctl list_users

Best.

Revision history for this message
benabadji (karimbenabadji) said :
#3

Hi all,

I solved the problem by creating a new rabbit user, and give this tow options bellow in the conder.conf

# rabbit_userid=rabbit_cinder
 #### (StrOpt) the RabbitMQ userid

# rabbit_password=openstack123
 #### (StrOpt) the RabbitMQ password

Think's to all.

Revision history for this message
benabadji (karimbenabadji) said :
#4

you have to read cinder.conf

Revision history for this message
benabadji (karimbenabadji) said :
#5

you have to read cinder.conf