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 address hidden> 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.
"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
Reviewed: https:/ /review. openstack. org/624870 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2ef704cba61 9a149336692311c 2614742aa32909
Committed: https:/
Submitter: Zuul
Branch: master
commit 2ef704cba619a14 9336692311c2614 742aa32909
Author: Andrey Volkov <email address hidden>
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 cell1.instances table, a marker option means "start after the
nova_
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 1904112a742698b 2739f747e72
Change-Id: I5165b69f956fbf