Ask Your Question
0

cinder list command output, status section remains "creating" rather than "availabe" and stucks

asked 2015-01-21 00:50:55 -0600

sk91 gravatar image

updated 2015-01-21 05:28:13 -0600

Im installing openstack Legacy juno on ubuntu 14.04, with kvm nodes (all nodes are virtual machines such as controller, compute1, block storage), every thing was fine until verifying cinder, in cinder section( http://docs.openstack.org/juno/install-guide/install/apt/content/cinder-verify.html (http://docs.openstack.org/juno/instal...) ), commands "cinder service list", "cinder create --display-name demo-volume1 1" work fine on controller node but the command "cinder list" shows the table output which at the "status" column, it shows "creating" rather than available.

here are my logs : cinder-volume on block1 node & cinder-api.log and cinder-scheduler.log on controller node

http://paste.openstack.org/show/159556/

*******BLOCK1 NODE > cinder-volume.log **********

2015-01-21 09:25:29.242 12919 INFO cinder.openstack.common.service [-] Starting 1 workers
2015-01-21 09:25:29.243 12919 INFO cinder.openstack.common.service [-] Started child 12958
2015-01-21 09:25:29.249 12958 AUDIT cinder.service [-] Starting cinder-volume node (version 2014.1.3)
2015-01-21 09:25:29.251 12958 INFO cinder.volume.manager [req-c6adb521-8d1f-48ca-a834-789a13642e7c - - - - -] Starting volume driver LVMISCSIDriver (2.0.0)
2015-01-21 09:25:31.118 12958 INFO cinder.volume.manager [req-c6adb521-8d1f-48ca-a834-789a13642e7c - - - - -] Updating volume status
2015-01-21 09:25:31.464 12958 ERROR oslo.messaging._drivers.impl_rabbit [req-c6adb521-8d1f-48ca-a834-789a13642e7c - - - - -] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2015-01-21 09:25:32.467 12958 INFO oslo.messaging._drivers.impl_rabbit [req-c6adb521-8d1f-48ca-a834-789a13642e7c - - - - -] Reconnecting to AMQP server on localhost:5672
2015-01-21 09:25:32.467 12958 INFO oslo.messaging._drivers.impl_rabbit [req-c6adb521-8d1f-48ca-a834-789a13642e7c - - - - -] Delaying reconnect for 1.0 seconds...
2015-01-21 09:25:33.483 12958 ERROR oslo.messaging._drivers.impl_rabbit [req-c6adb521-8d1f-48ca-a834-789a13642e7c - - - - -] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.
2015-01-21 09:25:33.604 12958 INFO cinder.openstack.common.service [-] Caught SIGTERM, exiting
2015-01-21 09:25:33.607 12919 INFO cinder.openstack.common.service [-] Caught SIGTERM, stopping children
2015-01-21 09:25:33.607 12919 INFO cinder.openstack.common.service [-] Waiting on 1 children to exit
2015-01-21 09:25:33.675 12919 INFO cinder.openstack.common.service [-] Child 12958 exited with status 1
2015-01-21 09:25:48.852 1056 INFO cinder.openstack.common.service [-] Starting 1 workers
2015-01-21 09:25:48.855 1056 INFO cinder.openstack.common.service [-] Started child 1373
2015-01-21 09:25:48.896 1373 AUDIT cinder.service [-] Starting cinder-volume node (version 2014.1.3)
2015-01-21 09:25:48.901 1373 INFO cinder.volume.manager [req-e1c1eb0b-2385-4429-b0ee-dd6310d9540d - - - - -] Starting volume driver LVMISCSIDriver (2.0.0)
2015-01-21 09:25:49.837 1373 INFO cinder.volume.manager [req-e1c1eb0b-2385-4429-b0ee-dd6310d9540d - - - - -] Updating volume status
2015-01-21 09:25:49.937 1373 ERROR oslo.messaging._drivers.impl_rabbit [req-e1c1eb0b-2385-4429-b0ee-dd6310d9540d - - - - -] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2015-01-21 09:25:50.940 1373 INFO oslo.messaging._drivers.impl_rabbit [req-e1c1eb0b-2385-4429-b0ee-dd6310d9540d - - - - -] Reconnecting to AMQP server on localhost:5672
2015-01-21 09:25:50.940 1373 INFO oslo.messaging._drivers.impl_rabbit [req-e1c1eb0b-2385-4429-b0ee-dd6310d9540d - - - - -] Delaying reconnect for 1.0 seconds...
2015-01-21 09:25:51.944 1373 ERROR oslo.messaging._drivers.impl_rabbit [req-e1c1eb0b-2385-4429-b0ee-dd6310d9540d - - - - -] AMQP server on localhost:5672 is unreachable: [Errno ...
(more)
edit retag flag offensive close merge delete

Comments

The logs clearly shows messaging server is not reachable. Make sure you provide the below values rabbit_host and rabbit_password in cinder.conf and make sure rabbitmq server is running

teju gravatar imageteju ( 2015-01-21 00:57:24 -0600 )edit

Ty for the reply, yeah it shows alot of reconnections of AMPQ put it says it is connected after several attempts. by the way i have included cinder.confs above

sk91 gravatar imagesk91 ( 2015-01-21 01:19:19 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-23 05:27:12 -0600

sk91 gravatar image

updated 2015-01-23 05:27:56 -0600

Solved it!

my problem weren't the config files, nor the rabbit and AMPQ connections, neither firewall and ...

problem was that i didnt enter these commands in terminal for block storage node :

# apt-get install ubuntu-cloud-keyring
# echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu" \
"trusty-updates/juno main" > /etc/apt/sources.list.d/cloudarchive-juno.list

so compute, and controller nodes where getting the packages from the cloud repository but storage node got them from ubuntu default repositories, something like my controller was for juno but block storage node was for icehouse.

so the incompatibility of packages were the problem

hope it helps someone

edit flag offensive delete link more

Comments

Thanks for sharing

SGPJ gravatar imageSGPJ ( 2015-01-27 17:13:17 -0600 )edit

Thanks for sharing. It works for me.

Jun gravatar imageJun ( 2015-05-17 21:52:15 -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: 2015-01-21 00:50:55 -0600

Seen: 624 times

Last updated: Jan 23 '15