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.
Reviewed: https:/ /review. opendev. org/653158 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f9eb685bee1 565906008894494 70b35c993cc4cf
Committed: https:/
Submitter: Zuul
Branch: master
commit f9eb685bee15659 0600889449470b3 5c993cc4cf
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: Ibd34b7f2401664 1bc251f85e6ea17 e8a969c3095
Closes-Bug: #1825034