Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1115444

Summary: packstack fails to install with nova-network on ERROR : 'CONFIG_NEUTRON_L3_EXT_BRIDGE'
Product: Red Hat OpenStack Reporter: Pavel Sedlák <psedlak>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED CURRENTRELEASE QA Contact: Jaroslav Henner <jhenner>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: aortega, derekh, jhenner, jliberma, sclewis, yeylon
Target Milestone: rc   
Target Release: 5.0 (RHEL 7)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-2014.1.1-0.31.dev1208.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-09 20:18:46 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:
Bug Depends On:    
Bug Blocks: 1114930, 1115163    
Attachments:
Description Flags
answerfile and var/tmp/packstack logs none

Description Pavel Sedlák 2014-07-02 11:30:18 UTC
Description of problem:
When installation with packstack is done, with CONFIG_INSTALL_NEUTRON=n to get nova-network deployed, it fails while adding manifests/puppets:

> Adding Ceilometer manifest entries                   [ DONE ]
> Adding Ceilometer Keystone manifest entries          [ DONE ]
> Adding post install manifest entries              [ ERROR ]
> 
> ERROR : 'CONFIG_NEUTRON_L3_EXT_BRIDGE'

answerfile grepped shows default value for this is there:
> CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex

> 2014-07-02 05:31:09::DEBUG::sequences::34::root:: Running step Adding Ceilometer Keystone manifest entries.
> 2014-07-02 05:31:09::DEBUG::sequences::93::root:: Running sequence Running post install scripts.
> 2014-07-02 05:31:09::DEBUG::sequences::34::root:: Running step Adding post install manifest entries.
> 2014-07-02 05:31:09::DEBUG::sequences::40::root:: Traceback (most recent call last):
>   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/postscript_948.py", line 49, in create_manifest
>     fmted = config['CONFIG_NEUTRON_L3_EXT_BRIDGE'].replace('-', '_')
> KeyError: 'CONFIG_NEUTRON_L3_EXT_BRIDGE'
> 
> 2014-07-02 05:31:09::ERROR::run_setup::920::root:: Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 915, in main
>     _main(confFile)
>   File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 605, in _main
>     runSequences()
>   File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 584, 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 44, in run
>     raise SequenceError(str(ex))
> SequenceError: 'CONFIG_NEUTRON_L3_EXT_BRIDGE'

Version-Release number of selected component (if applicable):
openstack-packstack-2014.1.1-0.30.dev1204.el7ost

How reproducible:
always

Steps to Reproduce:
1. install packstack
2. packstack --gen-answer-file my-answers
3. set CONFIG_INSTALL_NEUTRON=n in my-answers
4. opt. do other (should not be related) changes to my-answers (see note below)
5. packstack --debug --answer-file my-answers

Actual results:
packstack fails

Expected results:
packstack succeeds, openstack is installed

Additional info:
In my case also additional answers were configured:
> "general": {
>     "CONFIG_COMPUTE_HOSTS": "172.16.32.78", 
>     "CONFIG_SWIFT_STORAGE_HOSTS": "172.16.32.78", 
>     "CONFIG_HEAT_CLOUDWATCH_INSTALL": "y", 
>     "CONFIG_PROVISION_TEMPEST": "n", 
>     "CONFIG_HEAT_INSTALL": "y", 
>     "CONFIG_NOVA_COMPUTE_PRIVIF": "lo", 
>     "CONFIG_HEAT_CFN_INSTALL": "y", 
>     "CONFIG_DEBUG_MODE": "y", 
>     "CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL": "public", 
>     "CONFIG_KEYSTONE_ADMIN_PW": "verybadpass", 
>     "CONFIG_NAGIOS_INSTALL": "n", 
>     "CONFIG_NOVA_NETWORK_PUBIF": "eth0", 
>     "CONFIG_SWIFT_INSTALL": "y", 
>     "CONFIG_NOVA_NETWORK_PRIVIF": "lo", 
>     "CONFIG_AMQP_BACKEND": "rabbitmq", 
>     "CONFIG_NEUTRON_INSTALL": "n", 
>     "CONFIG_QUANTUM_INSTALL": "n", 
>     "CONFIG_NOVA_COMPUTE_HOSTS": "172.16.32.78", 
>     "CONFIG_PROVISION_DEMO": "n", 
>     "CONFIG_MYSQL_PW": "123456", 
>     "CONFIG_NAGIOS_PW": "123456", 
>     "CONFIG_AMQP_SERVER": "rabbitmq"
> }

Comment 1 Pavel Sedlák 2014-07-02 11:34:24 UTC
Created attachment 914124 [details]
answerfile and var/tmp/packstack logs

Comment 2 Jaroslav Henner 2014-07-04 08:09:38 UTC
openstack-packstack-2014.1.1-0.32.1.dev1209.el7ost.noarch with novanetwork works fine