Takashi Natsume <[email protected]> writes: > In some compute REST APIs, it returns the 'marker' parameter > in their pagination. > Then users can specify the 'marker' parameter in the next request.
How is this possible? The only way we would get the marker is if we either (a) listed the mappings by project_id, using INSTANCE_MAPPING_MARKER as the query value, or (b) listed all the mappings and somehow returned those to the user. I don't think (a) is a thing, and I'm not seeing how (b) could be either. If you know of a place, please write a functional test for it and we can get it resolves. In my proposed patch, I added a filter to ensure that this doesn't show up in the get_by_cell_id() query, but again, I'm not sure how this would ever be exposed to a user. https://review.openstack.org/#/c/567669/1/nova/objects/instance_mapping.py@173 --Dan __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
