Reviewed: https://review.openstack.org/624870 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2ef704cba619a149336692311c2614742aa32909 Submitter: Zuul Branch: master
commit 2ef704cba619a149336692311c2614742aa32909 Author: Andrey Volkov <[email protected]> Date: Wed Dec 12 09:11:17 2018 +0300 Exclude build request marker from server listing When listing "real" (already in cell) instances e.g. from nova_cell1.instances table, a marker option means "start after the instance with marker". For VMs: | uuid | name | | 1 | vm1 | | 2 | vm2 | "openstack server list --marker 1" returns vm2 only. But for VMs from nova_api.build_requests table it's different. For VMs: | uuid | name | | 1 | vm1 | | 2 | vm2 | "openstack server list --marker 1" returns both vm1 and vm2. This patch excludes instance with marker from listing for instances from build_requests table. Closes-Bug: #1808286 Change-Id: I5165b69f956fbf1904112a742698b2739f747e72 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1808286 Title: Inconsistent behavior for the marker option for instances and build requests Status in OpenStack Compute (nova): Fix Released Status in OpenStack Compute (nova) ocata series: Triaged Status in OpenStack Compute (nova) pike series: Triaged Status in OpenStack Compute (nova) queens series: Triaged Status in OpenStack Compute (nova) rocky series: Triaged Bug description: When --marker is used for instances it skips instance with marker http://ix.io/1vU9. For build request instances --marker option includes instance with marker http://ix.io/1vUa. It's hard to catch moment with build request available and I used the following sql to emulate build request presence http://ix.io/1vUb To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1808286/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

