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
@Teresa, @Ghada
By checking the code, this error is generated when validate the cluster network configuration (stx-config\ configutilities \configutilitie s\configutiliti es\common\ validator. py)
Due to LAG_MODE=2 is not in supported mode list [1, 4], with code as below:
validate_cluster() network. logical_ interface. lag_interface:
supported_ lag_mode = [1, 4] 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) )
{
...
if self.cluster_
if (self.cluster_
and config.ini is configured as
[CLUSTER_NETWORK]
CIDR = 192.168.206.0/24
LOGICAL_INTERFACE = LOGICAL_INTERFACE_2
[LOGICAL_ INTERFACE_ 2] LINK_CAPACITY= 10000
LAG_INTERFACE = Y
LAG_MODE = 2
INTERFACE_MTU = 9216
INTERFACE_PORTS = ens787f1,ens787f2
INTERFACE_
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])?