Bug 1456718

Summary: [OSP10] Instance live migration fails to DST host when instance got evacuated previously from DST host
Product: Red Hat OpenStack Reporter: Martin Schuppert <mschuppe>
Component: openstack-novaAssignee: Lee Yarwood <lyarwood>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 10.0 (Newton)CC: berrange, brault, bshephar, dasmith, eglynn, gkumar, jbiao, jraju, kchamart, lyarwood, mbooth, mschuppe, ndipanov, nlevinki, pablo.iranzo, peli, pkundal, pmannidi, randy_perryman, rcernin, sbauza, sgordon, sknauss, srevivo, stephenfin, vromanso, wchoi, yeylon
Target Milestone: z11Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-nova-14.1.0-38.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1309398
: 1663911 (view as bug list) Environment:
Last Closed: 2019-04-30 16:59:16 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: 1663913    
Bug Blocks: 1476902    

Comment 1 Red Hat Bugzilla Rules Engine 2017-05-30 08:27:03 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 2 Martin Schuppert 2017-05-30 08:29:50 UTC
This behavior is still present on OSP10

0) start instance on compute1
1) poweroff compute1
2) evacuate to compute2
3) poweron compute1
4) live migrate from compute2 to compute1
=> migration fails with 
2017-05-30 02:47:49.323 1014 ERROR oslo_messaging.rpc.server DestinationDiskExists: The supplied disk path (/var/lib/nova/instances/2dd1b50e-efbf-4d7d-b680-a96e42f8c97c) already exists, it is expected not to exist.

5) (workaround) live migrate again from compute2 to compute1
=> successful migration 
$ nova show test
+--------------------------------------+----------------------------------------------------------+
| Property                             | Value                                                    |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                   |
| OS-EXT-AZ:availability_zone          | nova                                                     |
| OS-EXT-SRV-ATTR:host                 | osp10-compute1                                           |
| OS-EXT-SRV-ATTR:hostname             | test                                                     |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | osp10-compute1                                           |

Comment 49 errata-xmlrpc 2019-04-30 16:59:16 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/RHBA-2019:0923