Reviewed: https://review.openstack.org/626584 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3eb0ba988f4cfca4399c92cd6bb7b4ae8665720c Submitter: Zuul Branch: stable/rocky
commit 3eb0ba988f4cfca4399c92cd6bb7b4ae8665720c 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 (cherry picked from commit 2ef704cba619a149336692311c2614742aa32909)
Reviewed: https:/ /review. openstack. org/626584 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=3eb0ba988f4 cfca4399c92cd6b b7b4ae8665720c
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 3eb0ba988f4cfca 4399c92cd6bb7b4 ae8665720c
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 9336692311c2614 742aa32909)
Change-Id: I5165b69f956fbf
(cherry picked from commit 2ef704cba619a14