Closed yuliiamir closed 6 months ago
It is a bug in the server42 code.
Default max logical port numbe is 2999 https://github.com/telstra/open-kilda/blob/03bb40316725d10e343c8df1baae82b5b177331d/src-java/swmanager-topology/swmanager-storm-topology/src/main/java/org/openkilda/wfm/topology/switchmanager/SwitchManagerTopologyConfig.java#L81
Pablo decreased count of port numbers in metadata from 4096 to 2048 here https://github.com/telstra/open-kilda/pull/5353/files#diff-ccc74053a5cf5eb6fbd479a191365bf1f72d0e2cd74d880cfaa0a4184786018aR40
KIlda pick a port number 2396 which is out of range [0, 2047] but fits in max port value 2999
That is why Kilda raised the error. @pablomuri Please take a look
The issue has been caught during testing server42-related changes. The flow creation has been failed due to the error:
java.lang.IllegalArgumentException: Invalid inputPort 2396. Valid range [0, 2047]
STR:To reproduce this issue run TC: Rtt statistic is available for a flow on a LAG port *sometimes test passes when LAG port is in the range