When attempting to configure a network bond interface on a Bare Metal Edge server that uses Mellanox Network Interface Cards (NICs), the system is returning an error message. The error specifically indicates that the provided interface names (e.g., ethX-mlx, ethY-mlx) are considered an "Invalid value for argument ", where "members" refers to the NICs intended to serve as "bond slaves" within the aggregated interface.
This behavior is expected.
A built-in validation mechanism is in place to prevent Mellanox NICs from being used or reassigned as members within the bond0 interface.
To successfully configure a Mellanox NIC as a slave for bond0, it is necessary to first stop the datapath service. This is because the datapath implicitly claims these specific Mellanox NICs (ethX-mlx), preventing their reuse directly in bond0 due to an existing validation.
By stopping the datapath service, the Mellanox NIC is fully released back to the Linux operating system, where it will appear as a standard ethX interface, making it available for bonding.
Note: To stop the datapath service use the command: stop service dataplane
Reference Documents:
NSX-T configuring Edge bonds/Teaming/LACP
Install NSX Edge Automatically via ISO File