-
Notifications
You must be signed in to change notification settings - Fork 101
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
Does not handle http 302 response in get_api_version_list #393
Comments
This issue is same as #171 |
Hi @THUzxj I have been able to easily reproduce your issue on Devstack where the Neutron endpoint URL from the catalog redirects to a different URL with a 302 code. In this plugin implementation, we use REST Client to perform HTTP calls. According to the documentation, REST Client is supposed to follow redirections as a default behavior. It took me a couple of hours to understand why it is not the case here. I finally figured out that when we give a I don't know if there is a good reason for that or if this is a bug in REST Client, I didn't deep dive into the code. I refactored our code to not use Ruby blocks, it does the trick. Feel free to test and review the PR #395 |
Hi, thanks for your great work.
My Neutron responses a 302 code when called
/networking
, but functionget_api_version_list
only handles code 200 and 300 and throws an error when getting this. I can offer to fix it.One temporary solution is to set the endpoint in
Vagrantfile
likeos.openstack_network_url = "http://neutron/networking/v2.0"
.The text was updated successfully, but these errors were encountered: