Cinder scheduler failed when thin provisioning support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
yenai |
Bug Description
Use LVM as a cinder backend.
cinder.conf:
[lvmdriver-1]
image_volume_
volume_clear = zero
lvm_type = thin
lvm_max_
iscsi_helper = lioadm
volume_group = stack-volumes-
volume_driver = cinder.
volume_backend_name = lvmdriver-1
VG info:
[root@yenai ~]# vgs
VG #PV #LV #SN Attr VSize VFree
cl 1 2 0 wz--n- <39.00g 0
stack-
stack-
The free capacity of stack-volumes-
Then we set lvm_max_
Now we create 4 volumes:
cinder create --volume-type lvmdriver-1 5
cinder create --volume-type lvmdriver-1 5
cinder create --volume-type lvmdriver-1 5
cinder create --volume-type lvmdriver-1 3
But the result is only 2 volumes created successfully.
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| 7aa9fcd7-
| 84a457e8-
| 90464fd3-
| e67d36bf-
+------
The attachment is log file for detail.
Fix proposed to branch: master /review. openstack. org/507325
Review: https:/