Bug 1702048 - [OSP 16] Build requests can be orphaned without instance mapping
Summary: [OSP 16] Build requests can be orphaned without instance mapping
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Upstream M2
: 16.0 (Train on RHEL 8.1)
Assignee: melanie witt
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
: 1712564 (view as bug list)
Depends On:
Blocks: 1703610 1703612 1703614 1761368
TreeView+ depends on / blocked
 
Reported: 2019-04-22 20:04 UTC by Andreas Karis
Modified: 2023-03-21 19:16 UTC (History)
14 users (show)

Fixed In Version: openstack-nova-20.0.1-0.20191025043858.390db63.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1703610 1703612 1703614 1761368 (view as bug list)
Environment:
Last Closed: 2020-02-06 14:40:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1784093 0 None None None 2019-04-24 15:13:53 UTC
OpenStack gerrit 586742 0 None MERGED Create request spec, build request and mappings in one transaction 2020-11-06 12:25:17 UTC
Red Hat Issue Tracker OSP-23446 0 None None None 2023-03-21 19:16:46 UTC
Red Hat Knowledge Base (Solution) 4079501 0 None None Nova instances stuck on BUILD/Scheduling in Red Hat OpenStack Platform 13 2019-04-22 20:04:32 UTC
Red Hat Knowledge Base (Solution) 4162521 0 Troubleshoot None Instances missing from Dashboard 2019-05-22 20:38:28 UTC
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:41:26 UTC

Description Andreas Karis 2019-04-22 20:04:00 UTC
Description of problem:
Please port the fix from https://bugs.launchpad.net/nova/+bug/1784093 to OSP 13

Version-Release number of selected component (if applicable):
OpenStack Platform 13

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

~~~
Inspection of the database showed that the "instance" had a build request but *no* instance mapping and *no* instance record in any cell. And the instance could not be deleted even though it appeared in the 'nova list' because the delete API first does a compute API().get in order to get the instance object to pass down to the compute API().delete method. The compute API().get fails with InstanceNotFound because the _get_instance method raises InstanceNotFound if there is no instance mapping for the instance.
~~~

Comment 6 melanie witt 2019-04-26 21:56:38 UTC
https://review.opendev.org/586742 has merged upstream.

Comment 7 David Hill 2019-05-22 20:32:18 UTC
This seems to trigger this behavior [1] where instances are not displayed in Horizon even though they are not in BUILD but as soon as one is hit, listing instances breaks.

[1] https://bugzilla.redhat.com/1712564

Comment 8 David Hill 2019-05-22 20:38:29 UTC
*** Bug 1712564 has been marked as a duplicate of this bug. ***

Comment 10 Andreas Karis 2019-07-29 13:34:59 UTC
Hi,

The customer requested some more traction with regards to this bug report. How long will it take before this makes it into OSP 16 and from there to 13?

Thanks,

Andreas

Comment 11 Andreas Karis 2019-10-14 09:20:31 UTC
Hi,

This BZ was a backport request for OSP 13. https://review.opendev.org/#/c/656031/

Comment 12 Andreas Karis 2019-10-14 09:21:39 UTC
Hi,

This BZ was a backport request for OSP 13. Did this involuntarily end up as triaged for OSP 16?  (see title and PM flag). 

We'd need https://review.opendev.org/#/c/656031/ in downstream OSP 13.

Thanks,

Andreas

Comment 13 Andreas Karis 2019-10-14 09:26:01 UTC
My bad, just saw https://bugzilla.redhat.com/show_bug.cgi?id=1703614

Comment 16 errata-xmlrpc 2020-02-06 14:40:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:0283


Note You need to log in before you can comment on or make changes to this bug.