Ask Your Question
0

when i am trying to create cinder volume using horizon , process of creation taking too much time and returning nothing ?

asked 2015-01-05 04:46:28 -0500

SKN gravatar image

updated 2015-01-05 14:28:23 -0500

mpetason gravatar image

I have created an environment using openstack Icehouse on UBUNTU 12.04 LTS with neutron as network service . I have used 4 system interconnected with management network named as 1) Controller 2) Compute 3) Neutron 4) Block

Compute and Neutron connected using a isolated network from instance data communication (GRE) . Network is only node which is connected with external network .

                 -------------------------------------------------
                 |                  |                  |                   |
CONTROLLER        COMPUTE         NEUTRON -----  BLOCK
                                    |                |      |
                                   -----------------     |
                                                            External _ Net

Here is my topology .

But I am unable to create volume . I am providing all logs and configuration . Please assist me .

CINDER API LOG FROM COMPUTE NODE

  2015-01-05 15:16:02.681 13800 TRACE cinder.openstack.common.threadgroup     dbapi = dialect_cls.dbapi(**dbapi_args)
    2015-01-05 15:16:02.681 13800 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/sqlalchemy/connectors/mysqldb.py", line 57, in dbapi
    2015-01-05 15:16:02.681 13800 TRACE cinder.openstack.common.threadgroup     return __import__('MySQLdb')
    2015-01-05 15:16:02.681 13800 TRACE cinder.openstack.common.threadgroup ImportError: No module named MySQLdb
    2015-01-05 15:16:02.681 13800 TRACE cinder.openstack.common.threadgroup
    2015-01-05 15:16:02.704 7986 INFO cinder.openstack.common.service [-] Child 13800 exited with status 0
    2015-01-05 15:16:02.708 7986 INFO cinder.openstack.common.service [-] Started child 13810
    2015-01-05 15:16:02.712 13810 AUDIT cinder.service [-] Starting cinder-volume node (version 2014.1.3)
    2015-01-05 15:16:02.715 13810 INFO cinder.volume.manager [req-97725d1e-07b5-4031-a8fa-e70835a6714b - - - - -] Starting volume driver LVMISCSIDriver (2.0.0)

Rabbitmq log of CONTROLLER NODE>

INFO REPORT==== 5-Jan-2015::15:15:16 ===
accepting AMQP connection <0.5082.58> (127.0.0.1:40339 -> 127.0.0.1:5672)

=ERROR REPORT==== 5-Jan-2015::15:15:19 ===
closing AMQP connection <0.5082.58> (127.0.0.1:40339 -> 127.0.0.1:5672):
{handshake_error,starting,0,
                 {amqp_error,access_refused,
                             "AMQPLAIN login refused: user 'guest' - invalid credentials",
                             'connection.start_ok'}}

CINDER API LOG FROM CONTROLLER NODE

   e4b078fba543f5dcc0b83 - - -] Reconnecting to AMQP server on localhost:5672
    2015-01-05 15:19:59.011 31327 INFO oslo.messaging._drivers.impl_rabbit [req-25ba1515-280a-4378-9543-9bafcc1e0762 94550e94e1a2499f8dd50e6484200d28 a33cb9d97aee4b078fba543f5dcc0b83 - - -] Delaying reconnect for 1.0 seconds...
    2015-01-05 15:19:59.012 31327 INFO oslo.messaging._drivers.impl_rabbit [req-0482a9f6-a078-466a-9663-0512d2d09567 3728a582767242db8e574f33033cfdb4 585ef0e5e2b6478a9bf70212f9c13d45 - - -] Reconnecting to AMQP server on localhost:5672
    2015-01-05 15:19:59.012 31327 INFO oslo.messaging._drivers.impl_rabbit [req-0482a9f6-a078-466a-9663-0512d2d09567 3728a582767242db8e574f33033cfdb4 585ef0e5e2b6478a9bf70212f9c13d45 - - -] Delaying reconnect for 1.0 seconds...
    2015-01-05 15:19:59.013 31327 INFO oslo.messaging._drivers.impl_rabbit [req-681cd1d3-bd87-4098-8688-a88f308079f2 94550e94e1a2499f8dd50e6484200d28 a33cb9d97aee4b078fba543f5dcc0b83 - - -] Reconnecting to AMQP server on localhost:5672
    2015-01-05 15:19:59.013 31327 INFO oslo.messaging._drivers.impl_rabbit [req-681cd1d3-bd87-4098-8688-a88f308079f2 94550e94e1a2499f8dd50e6484200d28 a33cb9d97aee4b078fba543f5dcc0b83 - - -] Delaying reconnect for 1.0 seconds...
    2015-01-05 15:20:03.030 31327 ERROR oslo.messaging._drivers.impl_rabbit [req-681cd1d3-bd87-4098-8688-a88f308079f2 94550e94e1a2499f8dd50e6484200d28 a33cb9d97aee4b078fba543f5dcc0b83 - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
    2015-01-05 15:20:03.030 31327 ERROR oslo.messaging._drivers.impl_rabbit [req-0482a9f6-a078-466a-9663-0512d2d09567 3728a582767242db8e574f33033cfdb4 585ef0e5e2b6478a9bf70212f9c13d45 - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
    2015-01-05 15:20:03.031 31327 ERROR oslo.messaging._drivers.impl_rabbit [req-25ba1515-280a-4378-9543-9bafcc1e0762 94550e94e1a2499f8dd50e6484200d28 a33cb9d97aee4b078fba543f5dcc0b83 - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-01-05 14:31:23 -0500

mpetason gravatar image

RabbitMQ is looking for Localhost, you specified :

rabbit_host=controller

Do you have /etc/hosts setup to direct Controller to the IP address that RabbitMQ is listening on? I would specify an IP address, instead of hostnames, for testing. Then restart Cinder services, and check the logs again.

If it is unable to talk to RabbitMQ then it will be unable to create or consume messages, which means nothing will get done.

edit flag offensive delete link more

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-05 04:46:28 -0500

Seen: 411 times

Last updated: Jan 05 '15