openstack-packstack: running "packstack --allinone" on Centos7, get: ERROR : Cinder's volume group 'cinder-volumes' could not be created. Environment: OS: Centos7.0 openstack-packstack-2014.1.1-0.28.dev1238.el7.noarch openstack-puppet-modules-2014.1-23.el7.noarch openstack-packstack-puppet-2014.1.1-0.28.dev1238.el7.noarch Steps to reproduce: 1. Install Centos7.0 without using lvm for disk layout 2. Install openstack-packstack 3. Run "packstack --allinone" Result: Welcome to Installer setup utility Packstack changed given value to required value /root/.ssh/id_rsa.pub Installing: Clean Up [ DONE ] Setting up ssh keys [ DONE ] Discovering hosts' details [ DONE ] Adding pre install manifest entries [ DONE ] Preparing servers [ DONE ] Adding AMQP manifest entries [ DONE ] Adding MySQL manifest entries [ DONE ] Adding Keystone manifest entries [ DONE ] Adding Glance Keystone manifest entries [ DONE ] Adding Glance manifest entries [ DONE ] Adding Cinder Keystone manifest entries [ DONE ] Adding Cinder manifest entries [ DONE ] Checking if the Cinder server has a cinder-volumes vg[ ERROR ] ERROR : Cinder's volume group 'cinder-volumes' could not be created Expected result: This installer should complete with no issues.
Created attachment 943161 [details] openstack-setup.log from the system
The following workaround lets the installer continue: dd if=/dev/zero of=cinder-volumes bs=1 count=0 seek=2G && losetup /dev/loop2 cinder-volumes && pvcreate /dev/loop2 && vgcreate cinder-volumes /dev/loop2
We did not hit this in RDO CI, Wes is there an active CI workaround for this or is this just a timing issue?
Hi Alexander, I am unable to reproduce this issue on a fresh CentOS 7 without lvm (no lvm2* packages too). Could you please re-run again in debugging mode (--debug) and provide me the openstack-setup.log ? Regards, Gaël.
> openstack-packstack-2014.1.1-0.28.dev1238.el7.noarch > openstack-puppet-modules-2014.1-23.el7.noarch > openstack-packstack-puppet-2014.1.1-0.28.dev1238.el7.noarch This is RDO Icehouse, I assumed RDO Juno since it was filed during RDO Juno Test Day. Was your intention to install Juno or Icehouse?
Didn't re-produce after clean re-installation.
I've just tried to install openstack for f20 based on default packstack file, and I got the same failure (both console error message and log error). Repeating packstack run passed the check though, so maybe it's some race condition in the way we create the volume group.
(In reply to Ihar Hrachyshka from comment #8) > I've just tried to install openstack for f20 based on default packstack > file, and I got the same failure (both console error message and log error). > Repeating packstack run passed the check though, so maybe it's some race > condition in the way we create the volume group. Ihar, f20 RDO Juno or Icehouse ? Can you give me more information about your f20 setup ? I am still trying to find a reproducer ... :/
The machine was Fedora 20. A clean installation of Juno, no prior packstack installations on the system.
> Status: ASSIGNED → POST Please add openstack gerrit review in External Trackers.