Issue #2414 has been reported by Kurt Keller.
----------------------------------------
Bug #2414: errors when alias IP's are defined
http://projects.reductivelabs.com/issues/2414
Author: Kurt Keller
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Trivial
Keywords: Device "eth0:1" does not exist.
When an alias IP is set on an interface, there are error messages on each run
of factor.
sample:
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1E:68:2F:2C:FC
inet addr:10.0.47.64 Bcast:10.0.47.255 Mask:255.255.248.0
inet6 addr: fe80::21e:68ff:fe2f:2cfc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4855639 errors:0 dropped:0 overruns:0 frame:0
TX packets:1204922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:522406037 (498.2 MiB) TX bytes:252533731 (240.8 MiB)
eth0:1 Link encap:Ethernet HWaddr 00:1E:68:2F:2C:FC
inet addr:10.0.46.217 Bcast:10.0.47.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[cut]
# facter
Device "eth0:1" does not exist.
Device "eth0:1" does not exist.
Device "eth0:1" does not exist.
Device "eth0:1" does not exist.
Device "eth0:1" does not exist.
architecture => x86_64
[cut]
The problem is that the alias interface name is used to run '/sbin/ip link
show' /sbin/ip does complain. The culprit is in util/ip.rb, function
self.get_bonding_master.
The attached patch resolves the issue (at least for us) by checking for a colon
in the interface name and returning if one is found. As far as I know, bonding
can never be on an alias interface.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---