Last active
January 7, 2019 21:52
-
-
Save nicolasochem/5a0da2986a751b03b0ccbd333608a130 to your computer and use it in GitHub Desktop.
openstack sdk bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I tried to update my openstack sdk version from 0.16.0 to latest (to test https://storyboard.openstack.org/#!/story/2004450). Something broke for me between 0.17.0 and 0.18.0. I am on openstack pike. | |
I can authenticate and get a token. I can then create a clouds object declaratively and perform queries directly. But I store the clouds object as an instance variable (self.clouds) in a flask app. When performing queries on the flask app, I call functions on this class, but it hangs. | |
This is what I see when I make a call directly: | |
Manager qcs:RegionOne running task network.GET.networks | |
TaskManager qcs:RegionOne queue size: 0) | |
REQ: curl -g -i -X GET http://mycompany.com:9696/v2.0/networks.json -H "User-Agent: openstacksdk/0.19.0 keystoneauth1/3.11.2 python-requests/2.21.0 CPython/3.6.7" -H "X-Auth-Token: {SHA256}snip" | |
Manager qcs:RegionOne ran task network.GET.networks in 0.0013360977172851562s | |
But later on, when I call the same function from a class function where the cloud object is stored as self.clouds, it hangs at: | |
Manager qcs:RegionOne running task network.GET.networks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment