-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
4.17
-
None
-
Moderate
-
None
-
False
-
Description of problem:
OpenShift Assisted Installer allows customers to use the form-based input mechanism to create a bond AND specify a VLAN tag/id, but the resulting output doesn't setup networking properly due to missing bond members (slave interfaces.) Using the form-based input to create a bond without specifying a VLAN works, and specifying a VLAN without creating a bond works, but the combination of VLAN + bond doesn't work. I can provide my own YAML that creates a VLAN + bond configuration, but form-based is easier for customers and should just work.
Version-Release number of selected component (if applicable):
How reproducible:
Use the Assisted Installer's form-based input to request a bond + VLAN configuration. Inspect the ISO for the bond's member interfaces, and observe that they're not created.
Steps to Reproduce:
1. Use the Assisted Installer's form-based input to request a bond + VLAN configuration. 2. Download the resulting discovery ISO. 3. Inspect the ISO contents looking for the bond's two member interfaces / slave interfaces. (/etc/assisted/network/host0/eth0.nmconnection & eth1.nmconnection)
Actual results:
$ podman run -it --rm --privileged -v $(pwd)/coreos-installer:/data quay.io/coreos/coreos-installer:release iso ignition show /data/e069c022-389f-484f-afaa-ad51b6e8ae37-discovery.iso | jq '.storage.files | .[] | .path' ...removed ~10 lines of other files... "/etc/assisted/network/host0/bond0.101.nmconnection" "/etc/assisted/network/host0/mac_interface.ini"
Expected results:
$ podman run -it --rm --privileged -v $(pwd)/coreos-installer:/data quay.io/coreos/coreos-installer:release iso ignition show /data/e069c022-389f-484f-afaa-ad51b6e8ae37-discovery.iso | jq '.storage.files | .[] | .path' ...removed ~10 lines of other files... "/etc/assisted/network/host0/bond0.101.nmconnection" "/etc/assisted/network/host0/eth0.nmconnection" # <--- bond member interface "/etc/assisted/network/host0/eth1.nmconnection" # <--- bond member interface "/etc/assisted/network/host0/mac_interface.ini"
Additional info:
I was forced to provide my own YAML in order to install OpenShift in my customer's data center. --- interfaces: # This YAML only applies to server-1 - name: eth0 type: ethernet state: up mac-address: 11:11:11:11:11:11 ### Change this lldp: enabled: true ipv4: enabled: false ipv6: enabled: false - name: eth1 type: ethernet state: up mac-address: 22:22:22:22:22:22 ### Change this lldp: enabled: true ipv4: enabled: false ipv6: enabled: false - name: bond0 type: bond state: up link-aggregation: mode: active-backup # Confirm this ports: - eth0 - eth1 lldp: enabled: true ipv4: enabled: false ipv6: enabled: false - name: bond0.101 type: vlan state: up ipv4: enabled: true dhcp: false address: - ip: 10.20.30.101 ### Change this prefix-length: 24 vlan: base-iface: bond0 id: 101 protocol: 802.1q dns-resolver: config: search: - example.com # Confirm this server: - 10.20.30.100 # Confirm this routes: config: - destination: 0.0.0.0/0 next-hop-address: 10.20.30.1 # Confirm this next-hop-interface: bond0.101 # Confirm this table-id: 254