Bug 2140988

Summary: 17.1 - Update instance host and task state when post live migration fails
Product: Red Hat OpenStack Reporter: Amit Uniyal <auniyal>
Component: openstack-novaAssignee: Amit Uniyal <auniyal>
Status: CLOSED ERRATA QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: alifshit, dasmith, eglynn, igallagh, jhakimra, kchamart, mgeary, sbauza, sgordon, smooney, vromanso
Target Milestone: gaKeywords: Patch, Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-23.2.3-1.20230112160825.4f9a306.el9ost Doc Type: Bug Fix
Doc Text:
Before this update, a live migration might fail because the database did not update with the destination host details. + With this update, the instance host value in the database is set to the destination host during live migration.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:12:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amit Uniyal 2022-11-08 10:39:59 UTC
This bug was initially created as a copy of Bug #1742436

I am copying this bug because: 



This bug was initially created as a copy of Bug #1636102

I am copying this bug because: 



Update instance host and task state when post live migration fails

If a live migration fails during the post processing it can lead to
the instance being shutdown on the source node and left in a migrating
task state. The instance is now running on the target node so the
instance host and task state should be updated.

Comment 17 errata-xmlrpc 2023-08-16 01:12:28 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.1 (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-2023:4577