Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1943559

Summary: nova-compute tries to delete local instance after restart because it think that this instance was evacuated
Product: Red Hat OpenStack Reporter: Alex Stupnikov <astupnik>
Component: openstack-novaAssignee: Lee Yarwood <lyarwood>
Status: CLOSED ERRATA QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: dasmith, eglynn, jhakimra, kchamart, lyarwood, sbauza, sgordon, vromanso, youngkim
Target Milestone: betaKeywords: Patch, Triaged
Target Release: 17.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-nova-23.0.3-0.20210908140341.e39bbdc.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1959775 (view as bug list) Environment:
Last Closed: 2022-09-21 12:14:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1959775    

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