Cinder volume group is not getting created by Icehouse All-in-One setup script.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
New
|
Undecided
|
Unassigned |
Bug Description
I am trying to install All-in-One setup of Icehouse version of Openstack. I found that each time, Cinder Volume group is not getting created. Because of this, Volumes created using Cinder APIs are in Error state.
I have found following work around to fix this problem which works for me:
1)Create the LVM physical and logical volumes.
# pvcreate /dev/sdb
# vgcreate cinder-volumes /dev/sdb
2)Add a filter entry to the devices section /etc/lvm/lvm.conf to keep LVM from scanning devices used by virtual machines
devices {
...
filter = [ "a/sda1/", "a/sdb/", "r/.*/"]
...
}
3)Add the following line to the beginning of the /etc/tgt/
include /etc/cinder/
4)Start the cinder services:
#service cinder-volume restart
#service cinder-scheduler restart
#service cinder-api restart