[openstack-dev] [nova] nova-manage cell_v2 map_instances uses invalid UUID as marker in the db
dms at danplanet.com
Thu May 10 18:52:40 UTC 2018
Takashi Natsume <natsume.takashi at lab.ntt.co.jp> 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.
More information about the OpenStack-dev