Puppet Interpolation error occurs when different network interfaces are used in the setup

Bug #1328611 reported by Shweta P
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
New
Undecided
Unassigned

Bug Description

The build node in my setup has ethX network interfaces. The openstack servers when installed come up with p4p network interfaces.

In the compressed ha setup bind interface in user.common.yaml, should be set to the local network interface in the server.
The config looks like this

mysql::server::override_options:
  mysqld:
    bind-address: "%{ipaddress_p4p1}"

When we do a puppet apply, I see the following error(Possibly because the build node has no p4p interfaces)

Error: Could not run: Interpolation for ipaddress_p4p1 failed

Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Is biosdevname installed on the machine when you see this? If not, does installing it make facter work better? I'm wondering if facter can handle biosdevname naming in 3.2 (it apparently can't without biosdevname installed, but I'm wondering if it can even with it). Otherwise, I would suggest avoiding biosdevnames. Per discussion earlier, this doesn't seem to be the default on 14.04 server installs and may only come into play if NetworkManager is used.

Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Also, as a workaround you can disable Common Network Device Naming (aka biosdevnames) at boot time by adding this to your kernel boot string:

net.ifnames=1 biosdevname=0

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.