Comment 9 for bug 1819738

Revision history for this message
Le, Huifeng (hle2) wrote :

@Teresa, @Ghada

By checking the code, this error is generated when validate the cluster network configuration (stx-config\configutilities\configutilities\configutilities\common\validator.py)

Due to LAG_MODE=2 is not in supported mode list [1, 4], with code as below:

validate_cluster()
{
...
   if self.cluster_network.logical_interface.lag_interface:
            supported_lag_mode = [1, 4]
            if (self.cluster_network.logical_interface.lag_mode not in
                    supported_lag_mode):
                raise ConfigFail(
                    "Unsupported LAG mode (%d) for %s interface"
                    " - use LAG mode %s instead" %
                    (self.cluster_network.logical_interface.lag_mode,
                     cluster_prefix, supported_lag_mode))

and config.ini is configured as
[CLUSTER_NETWORK]
CIDR = 192.168.206.0/24
LOGICAL_INTERFACE = LOGICAL_INTERFACE_2

[LOGICAL_INTERFACE_2]
LAG_INTERFACE = Y
LAG_MODE = 2
INTERFACE_MTU = 9216
INTERFACE_PORTS = ens787f1,ens787f2
INTERFACE_LINK_CAPACITY=10000

So "LAG_MODE = 2 is not supported" is by design or a real bug (e.g. supported_lag_mode should be [1, 2, 4] instead of [1, 4])?