image.find_image hangs on a far away cloud with lots of images when searching by ID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
New
|
Undecided
|
Unassigned |
Bug Description
hello!
A cloud I use currently lists 429 images, and is about 230ms RTT to/from me.
Using openstacksdk 0.6.2, auth and some simple calls all work successfully, eg:
* conn.image.images()
* conn.compute.
Finding an image by name works too, eg
* conn.image.
However, using find_image with an ID eg:
image = conn.image.
it hangs and never recovers.
I've pulled out wireshark in an attempt to see what it's doing while it's sitting there.
Of course, it's all encrypted, but what I see is:
* Get /v1/images/
* 83 seconds of packets back and forth between the glance API endpoint and the client
* a single packet from the keystone server
* no further traffic
After this 90 seconds or so from when the call was first run, the call is still there hanging.
Hey Tom. It's possible the code causing this bug was recently completely replaced when the SDK switched to using keystoneauth.
Can you please try this again with version 0.7.1 and see if the situation has improved?