Puppet Interpolation error occurs when different network interfaces are used in the setup
Bug #1328611 reported by
Shweta P
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::
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
To post a comment you must log in.
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.