live migration fails with xenapi virt driver and SRs with old-style naming convention
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
High
|
Unassigned |
Bug Description
version: commit ce5a2fb419f999b
1. create a boot-from-volume instance prior to deploying commit 5bd222e8d854ca7
2. upgrade nova to commit 5bd222e8d854ca7
3. live-migrate instance
4. observe live-migrate action fail
based on my analysis of logs and code:
1. destination uses new-style SR naming convention in sr_uuid_map.
2. source tries to use new-style SR naming convention in talking to XenAPI (in nova.virt.
3. xenapi throws XenAPI.Failure exception because it "Got exception UUID_INVALID" because it only knows the SR by the old-style naming convention
example destination nova-compute, source nova-compute, and xenapi logs from a live-migrate request to follow.
tags: |
added: live-migration xen removed: live-migrate nova xenapi |
tags: |
added: xenapi removed: xen |
tags: |
added: xenserver removed: xenapi |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
importance: | Undecided → High |
affects: | nova → ilh-facebook |
Does this mean we need to make sure that when we generate the sr_map_uuid on the source host, we need to convert the destination uuid to the new format, else we hit this bug?