Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

teju gravatar image

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

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

[netappdriver] volume_driver= cinder.volume.drivers.netapp.iscsi.NetAppDirect7modeISCSIDriver netapp_server_hostname=10.192.203.13 netapp_server_port=80 netapp_login=root netapp_password=emulex1234 volume_backend_name = netapp_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 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized 2014-06-19 12:46:22.695 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized

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

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

[netappdriver] volume_driver= cinder.volume.drivers.netapp.iscsi.NetAppDirect7modeISCSIDriver netapp_server_hostname=10.192.203.13 netapp_server_port=80 netapp_login=root netapp_password=emulex1234 volume_backend_name = netapp_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 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized 2014-06-19 12:46:22.695 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized

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

I've configured cinder with multi backend .

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

1 The volume is stuck in "creating" state.

state. The cinder.conf file is as below:

below: enabled_backends = lvmdriver,netappdriver,lvmdrivernew default_volume_type = lvm

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

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

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:

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.

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 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized 2014-06-19 12:46:22.695 1408 WARNING cinder.volume.manager [-] Unable to update stats, driver is uninitialized

uninitialized