Project

General

Profile

Bug #10607

bonding on ubuntu causes foreman to create an interface after each ubuntu server reboot

Added by E E over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Network
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

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

Related to Foreman - Bug #10546: Reduce the number of interfaces duplicatesDuplicate2015-05-19
Related to Foreman - Bug #10888: duplicate interfaces when using bond deviceClosed2015-06-20
Related to Foreman - Bug #10805: VLAN interface attached to bond is wrongly created as BondClosed2015-06-13

Associated revisions

Revision 7be20b24 (diff)
Added by Marek Hulán over 5 years ago

Fixes #10607 - match bonds based on identifier only

Revision d548d0ed (diff)
Added by Marek Hulán over 5 years ago

Fixes #10607 - match bonds based on identifier only

(cherry picked from commit 7be20b248502eb8682008e1c6b03fef71da4f73d)

Revision a0f78f20 (diff)
Added by Marek Hulán over 5 years ago

Fixes #10607 - match bonds based on identifier only

(cherry picked from commit 7be20b248502eb8682008e1c6b03fef71da4f73d)

History

#1 Updated by Dominic Cleal over 5 years ago

  • Category set to Network

#2 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 56

#3 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) deleted (56)

#4 Updated by The Foreman Bot over 5 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 5 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 5 years ago

  • Related to Bug #10546: Reduce the number of interfaces duplicates added

#7 Updated by Marek Hulán over 5 years ago

  • Related to Bug #10888: duplicate interfaces when using bond device added

#8 Updated by Marek Hulán over 5 years ago

  • Related to Bug #10805: VLAN interface attached to bond is wrongly created as Bond added

#9 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) set to 62

#10 Updated by Marek Hulán over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#11 Updated by Marek Hulán about 5 years ago

  • Bugzilla link set to 1274325

Also available in: Atom PDF