Bug #3306
bond confuses network configuration
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-base | |||
Target version: | v6.7 | |||
Security class: | Resolution: | |||
Affected version: | v6.7 | NEEDINFO: | No |
Description
A bond makes the server-manager network page behave inconsistently.
Follow these steps to see the problem:
Follow these steps to see the problem:
- use a machine with at least two ethernet interfaces
- create a bond with two slaves
- go to the dashboard
- you'd see a yellow todo saying:
Assign role to network interface A role must be assigned to a new network card
Also the Network page add an option to delete one of the slaves.
And rebooting the server, the network reconfiguration triggers.
Associated revisions
eth-unmapped: handle bond interfaces. Refs #3306
Web UI: fix bond slave mac address. Refs #3306
History
#1 Updated by Filippo Carletti almost 6 years ago
Note: the bug affects also version 6.6.
The problem is that the /usr/libexec/nethserver/eth-unmapped uses mac addresses, but all slaves have the same mac.
Original mac can be found in /proc/net/bonding/bondX:
# grep HW /proc/net/bonding/bond0 Permanent HW addr: 08:00:27:6a:67:ae Permanent HW addr: 08:00:27:e9:86:08
#2 Updated by Giacomo Sanchietti over 5 years ago
- Category set to nethserver-base
- Status changed from NEW to TRIAGED
- Target version set to v6.7
- % Done changed from 0 to 20
#3 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#4 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#5 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Package in nethserver-testing:
- nethserver-base-2.9.4-1.2.g1fb355d.ns6.noarch.rpm
- Configure a bond, check the Dashboard display the wrong message
- Update the package
- Check the wrong message is gone
- After test case 1
- Reboot the machine
- Check the system doesn't require network reconfiguration
- On a Virtual Machine (VM), add a new ethernet and configure it with a orange or blue role
- Shutdown the VM, change the mac address of the ethernet
- After the boot, check the system requires network reconfiguration for the missing ethernet card
- After test case 2
- Shutdown the VM, change the mac address of a ethernet which is part of the bond
- After the boot, check the system requires network reconfiguration for the missing ethernet card
- You should ignore the message and be able to reconfigure the bond from the web interface
#6 Updated by Nicola Rauso over 5 years ago
- Assignee set to Nicola Rauso
#7 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from ON_QA to TRIAGED
- Assignee deleted (
Nicola Rauso) - % Done changed from 70 to 20
The bug also affects /usr/libexec/nethserver/nic-info
script which is used from the web interface.
#8 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#9 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#10 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
Package in nethserver-testing:
- nethserver-base-2.9.4-1.3.g0f32b41.ns6.noarch.rpm
- Configure a bond, check the Dashboard display the wrong message
- Update the package
- Check the wrong message is gone
- After test case 1
- Reboot the machine
- Check the system doesn't require network reconfiguration
- On a Virtual Machine (VM), add a new ethernet and configure it with a orange or blue role
- Shutdown the VM, change the mac address of the ethernet
- After the boot, check the system requires network reconfiguration for the missing ethernet card
- After test case 2
- Shutdown the VM, change the mac address of a ethernet which is part of the bond
- After the boot, check the system requires network reconfiguration for the missing ethernet card
- You should ignore the message and be able to reconfigure the bond from the web interface
- Check all interfaces are correctly displayed inside the "Network" page
#11 Updated by Nicola Rauso over 5 years ago
- Assignee set to Nicola Rauso
#12 Updated by Nicola Rauso over 5 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
Nicola Rauso) - % Done changed from 70 to 90
Tested all cases: OK
Test case 1Test case 2
- Configure a bond, check the Dashboard display the wrong message
- Update the package
- Check the wrong message is gone
Test case 3
- After test case 1
- Reboot the machine
- Check the system doesn't require network reconfiguration
Test case 4
- On a Virtual Machine (VM), add a new ethernet and configure it with a orange or blue role
- Shutdown the VM, change the mac address of the ethernet
- After the boot, check the system requires network reconfiguration for the missing ethernet card
Test case 5
- After test case 2
- Shutdown the VM, change the mac address of a ethernet which is part of the bond
- After the boot, check the system requires network reconfiguration for the missing ethernet card
- You should ignore the message and be able to reconfigure the bond from the web interface
- Check all interfaces are correctly displayed inside the "Network" page
#13 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
Released in nethserver-updates:
- nethserver-base-2.9.5-1.ns6.noarch.rpm