Bug 1481402

Summary: Live migration of instance with config disk fails in nova-migration-wrapper
Product: Red Hat OpenStack Reporter: Ollie Walsh <owalsh>
Component: openstack-novaAssignee: Ollie Walsh <owalsh>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: awaugama, berrange, dasmith, eglynn, jhakimra, jjoyce, jraju, kchamart, lyarwood, mbooth, owalsh, rcernin, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: z5Keywords: Regression, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-14.0.8-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1476332 Environment:
Last Closed: 2017-09-28 16:32:44 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: 1476332, 1481404    
Bug Blocks: 1481397, 1481400, 1602775    

Comment 3 Joe H. Rahme 2017-09-15 13:12:38 UTC
Verified by doing a live migration of an instance with a config drive attached:

[stack@undercloud-0 ~]$ nova boot --poll --flavor m1.tiny --image cirros --config-drive true --nic net-id=0c3be45e-5d19-4ff8-9f81-4354210650e0 

...
...

Server building... 100% complete
Finished
[stack@undercloud-0 ~]$ nova show testvm1
+--------------------------------------+----------------------------------------------------------+
| Property                             | Value                                                    |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                   |
| OS-EXT-AZ:availability_zone          | nova                                                     |
| OS-EXT-SRV-ATTR:host                 | compute-1.localdomain                                    |
| OS-EXT-SRV-ATTR:hostname             | testvm1                                                  |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute-1.localdomain                                    |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000002                                        |
| OS-EXT-SRV-ATTR:kernel_id            |                                                          |
| OS-EXT-SRV-ATTR:launch_index         | 0                                                        |
...
| config_drive                         | True                                                     |
...
| user_id                              | bdfe1c85f7da4ab584e8f55131e5f231                         |
+--------------------------------------+----------------------------------------------------------+
[stack@undercloud-0 ~]$ nova live-migration testvm1 compute-0.localdomain
[stack@undercloud-0 ~]$ nova show testvm1
+--------------------------------------+----------------------------------------------------------+
| Property                             | Value                                                    |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                   |
| OS-EXT-AZ:availability_zone          | nova                                                     |
| OS-EXT-SRV-ATTR:host                 | compute-0.localdomain                                    |
| OS-EXT-SRV-ATTR:hostname             | testvm1                                                  |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute-0.localdomain                                    |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000002                                        |
...
| config_drive                         | True                                                     |
...
| user_id                              | bdfe1c85f7da4ab584e8f55131e5f231                         |
+--------------------------------------+----------------------------------------------------------+
[stack@undercloud-0 ~]$

Comment 5 errata-xmlrpc 2017-09-28 16:32:44 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-2017:2823

Comment 6 Ollie Walsh 2018-07-20 16:07:26 UTC
*** Bug 1602775 has been marked as a duplicate of this bug. ***