Listing instances with a marker doesn't nix the marker if it's found in build_requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann | ||
Newton |
Fix Committed
|
High
|
Matt Riedemann | ||
Ocata |
Fix Committed
|
High
|
Matt Riedemann | ||
Pike |
Fix Committed
|
High
|
Matt Riedemann |
Bug Description
When listing instances, we start with the build requests and then hit the cells.
If we're given a marker, we use it to trim the build_requests:
https:/
But normally if you're looking for a marker and don't find it, that get_by_filters code should raise MarkerNotFound to indicate to the caller that you asked to filter with a marker which isn't here.
If we got results back from build_requests with a marker, then the compute API get_all() method should null out the marker and continue filling the limit in the cells, like what we'd do here:
https:/
And this is how it's handled within a cell database:
https:/
This code was introduced in https:/ /review. openstack. org/#/c/ 356137/ in newton so we'd have to backport that far if we can before newton end of life.