Packstack does not handle interface names (CONFIG_NEUTRON_OVS_TUNNEL_IF, etc) containing "." or "-"

Bug #1279517 reported by Lars Kellogg-Stedman
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Packstack
Fix Released
Undecided
Unassigned

Bug Description

Given a setting such as:

  CONFIG_NEUTRON_OVS_TUNNEL_IF=eth0.212

packstack will generate a manifest that includes:

   $localip = $ipaddress_eth0.212

...which is an invalid variable name and will cause Puppet to fail with an error.

Revision history for this message
Lars Kellogg-Stedman (larsks) wrote :
Revision history for this message
Lukáš Kubín (kukacz) wrote :

Simple replacing "." with "_" in interface name works for me. That's probably related to Facter (Puppet system config report tool) doing the same substitution.

For example replace

CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1.10

with

CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1_10

Changed in packstack:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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