Bug 1009989 - Setting CONFIG_NEUTRON_OVS_TUNNEL_IF causes packstack install to fail
Setting CONFIG_NEUTRON_OVS_TUNNEL_IF causes packstack install to fail
Status: CLOSED NOTABUG
Product: RDO
Classification: Community
Component: openstack-packstack (Show other bugs)
unspecified
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: RHOS Maint
Nir Magnezi
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-19 12:12 EDT by Joe Talerico
Modified: 2013-09-23 11:29 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-23 11:29:30 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Joe Talerico 2013-09-19 12:12:37 EDT
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 12:22:41 EDT
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 13:11:25 EDT
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-19 22:44:29 EDT
Ah, I completely missed that too. I guess this can be closed.

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