'.' in ethernet device name causing packstack parse error

asked 2014-01-21 18:51:49 -0600

tomwaterhouse gravatar image

updated 2014-01-24 18:38:05 -0600

smaffulli gravatar image

I am attempting to install Havana with GRE in a multi-node environment. 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/

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 = ''

Before I log a bug I'm hoping someone can tell me this should work, or offer up a work-around.



edit retag flag offensive close merge delete


If you run "facter" on this system, what does the "ipaddress_<interfacename>" fact look like for this interface?

larsks gravatar imagelarsks ( 2014-01-24 08:59:17 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-01-25 17:26:54 -0600

larsks gravatar image

You didn't say, but I'm guessing that you're installing using packstack with a configuration that looks something like:


Facter (version 1.7 or later) generates facts for each interface on your system of the form ipaddress_<interfacename>. When there is a . or other character in the name that would result in an invalid fact name, facter replaces that character with _. So, for example, on your system I would expect to see:


In theory, if you set CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1_1200, things should work as you expect. The Puppet modules used by packstack should take care of this automatically; I will take a look at fixing this so that no workaround is necessary.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-01-21 18:51:49 -0600

Seen: 388 times

Last updated: Jan 25 '14