Cinder volume group is not getting created by Icehouse All-in-One setup script.

Bug #1319055 reported by navin
10
This bug affects 2 people
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/targets.conf file, if it is not already present:

include /etc/cinder/volumes/*

4)Start the cinder services:

#service cinder-volume restart
#service cinder-scheduler restart
#service cinder-api restart

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.