You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Nftables::Rule[default_fwd-bridge_br1:0_br1:0]: parameter 'rulename' expects a match for Nftables::RuleName = Pattern[/^[a-zA-Z0-9_]+-[a-zA-Z0-9_]+(-\d+)?$/], got 'default_fwd-bridge_br1:0_br1:0' (file: /etc/puppet/code/environments/production/modules/nftables/manifests/bridges.pp, line: 14) on node x.test
The root cause of this appears to be $facts['networking']['interfaces'] having multiple entries for the bridge device: br1, and br1:0. I understand this to be related to the multiple assigned IP addresses.
What behaviour did you expect instead
I expect the puppet run to succeed, and based what I think the intention of nftables::bridges is that default_fwd rules be added for the bridge device br1, but not br1:0. Please see attached output of facter networking.interfaces.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Add a bridge interface with two ip addresses, eg.
For the puppet code:
What are you seeing
Puppet runs fail with the following error:
The root cause of this appears to be
$facts['networking']['interfaces']having multiple entries for the bridge device:br1, andbr1:0. I understand this to be related to the multiple assigned IP addresses.What behaviour did you expect instead
I expect the puppet run to succeed, and based what I think the intention of
nftables::bridgesis that default_fwd rules be added for the bridge devicebr1, but notbr1:0. Please see attached output offacter networking.interfaces.Any additional information you'd like to impart
facter-networking.interfaces.txt
The text was updated successfully, but these errors were encountered: