-
Notifications
You must be signed in to change notification settings - Fork 553
TestBGPAgentRUD / TestBGPAgentCRUD fails regularly #3380
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
Comments
I discussed this on IRC. From the sounds of it, the test is wrong: we should either (a) be using the static scheduler and creating the association manually or (b) using the chance (dynamic) scheduler and not deleting the association. I'm guessing this only every passed when we won the race between us checking that the association had been deleted and the scheduler recreating it. I have pushed a docs fix to neutron's api-ref to reflect this https://review.opendev.org/c/openstack/neutron-lib/+/949744 I'll work on a fix here now. |
Change our deployment so that we use the static scheduler, and rework the test to handle this. Instead of waiting for the speaker to be associated with an agent (which won't happen with the static scheduler) we now jump straight to assigning it. Signed-off-by: Stephen Finucane <[email protected]> Closes: gophercloud#3380
If there is only a single agent, I cannot think of a useful scenario where a speaker would not be scheduled to it, so what your test is doing is a bit weird in practical terms. A more realistic scenario would be having two agents, a speaker that is originally scheduled to agent1, and a test that adds the speaker to agent2 and then removes it from agent1. this should work independently of the scheduler being used, but you'd need to set up a multinode devstack deployment for it to work |
Change our deployment so that we use the static scheduler, and rework the test to handle this. Instead of waiting for the speaker to be associated with an agent (which won't happen with the static scheduler) we now jump straight to assigning it. Signed-off-by: Stephen Finucane <[email protected]> Closes: gophercloud#3380 (cherry picked from commit 669a870)
We often see this test failing in CI due to a timeout while polling for a speaker to be removed from the agent. For example see the logs below from this run. This is almost certainly a bug with neutron. Reporting here so that we have somewhere to track this.
The text was updated successfully, but these errors were encountered: