RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1148552 - openstack-packstack: running "packstack --allinone" on Centos7, get: ERROR : Cinder's volume group 'cinder-volumes' could not be created.
Summary: openstack-packstack: running "packstack --allinone" on Centos7, get: ERROR :...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: Juno
Assignee: Gaël Chamoulaud
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-01 17:32 UTC by Alexander Chuzhoy
Modified: 2015-02-17 15:15 UTC (History)
9 users (show)

Fixed In Version: openstack-packstack-2014.2-0.6.dev1331.g34ecfce.fc22
Clone Of:
Environment:
Last Closed: 2015-02-17 15:15:02 UTC
Embargoed:


Attachments (Terms of Use)
openstack-setup.log from the system (6.12 KB, text/plain)
2014-10-01 17:34 UTC, Alexander Chuzhoy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 131803 0 None MERGED Fix LVM Cinder Volume Creation 2020-12-21 21:28:49 UTC

Description Alexander Chuzhoy 2014-10-01 17:32:31 UTC
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.

Comment 1 Alexander Chuzhoy 2014-10-01 17:34:30 UTC
Created attachment 943161 [details]
openstack-setup.log from the system

Comment 2 Alexander Chuzhoy 2014-10-01 19:58:42 UTC
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

Comment 3 Alan Pevec 2014-10-13 17:32:05 UTC
We did not hit this in RDO CI, Wes is there an active CI workaround for this
or is this just a timing issue?

Comment 5 Gaël Chamoulaud 2014-10-13 19:52:25 UTC
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.

Comment 6 Alan Pevec 2014-10-13 20:48:37 UTC
> 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?

Comment 7 Alexander Chuzhoy 2014-10-14 16:26:40 UTC
Didn't re-produce after clean re-installation.

Comment 8 Ihar Hrachyshka 2014-10-27 12:13:53 UTC
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.

Comment 9 Gaël Chamoulaud 2014-10-29 09:34:41 UTC
(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 ... :/

Comment 10 Ihar Hrachyshka 2014-10-29 09:38:09 UTC
The machine was Fedora 20. A clean installation of Juno, no prior packstack installations on the system.

Comment 11 Alan Pevec (Fedora) 2014-10-31 12:18:28 UTC
> Status: ASSIGNED → POST

Please add openstack gerrit review in External Trackers.


Note You need to log in before you can comment on or make changes to this bug.