Bug #13092
closed802.3ad bonding setup doesn't work correctly
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1288420
Description of problem:
Creating a bonded interface with 802.3ad in Satellite 6.1.3 does not deploy correctly. We expect to see a bond0 interface with a number of bond0.101, bond0.102 etc interfaces.
We try to create a bond0 which incorporates two devices, enp12s0f1 and enp22s0. Bonding options are deployed correctly. We use the MAC of the first interface, enp12s0f1 in the Sat 6 interface. When the host comes up after re-provisioning it sometimes creates a ifcfg-enp12s0f1.101 file or sometimes a ifcfg-.101 file.
Version-Release number of selected component (if applicable):
Satellite 6.1.3
Actual results:
The host comes up after re-provisioning it sometimes creates a ifcfg-enp12s0f1.101 file or sometimes a ifcfg-.101 file.
Expected results:
The host to have the configured bond options
Additional info:
We are wanting to deploy an OSP 7 environment using these network bonds so this will shortly be a blocker in doing so.
Customer worked around the issue by doing:
1) Making up a MAC address for the bond interface, something entirely bogus and then re-using that same MAC for the VLAN interfaces rendered us a kickstart that looks better.
Making up a MAC adress got us the bond created but then, adding VLAN:s on top of the bond fails as the snippet is doing a grep for the made-up MAC in the output of 'ip -l'
Next workaround was to acutally fix-up the broken config files for the VLANs
2) The workaround we used was to following patch against kickstart_network_setup
Do note that I doubt the workaround is generic enough to be used a generic solution
diff --git a/Satellite6/OSP7/templates/snippets/kickstart_network_setup_RH1544500.erb b/Satellite6/OSP7/templates/snippets/kickstart_network_setup_RH1544500.erb index 0bf4ccc..00d2ab5 100644 --- a/Satellite6/OSP7/templates/snippets/kickstart_network_setup_RH1544500.erb +++ b/Satellite6/OSP7/templates/snippets/kickstart_network_setup_RH1544500.erb @@ -114,6 +114,7 @@ real=`ip -o link | grep <%= interface.mac -%> | awk '{print $2;}' | sed s/:$//` <% if virtual -%> real=`echo <%= interface.identifier -%> | sed s/<%= interface.attached_to -%>/$real/` <% end -%> +real="<%= interface.identifier -%>" # ifcfg files are ignored by NM if their name contains colons so we convert colons to underscore <% if alias_type -%>
Updated by Marek Hulán over 7 years ago
- Target version changed from 115 to 1.13.4
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman/pull/4583 added
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.13.4 to 1.14.0
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.14.0 to 1.14.3
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.14.3 to 1.17.0-RC2
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.17.0-RC2 to 1.18.0-RC2
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.18.0-RC2 to 214
Updated by Marek Hulán over 7 years ago
- Target version changed from 214 to 1.16.0-RC2
Updated by Marek Hulán about 7 years ago
- Target version changed from 1.16.0-RC2 to 1.16.0-RC1
Updated by Marek Hulán about 7 years ago
- Target version changed from 1.16.0-RC1 to 1.16.2
Updated by Marek Hulán about 7 years ago
- Target version changed from 1.16.2 to 1.16.1
Updated by Marek Hulán about 7 years ago
- Target version changed from 1.16.1 to 238
Updated by Marek Hulán almost 7 years ago
- Translation missing: en.field_release set to 330
Updated by Marek Hulán almost 7 years ago
- Pull request https://github.com/theforeman/community-templates/pull/402 added
Updated by Anonymous almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 89380cc2b28dd63112d0e3a3952f709807d0171b.
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman/pull/5168 added
Updated by Ondřej Pražák over 6 years ago
- Related to Bug #24753: Deploying bonds and vlans does not work correctly added