Comment 5 for bug 1808286

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/rocky)

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.

    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
    (cherry picked from commit 2ef704cba619a149336692311c2614742aa32909)