Ask Your Question
0

cinder volume stuck in "creating" . How to fix this? [closed]

asked 2014-06-19 04:22:11 -0500

teju gravatar image

updated 2014-06-19 04:56:18 -0500

dbaxps gravatar image

I've configured cinder with multi backend .

I ran the command :
cinder create --display-name newlvmvol --volume-type lvmnew 1

The volume is stuck in "creating" state.

The cinder.conf file is as below:

enabled_backends = lvmdriver,netappdriver,lvmdrivernew
default_volume_type = lvm

[lvmdriver]
volume_group = cinder-volumes
volume_driver = cinder.volume.drivers.lvm.LVMISCSIDriver
volume_backend_name = LVM_iSCSI

[lvmdrivernew]
volume_group = cinder-new-volumes
volume_driver = cinder.volume.drivers.lvm.LVMISCSIDriver
volume_backend_name = LVM_iSCSI_New

LOGS :

cinder-api :
2014-06-19 12:33:28.097 1349 WARNING cinder.quota [req-8908df46-f805-4ed6-b412-14f98083a323 06c8283ea9e8426ebf94f87986d9bf1a 9277b02ab7a64e7da4d1f02c966a22bf] Deprecated: Default quota for resource: gigabytes is set by the default quota flag: quota_gigabytes, it is now deprecated. Please use the the default quota class for default quota.
2014-06-19 12:33:28.100 1349 WARNING cinder.quota [req-8908df46-f805-4ed6-b412-14f98083a323 06c8283ea9e8426ebf94f87986d9bf1a 9277b02ab7a64e7da4d1f02c966a22bf] Deprecated: Default quota for resource: gigabytes_lvmnew is set by the default quota flag: quota_gigabytes_lvmnew, it is now deprecated. Please use the the default quota class for default quota.
2014-06-19 12:33:28.101 1349 WARNING cinder.quota [req-8908df46-f805-4ed6-b412-14f98083a323 06c8283ea9e8426ebf94f87986d9bf1a 9277b02ab7a64e7da4d1f02c966a22bf] Deprecated: Default quota for resource: volumes_lvmnew is set by the default quota flag: quota_volumes_lvmnew, it is now deprecated. Please use the the default quota class for default quota.
2014-06-19 12:33:28.102 1349 WARNING cinder.quota [req-8908df46-f805-4ed6-b412-14f98083a323 06c8283ea9e8426ebf94f87986d9bf1a 9277b02ab7a64e7da4d1f02c966a22bf] Deprecated: Default quota for resource: volumes is set by the default quota flag: quota_volumes, it is now deprecated. Please use the the default quota class for default quota.

cinder-scheduler:

2014-06-19 12:33:28.402 1375 WARNING cinder.scheduler.host_manager [req-8908df46-f805-4ed6-b412-14f98083a323 06c8283ea9e8426ebf94f87986d9bf1a 9277b02ab7a64e7da4d1f02c966a22bf] volume service is down or disabled. (host: newrhelopen)
2014-06-19 12:33:28.410 1375 WARNING cinder.scheduler.host_manager [req-8908df46-f805-4ed6-b412-14f98083a323 06c8283ea9e8426ebf94f87986d9bf1a 9277b02ab7a64e7da4d1f02c966a22bf] volume service is down or disabled. (host: newrhelopen@lvmdriver)
2014-06-19 12:33:28.412 1375 ERROR cinder.scheduler.filters.capacity_filter [req-8908df46-f805-4ed6-b412-14f98083a323 06c8283ea9e8426ebf94f87986d9bf1a 9277b02ab7a64e7da4d1f02c966a22bf] Free capacity not set: volume node info collection broken.

cinder-volume :

2014-06-19 12:33:22.660 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:34:22.663 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:35:22.667 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:36:22.670 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:37:22.673 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:38:22.676 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:39:22.679 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:40:22.682 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:41:22.685 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:42:22.687 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:43:22.689 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:44:22.691 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized
2014-06-19 12:45:22.693 1408 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by teju
close date 2014-06-28 23:29:06.781757

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-06-28 23:28:17 -0500

teju gravatar image

I deleted the volume entry directly from the database.

edit flag offensive delete link more
1

answered 2014-06-19 04:53:31 -0500

dbaxps gravatar image

Check syntax :-
cinder create --display_name testvol 1 --volume_type glusterfs

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-19 04:22:11 -0500

Seen: 2,687 times

Last updated: Jun 28 '14