Comment 12 for bug 1825034

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

Reviewed: https://review.opendev.org/653158
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f9eb685bee156590600889449470b35c993cc4cf
Submitter: Zuul
Branch: master

commit f9eb685bee156590600889449470b35c993cc4cf
Author: Matt Riedemann <email address hidden>
Date: Tue Apr 16 17:47:08 2019 -0400

    Exclude fake marker instance when listing servers

    The fill_virtual_interface_list online data migration added
    in Stein creates a fake instance marker record without some
    fields (like flavor) which will fail to load and result in
    a 500 error when listing deleted servers across all tenants:

      openstack server list --all-projects --deleted

    This fixes the issue by excluding the specific fake marker
    instance when listing servers in the API.

    This admittedly isn't great but it's one of many not-so-great
    options (listed in the bug) and also something that we'll
    eventually remove when we drop the online data migration.

    Change-Id: Ibd34b7f24016641bc251f85e6ea17e8a969c3095
    Closes-Bug: #1825034