Ask Your Question
0

cinder volume creation long time no result..

asked 2014-12-22 06:34:07 -0600

AMIT SAHA gravatar image

I have run the command as below :

cinder create 1 --display-name my-new-volume --image-id d016b758-082d-4151-af95-77e67a9e3742 --availability-zone nova

And got the result : +---------------------+--------------------------------------+ | Property | Value | +---------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | created_at | 2014-12-22T11:51:30.085662 | | display_description | None | | display_name | my-new-volume | | encrypted | False | | id | b8997313-e3ef-4685-8d5a-3eb1d0d75a3e | | image_id | d016b758-082d-4151-af95-77e67a9e3742 | | metadata | {} | | size | 1 | | snapshot_id | None | | source_volid | None | | status | creating | | volume_type | None | +---------------------+--------------------------------------+

But i HORIZON the status is "creating" state for long time , when I see the log file in both the Controller and Block1 node dedicated for Cinder volume

cinder-api.log from CONTROLLER

2014-12-22 17:59:36.177 21430 INFO eventlet.wsgi.server [req-a933bf8b-dc74-4e6a-82c2-44adfef717b5 94550e94e1a2499f8dd50e6484200d28 a33cb9d97aee4b078fba543f5dcc0b83 - - -] 10.0.0.11 - - [22/Dec/2014 17:59:36] "GET /v1/a33cb9d97aee4b078fba543f5dcc0b83/os-availability-zone HTTP/1.1" 200 266 0.061534

from BLOCK NODE - the LOG

**tail -f 100 cinder-volume.log

2014-12-22 17:56:10.756 25621 TRACE cinder.openstack.common.threadgroup return strategy.create(*args, kwargs) 2014-12-22 17:56:10.756 25621 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 64, in create 2014-12-22 17:56:10.756 25621 TRACE cinder.openstack.common.threadgroup dbapi = dialect_cls.dbapi(dbapi_args) 2014-12-22 17:56:10.756 25621 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/sqlalchemy/connectors/mysqldb.py", line 57, in dbapi 2014-12-22 17:56:10.756 25621 TRACE cinder.openstack.common.threadgroup return __import__('MySQLdb') 2014-12-22 17:56:10.756 25621 TRACE cinder.openstack.common.threadgroup ImportError: No module named MySQLdb 2014-12-22 17:56:10.756 25621 TRACE cinder.openstack.common.threadgroup 2014-12-22 17:56:10.779 30814 INFO cinder.openstack.common.service [-] Child 25621 exited with status 0 2014-12-22 17:56:10.784 30814 INFO cinder.openstack.common.service [-] Started child 25631 2014-12-22 17:56:10.787 25631 AUDIT cinder.service [-] Starting cinder-volume node (version 2014.1.3) 2014-12-22 17:56:10.790 25631 INFO cinder.volume.manager [req-3ea5ce56-50c4-4217-aa54-6bbad343e85e - - - - -] Starting volume driver LVMISCSIDriver (2.0.0)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-22 07:12:57 -0600

AMIT SAHA gravatar image

Hello I again started all services and tried changing the RPC port from 55672 to 15672 because I found my Rabbit server as Version: 3.2.4-1~cloud0

The log in scheduler below : that seems that Controller is not able to talk with block node 1

2014-12-22 18:12:31.762 21444 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds. 2014-12-22 18:12:34.762 21444 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672 2014-12-22 18:12:34.763 21444 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds... 2014-12-22 18:12:35.785 21444 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on localhost:5672 2014-12-22 18:18:35.656 21444 INFO cinder.openstack.common.service [-] Caught SIGTERM, exiting 2014-12-22 18:18:35.971 23336 AUDIT cinder.service [-] Starting cinder-scheduler node (version 2014.1.3) 2014-12-22 18:18:35.979 23336 INFO oslo.messaging._drivers.impl_rabbit [req-7344ce4d-fb81-43cf-aa8e-44355874967e - - - - -] Connected to AMQP server on localhost:5672 2014-12-22 18:18:36.133 23336 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on localhost:5672 2014-12-22 18:21:34.731 23336 WARNING cinder.context [-] Arguments dropped when creating context: {'user': u'3728a582767242db8e574f33033cfdb4', 'tenant': u'585ef0e5e2b6478a9bf70212f9c13d45', 'user_identity': u'3728a582767242db8e574f33033cfdb4 585ef0e5e2b6478a9bf70212f9c13d45 - - -'} 2014-12-22 18:21:34.771 23336 ERROR cinder.scheduler.flows.create_volume [req-a7123a83-df55-4fe9-aa2a-b1dc7ec37a23 3728a582767242db8e574f33033cfdb4 585ef0e5e2b6478a9bf70212f9c13d45 - - -] Failed to schedule_create_volume: No valid host was found.

PLease HELP !!

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: 2014-12-22 06:34:07 -0600

Seen: 310 times

Last updated: Dec 22 '14