-
Notifications
You must be signed in to change notification settings - Fork 286
🐛Fix Multi network support #984
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
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mdbooth The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test |
|
@mdbooth: The
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/test all |
|
Something doesn't look right here: the multi-network test appears to fail (successfully), but the suite reports that |
|
I took a quick look at test result, seems like a familiar pattern, I knew our test is tested in parellel so not sure it's affected by newly added test case.. let's give another try |
|
/test pull-cluster-api-provider-openstack-e2e-test |
|
I looked at the logs, and it's kinda interesting. We seem to get a different IP every time we reconcile an OpenStackMachine, so you see the logs full of deleting an LB member because its IP address changed and then failing to add a new one. However, eventually it picks the right one and succeeds. Each member will eventually come up, but it won't stay up. This is enough to make the create/delete cluster test pass, though. I don't want to over-complicate this test just to exercise a weird non-deterministic bug which we're about to fix. It's still a reasonable test IMHO, so I'll probably leave it. I might look at a unit test instead. |
|
/test pull-cluster-api-provider-openstack-e2e-test ok, let's give another try, and need check the logs you mentioned so that we can open an issue to track |
|
@mdbooth: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
It's ok, now that I think of it the behaviour is obvious and expected given the bug that we're already tracking in #926. This test is really just intended to reproduce that bug. It does reproduce it, but it still doesn't cause the test to fail. e.g. |
|
Closed in favour of #1004 |
What this PR does / why we need it:
Fixes multi-network support by making 'primary' IP selection deterministic.
Currently contains only an E2E test which reproduces the bug and therefore fails. Note that the current behaviour is non-deterministic, so it is possible the test may occasionally pass. It should usually fail, though.
Fixes #926
/hold