'.' in ethernet device name causes neutron.pp error

Bug #1271385 reported by Tom Waterhouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
New
Undecided
Unassigned

Bug Description

I am attempting to install Havana with GRE in a multi-node environment using RDO. My data network device is eth1.1200. I get the following error when the neutron script is being run.

Error: Could not parse for environment production: Syntax error at '.'; expected '}' at /var/tmp/packstack/f8e1377ccde54cb3af8320b1ca559833/manifests/10.93.235.86_neutron.pp:31

I haven't been able to find any information regarding this issue. I believe the offending lines in neutron.pp are:

    if "eth1.1200" {
      $localip = $ipaddress_eth1.1200
    } else {
      $localip = '10.93.235.86'
    }

Revision history for this message
Tom Waterhouse (tomwater) wrote :
Revision history for this message
Martin Mágr (mmagr) wrote :

The dot character in your network device is the problem. Workaround would be to rename your device. Variable $ipaddress_<device> is created by Facter for Puppet. TBH I'm not sure if it is actually created, I would have to test it first. But definitely having dot in variable in Puppet manifest is syntax error [1], so I'm also not sure if this issue can be fixed.

[1] http://docs.puppetlabs.com/puppet/2.7/reference/lang_variables.html#naming

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.