Bug #10607
bonding on ubuntu causes foreman to create an interface after each ubuntu server reboot
Description
When configuring bonding on ubuntu, ubuntu will generate a new mac address each time the server (network?) is restarted. This causes foreman to list multiple interfaces with same name (bondx) but with different mac address. Trying to delete the unused interfaces fails and rebuild of the server is not possible.
To reproduce:
1. Install a ubuntu server with foreman.
2. Configure a bond interface on ubuntu (Im doing this in puppet).
3. Reboot ubuntu multiple times to get multiple interfaces listed in forman.
4. Delete one of those interfaces (FAIL).
Workaround is to manually configure a mac address for the bond interface.
Related issues
Associated revisions
Fixes #10607 - match bonds based on identifier only
(cherry picked from commit 7be20b248502eb8682008e1c6b03fef71da4f73d)
Fixes #10607 - match bonds based on identifier only
(cherry picked from commit 7be20b248502eb8682008e1c6b03fef71da4f73d)
History
#1
Updated by Dominic Cleal almost 8 years ago
- Category set to Network
#2
Updated by Dominic Cleal almost 8 years ago
- Legacy Backlogs Release (now unused) set to 56
#3
Updated by Dominic Cleal almost 8 years ago
- Legacy Backlogs Release (now unused) deleted (
56)
#4
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2488 added
- Pull request deleted (
)
#5
Updated by Marek Hulán over 7 years ago
- Assignee set to Marek Hulán
For bonds it seems to make sense to match based on identifier and ignore MAC.
#6
Updated by Marek Hulán over 7 years ago
- Related to Bug #10546: Reduce the number of interfaces duplicates added
#7
Updated by Marek Hulán over 7 years ago
- Related to Bug #10888: duplicate interfaces when using bond device added
#8
Updated by Marek Hulán over 7 years ago
- Related to Bug #10805: VLAN interface attached to bond is wrongly created as Bond added
#9
Updated by Dominic Cleal over 7 years ago
- Legacy Backlogs Release (now unused) set to 62
#10
Updated by Marek Hulán over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 7be20b248502eb8682008e1c6b03fef71da4f73d.
#11
Updated by Marek Hulán over 7 years ago
- Bugzilla link set to 1274325
Fixes #10607 - match bonds based on identifier only