nova client servers.list crashes with bad marker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Incomplete
|
Medium
|
Unassigned | ||
python-novaclient |
Fix Released
|
Medium
|
Matt Riedemann |
Bug Description
We have a python script that called servers.list() on an instance of novaclient.
Our call:
client = nova_client.
client.
Observed Stacktrace:
File "/usr/lib/
all_servers = self.nova.
File "/usr/lib/
"servers")
File "/usr/lib/
resp, body = self.api.
File "/usr/lib/
return self.request(url, 'GET', **kwargs)
File "/usr/lib/
raise exceptions.
BadRequest: marker [6a91d602-
Discussion:
We have a lot of stacks and we sometimes create multiple stacks at the same time. We've noticed that that the stacks with the mentioned UUIDs were created just before these errors occur. It seems that when a newly-created stack appears at a certain location in the server list, its UUID is used as a marker, but the code that validates the marker does
not recognize such stacks.
Relevant versions:
- python-novaclient (9.1.0)
- nova (16.0.0)
description: | updated |
Changed in python-novaclient: | |
assignee: | nobody → Surya Seetharaman (tssurya) |
Changed in nova: | |
assignee: | Surya Seetharaman (tssurya) → nobody |
assignee: | nobody → Surya Seetharaman (tssurya) |
Changed in nova: | |
assignee: | Surya Seetharaman (tssurya) → nobody |
assignee: | nobody → Matt Riedemann (mriedem) |
seems this is a python nova client issue ?