-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Couldn't find non overlapping protected path' when restore broken ISL on protected path. #5608
Comments
Reproduced this issue in the test |
The issue is reproduced with switches 2-3.\ Here the main path has 1 ISL which is In this case, the main path ISL is broken, and the protected path ISL is UP and has enough bw to keep the flow, so the test is not failing with "Not enough bandwidth or no path found." since the BW is enough. Please see the picture. However, in this case, the new protected path (earlier it was the main path before the swap) ISL is red because it is broken, so a new protected path cannot be found. And the test fails because the flow status is degraded due to the other reason. |
Implements #5390 Related to #5608 * Fixed the test "Flow swaps to protected path when main path gets broken, becomes DEGRADED if protected path is unable to reroute(no bw)" * Earlier in some cases when the switchPair was set to 2-3 or 8-9, the protected path had only 1 ISL and it had enough BW, so the test failed because the BW was not reduced for some protected path ISLs. * Now this test passes even when the swPair is 2-3 or 8-9, and other switches. So the temporary fix to skip 8-9 switches is removed.
I think, to fix the issue, we just need to include the protected path ISLs to the list for BW decreasing. Thus, protected path ISLs will have not enough bw and the test will pass. |
Implements #5390 Related to #5608 * Fixed the test "Flow swaps to protected path when main path gets broken, becomes DEGRADED if protected path is unable to reroute(no bw)" * Earlier in some cases when the switchPair was set to 2-3 or 8-9, the protected path had only 1 ISL and it had enough BW, so the test failed because the BW was not reduced for some protected path ISLs. * Now this test passes even when the swPair is 2-3 or 8-9, and other switches. So the temporary fix to skip 8-9 switches is removed. * Removed skip 8-9 switches workaround from the test "Flow swaps to protected path when main path gets broken, becomes DEGRADED if protected path is unable to reroute(no path)"
Implements #5390 Related to #5608 * Fixed the test "Flow swaps to protected path when main path gets broken, becomes DEGRADED if protected path is unable to reroute(no bw)" * Earlier in some cases when the switchPair was set to 2-3 or 8-9, the protected path had only 1 ISL and it had enough BW, so the test failed because the BW was not reduced for some protected path ISLs. * Now this test passes even when the swPair is 2-3 or 8-9, and other switches. So the temporary fix to skip 8-9 switches is removed. * Removed the workaround to skip 8-9 from 2 tests
Implements #5390 Related to #5608 Fixes #5653 * Fixed the test "Flow swaps to protected path when main path gets broken, becomes DEGRADED if protected path is unable to reroute(no bw)" * Earlier the otherIsls list was not correct since it contained some ISLs from the protected path. Now the otherIsls (not involved into mair or protected paths) list is correct and the “Couldn’t find non overlapping protected path” message is correct. * Removed the workaround to skip 8-9 from 2 tests
Implements #5390 Related to #5608 Fixes #5653 * Fixed the test "Flow swaps to protected path when main path gets broken, becomes DEGRADED if protected path is unable to reroute(no bw)" * Earlier the otherIsls list was not correct since it contained some ISLs from the protected path. Now the otherIsls (not involved into mair or protected paths) list is correct and the “Couldn’t find non overlapping protected path” message is correct. * Removed the workaround to skip 8-9 from 2 tests
Currently our automated test "ProtectedPathSpec.Unable to swap paths for an inactive flow()" fails each time when we use switches 8 and 9 as switch pair (for some reason, the rest works ok).
At some moment of test (after the step
when: "Restore ISL for the protected path"
) both protected and main paths are up, but the flow stays inDegraded
state with error :Couldn't find non overlapping protected path. Skipped creating it
:Flow history entries:
Workaround: flow goes into 'Up' state when we try to reroute the flow manually.
The text was updated successfully, but these errors were encountered: