Bug 1943559 - nova-compute tries to delete local instance after restart because it think that this instance was evacuated
Summary: nova-compute tries to delete local instance after restart because it think th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 13.0 (Queens)
Hardware: All
OS: All
medium
medium
Target Milestone: beta
: 17.0
Assignee: Lee Yarwood
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks: 1959775
TreeView+ depends on / blocked
 
Reported: 2021-03-26 12:43 UTC by Alex Stupnikov
Modified: 2023-03-21 19:41 UTC (History)
9 users (show)

Fixed In Version: openstack-nova-23.0.3-0.20210908140341.e39bbdc.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1959775 (view as bug list)
Environment:
Last Closed: 2022-09-21 12:14:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1922053 0 None None None 2021-03-31 16:59:16 UTC
OpenStack gerrit 784129 0 None MERGED Add regression test for bug #1922053 2023-07-26 09:59:56 UTC
OpenStack gerrit 784130 0 None MERGED api: Reject requests to force up computes when `done` evacuation records exist 2023-07-26 09:59:56 UTC
Red Hat Issue Tracker OSP-1417 0 None None None 2022-04-13 20:04:18 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:15:41 UTC

Description Alex Stupnikov 2021-03-26 12:43:19 UTC
Description of problem:

Hello.

We have a customer running pretty old RHOSP 13.0.4 deployment and facing the following problem (in my interpretation):

- customer executed overcloud deployment command, which caused nova-compute restart
- nova.compute.manager:_destroy_evacuated_instances function analyzed list of local instances and tried to delete one of them (instance is still up and running on this compute node).

I have tried to compare appropriate code in RHOSP 13.0.4 and latest RHOSP 13 nova and couldn't huge differences [1], so decided to report this bug instead of asking customer to follow minor upgrade steps.

I will provide a summary about affected instance and related log messages privately.

[1]
https://github.com/openstack/nova/blob/stable/queens/nova/compute/manager.py#L633-L755

Comment 18 errata-xmlrpc 2022-09-21 12:14:53 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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-2022:6543


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