Bug 1165570

Summary: unable to install without creating cinder vg
Product: [Community] RDO Reporter: Matthias Runge <mrunge>
Component: openstack-packstackAssignee: Gaël Chamoulaud <gchamoul>
Status: CLOSED DUPLICATE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, gchamoul, yeylon
Target Milestone: ---   
Target Release: Juno   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-23 12:01:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Runge 2014-11-19 09:07:00 UTC
Description of problem:
I already have a cinder volume group (based on LVM), I don't want packstack to create a new one.

Version-Release number of selected component (if applicable):
openstack-packstack-2014.2-0.5.dev1316.g733aa73.el7.centos.noarch

it worked in the past.


cat packst-juno.txt | grep CINDER_VOLUMES
CONFIG_CINDER_VOLUMES_CREATE=n
CONFIG_CINDER_VOLUMES_SIZE=20G

each time, oackstack errors out:
Adding Cinder manifest entries                    [ ERROR ]

ERROR : 'CONFIG_CINDER_VOLUMES_SIZE'
Please check log file /var/tmp/packstack/20141119-094841-pEUQ2V/openstack-setup.log for more information


Log file:
2014-11-19 10:00:52::ERROR::run_setup::955::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 950, in main
    _main(options,confFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 619, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 592, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 68, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 98, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 38, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/cinder_250.py", line 736, in create_manifest
    manifestdata += getManifestTemplate('cinder_%s.pp' % backend)
  File "/usr/lib/python2.7/site-packages/packstack/modules/ospluginutils.py", line 76, in getManifestTemplate
    return fp.read() % controller.CONF
KeyError: 'CONFIG_CINDER_VOLUMES_SIZE'

Comment 1 Gaël Chamoulaud 2014-11-21 10:39:59 UTC
This issue will be fixed with this patch https://review.openstack.org/#/c/131803/
It has been included in openstack-packstack-2014.2-0.6.dev1331.g34ecfce build.

We need to push new build for EPEL-7-JUNO.

Comment 2 Gaël Chamoulaud 2014-11-23 12:01:21 UTC

*** This bug has been marked as a duplicate of bug 1164359 ***