datanetwork and mgmtnet cannot be on same interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Triaged
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
Worker node has 2 10gbe ports. I want to create a bond interface and then create vlans on the bond for mgmt, vxlan datanet and vlan datanet.
Severity
--------
Minor: System/Feature is usable with minor issue
Steps to Reproduce
------------------
```
system host-if-delete worker-0 mgmt0
system host-if-add worker-0 -m 9216 -a 802.3ad -x layer2 bond0 ae eno1 eno2
system host-if-add worker-0 -V 10 -c platform mgmt0 vlan bond0
system interface-
system host-if-modify -m 9216 worker-0 mgmt0
system interface-
system datanetwork-add -m 9050 -g 239.0.0.1 -p 4789 -t 255 -M dynamic physgnet vxlan
system host-if-add worker-0 -m 9216 -V 20 -c data datag0 vlan bond0
system host-if-modify --ipv4-mode static worker-0 datag0
system host-addr-add worker-0 datag0 192.168.100.40 24
system interface-
system datanetwork-add physnet0 vlan
system host-if-add worker-0 -m 1500 -V 31 -c data data0 vlan bond0
system interface-
```
Expected Behavior
------------------
vxlan should work
vlan should work for range 31-31.
Actual Behavior
----------------
worker-0 unlocks ok and then goes into bootloop.
Reproducibility
---------------
100% reproducible on stx3.0
System Configuration
-------
Controller storage baremetal
Workaround
----------
Do not use bond for datanetwork.
Low priority - stx doesn't support configuring mgmt and data interfaces on the same physical interface.