Description of problem: setup: - [bare metal] controller (running all services) - [VM] glance located on remote machine - [VM] cinder located on remote machine flow: - cinder create --display-name test 1 error: 2013-11-18 16:50:08.199 30660 ERROR cinder.volume.manager [req-84db519a-d153-4cc3-9e94-1a660ec0bd12 None None] Error encountered during initialization of driver: LVMISCSIDriver 2013-11-18 16:50:08.204 30660 ERROR cinder.volume.manager [req-84db519a-d153-4cc3-9e94-1a660ec0bd12 None None] Unexpected error while running command. Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvcreate -T -L 20 cinder-volumes/cinder-volumes-pool Exit code: 5 Stdout: '' Stderr: ' Thin pool cinder-volumes-pool already exists in Volume group cinder-volumes.\n' conf: [root@hateya-cinder ~]# egrep lvm_type /etc/cinder/cinder.conf lvm_type=thin Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I logged into the Cinder node, it was set to lvm_type=default and had no thin pool in the VG. I set the lvm_type to thin and restarted the volume service and seems to have created the pool successfully. The log message from before indicates that it thought there was no pool, so tried to create one, but then LVM errored saying it already existed. After that, cinder create seems to be working as expected.
The problem here was pool creation -- the secondary issue about failing to create a volume is bug 1022714.
works for me on latest cinder versions: openstack-cinder-2013.2-2.el6ost.noarch