'.' in ethernet device name causes neutron.pp error
Bug #1271385 reported by
Tom Waterhouse
This bug report is a duplicate of:
Bug #1279517: Packstack does not handle interface names (CONFIG_NEUTRON_OVS_TUNNEL_IF, etc) containing "." or "-".
Edit
Remove
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/
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_
} else {
$localip = '10.93.235.86'
}
To post a comment you must log in.
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