Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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) ^C

#
                                                 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 in 30 seconds.

                                               CINDER SCHEDULER LOG OF CONTROLLER NODE

2015-01-05 15:24:24.127 31302 ERROR oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2015-01-05 15:24:54.128 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Reconnecting to AMQP server on localhost:5672 2015-01-05 15:24:54.129 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Delaying reconnect for 1.0 seconds... 2015-01-05 15:24:58.141 31302 ERROR oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2015-01-05 15:25:28.150 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Reconnecting to AMQP server on localhost:5672 2015-01-05 15:25:28.151 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Delaying reconnect for 1.0 seconds... 2015-01-05 15:25:32.163 31302 ERROR oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.

#
                                                    CINDER CONFIGURATION ON BLOCK NODE

[DEFAULT] rootwrap_config = /etc/cinder/rootwrap.conf api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper = tgtadm volume_name_template = volume-%s volume_group = cinder-volumes verbose = True auth_strategy = keystone state_path = /var/lib/cinder lock_path = /var/lock/cinder volumes_dir = /var/lib/cinder/volumes

rpc_backend = cinder.openstack.common.rpc.impl_kombu raabbit_host = controller rabbit_port = 5672 rabbit_userid = guest rabbit_password = password

my_ip = 10.0.0.41 glance_host = controller [keystone_authtoken] auth_uri = http://controller:5000 auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = cinder admin_password = password [database] connection = mysql://cinder:password@controller/cinder

#
                                                         CINDER CONFIGURATION ON CONTROLLER NODE

[DEFAULT] verbose = True rootwrap_config = /etc/cinder/rootwrap.conf api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper = tgtadm volume_name_template = volume-%s volume_group = cinder-volumes volume_backend_name = LVM_SCSI

auth_strategy = keystone state_path = /var/lib/cinder lock_path = /var/lock/cinder volumes_dir = /var/lib/cinder/volumes glance_host = controller [database] connection = mysql://cinder:password@controller/cinder rpc_backend = cinder.openstack.common.rpc.impl_kombu rabbit_host = controller

rabbit_port = 15672

rabbit_port = 5672 rabbit_userid = guest rabbit_password = password [keystone_authtoken] auth_uri = http://controller:5000 auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = cinder admin_password = password

click to hide/show revision 2
No.2 Revision

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

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

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

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)
^C

#
 

Rabbitmq log of CONTROLLER NODE>

=INFO 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)

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'}}

#
 'connection.start_ok'}}

CINDER API LOG FROM CONTROLLER NODE

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 in 30 seconds.

                                               CINDER SCHEDULER LOG OF CONTROLLER NODE

2015-01-05 15:24:24.127 31302 ERROR oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2015-01-05 15:24:54.128 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Reconnecting to AMQP server on localhost:5672 2015-01-05 15:24:54.129 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Delaying reconnect for 1.0 seconds... 2015-01-05 15:24:58.141

CINDER SCHEDULER LOG OF CONTROLLER NODE

2015-01-05 15:24:24.127 31302 ERROR oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.
2015-01-05 15:25:28.150 15:24:54.128 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Reconnecting to AMQP server on localhost:5672
2015-01-05 15:25:28.151 15:24:54.129 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Delaying reconnect for 1.0 seconds...
2015-01-05 15:25:32.163 15:24:58.141 31302 ERROR oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.

#
 seconds.
2015-01-05 15:25:28.150 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Reconnecting to AMQP server on localhost:5672
2015-01-05 15:25:28.151 31302 INFO oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] Delaying reconnect for 1.0 seconds...
2015-01-05 15:25:32.163 31302 ERROR oslo.messaging._drivers.impl_rabbit [req-b5c4af76-8a02-4d0b-963f-bc443094e99e - - - - -] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds.

CINDER CONFIGURATION ON BLOCK NODE

NODE

[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes

/var/lib/cinder/volumes rpc_backend = cinder.openstack.common.rpc.impl_kombu raabbit_host = controller rabbit_port = 5672 rabbit_userid = guest rabbit_password = password

password my_ip = 10.0.0.41 glance_host = controller [keystone_authtoken] auth_uri = http://controller:5000 auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = cinder admin_password = password [database] connection = mysql://cinder:password@controller/cinder

#
 mysql://cinder:password@controller/cinder

CINDER CONFIGURATION ON CONTROLLER NODE

NODE

[DEFAULT]
verbose = True
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
volume_backend_name = LVM_SCSI

LVM_SCSI auth_strategy = keystone state_path = /var/lib/cinder lock_path = /var/lock/cinder volumes_dir = /var/lib/cinder/volumes glance_host = controller [database] connection = mysql://cinder:password@controller/cinder rpc_backend = cinder.openstack.common.rpc.impl_kombu rabbit_host = controller

rabbit_port = 15672

controller #rabbit_port = 15672 rabbit_port = 5672 rabbit_userid = guest rabbit_password = password [keystone_authtoken] auth_uri = http://controller:5000 auth_host = controller auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = cinder admin_password = password

password