-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/openstack: 409 Response on Member Create #10875
Conversation
@mrantipyrine I think this should fix the problem. It's really hard for me to recreate the situation where this would happen, so I'm flying a little blind. Are you able to build from source with this patch and confirm? Let me know if you'd need some help. |
So far so good but I made one change Prior to this change I was still seeing this still frequently:
I'll do more testing in the morning. |
Ah, if you want to change I recommend just leaving the Edit: err... I misread again. That's totally bizarre that you're seeing that error. Let me know if changing Thanks for testing this, by the way :) |
The problem still seems to be happening when the number of lb_members in a particular pool is > 4; anything <= 4 is working works without issue.
|
hm... I wonder if that error is being triggered somewhere else. Can you post the debug output to a gist? |
Thanks for looking into this so quickly :) |
No problem at all. The gist helped a lot -- the error is being triggered here and not in the I just pushed a new commit that I think catches the 409 in the right spot. This is the first time I've used the |
So far it looks to be working! I'm going to run 20-30 more build/destroys to see if the error pops up again. |
I left a loop running overnight and came in to see the problem still occurring but it appears with less frequency
Additionally I am also seeing timeouts errors that I was not seeing before but this most certainly on my end |
I wonder if the error is happening after 2 minutes of trying. If you'd like to do some more testing, maybe increase the time to 10 minutes and let it run for a while. Unfortunately it's not possible to dynamically specify a timeout -- it has to be hard-coded. |
I've been running with a 5 minute timeout on a constant loop for the last 5 hours and have not seen the error since. It think it's safe to say this fixed the issue. The one thing I forgot to mention is that older version of Neutron will return a 500 when in a |
This commit accounts for a 409 response when a LBaaS v2 member is being created. Rather than error out, this should be considered a pending state.
9681cd6
to
b2417ce
Compare
That's great news! I just pushed a final commit that should be good to go. If you'd like to give it one last shot, I'd really appreciate it. |
I have the new changes built and will start testing in the next hour or so. :) |
I've done 40+ builds/destroys and not a single one failed because of the PENDING state. I think we're good. |
That's awesome news! Thank you very much for your help with this. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This commit accounts for a 409 response when a LBaaS v2 member is
being created. Rather than error out, this should be considered a
pending state.
Fixes #10852