Bug 1009989

Summary: Setting CONFIG_NEUTRON_OVS_TUNNEL_IF causes packstack install to fail
Product: [Community] RDO Reporter: Joe Talerico <jtaleric>
Component: openstack-packstackAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Nir Magnezi <nmagnezi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, twilson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 15:29:30 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 Joe Talerico 2013-09-19 16:12:37 UTC
Description of problem:
Using RDO Havana.

Setting CONFIG_NEUTRON_OVS_TUNNEL_IF to the interface IP address creates a broken Puppet Manifest file.

Version-Release number of selected component (if applicable):
RDO 4.0 Havana 

How reproducible:
100%

Steps to Reproduce:
1. Generate Packstack answer file
2. Modify answer file, set CONFIG_NEUTRON_OVS_TUNNEL_IF=20.0.3.101 (or whatever IP)
3. Run packstack --answer-file=your_answer_file

Actual results:
2013-09-19 07:22:03::ERROR::ospluginutils::143::root:: Error  during remote puppet apply of /var/tmp/packstack/20130919-070752-kPWGcA/manifests/10.16.29.59_neutron.pp
2013-09-19 07:22:03::ERROR::ospluginutils::144::root:: ^[[1;31mError: Could not parse for environment production: Syntax error at '.'; expected '}' at /var/tmp/packstack/5926f745f28c4544888e9b75240619b3/manifests/10.16.29.59_neutron.pp:24 on node pcloud14.perf.lab.eng.bos.redhat.com^[[0m
^[[1;31mError: Could not parse for environment production: Syntax error at '.'; expected '}' at /var/tmp/packstack/5926f745f28c4544888e9b75240619b3/manifests/10.16.29.59_neutron.pp:24 on node pcloud14.perf.lab.eng.bos.redhat.com^[[0m

2013-09-19 07:22:03::ERROR::run_setup::913::root:: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 908, in main
    _main(confFile)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 577, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 554, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 90, in runAllSequences
    sequence.run(self.CONF)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 105, in run
    step.run(config=config)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 52, in run
    raise SequenceError(str(ex))
SequenceError: Error during puppet run : Error: Could not parse for environment production: Syntax error at '.'; expected '}' at /var/tmp/packstack/5926f745f28c4544888e9b75240619b3/manifests/10.16.29.59_neutron.pp:24 on node pcloud14.perf.lab.eng.bos.redhat.com^[[0m

Expected results:
Packstack to install, and set my local_ip to 20.0.3.101

Additional info:
Manifest file : http://paste.fedoraproject.org/40751/96062441/
Packstack Error : http://paste.fedoraproject.org/40747/79605306/
Neutron Log : http://paste.fedoraproject.org/40754/96063511/

Comment 1 Terry Wilson 2013-09-19 16:22:41 UTC
May be something that worked in puppet 2.6 and not in 3.x. May just need quotes around $ipaddress_x.x.x.x.

Comment 2 Joe Talerico 2013-09-19 17:11:25 UTC
I just spoke to radez, seems like my understanding was backwards. 

I was setting CONFIG_NEUTRON_OVS_TUNNEL_IF to an IP address, where puppet wants a interface name for facter.

Comment 3 Terry Wilson 2013-09-20 02:44:29 UTC
Ah, I completely missed that too. I guess this can be closed.