evacuate on ceph backed volume fails
Bug #1249319 reported by
Blane Bramble
This bug affects 16 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Feilong Wang | ||
Icehouse |
Fix Released
|
Undecided
|
Unassigned | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using nova evacuate to move an instance from one compute host to another, the command silently fails. The issue seems to be that the rebuild process builds an incorrect libvirt.xml file that no longer correctly references the ceph volume.
Specifically under the <disk> section I see:
<source protocol="rbd" name="volumes/
where in the original libvirt.xml the file was:
<source protocol="rbd" name="volumes/
tags: | added: libvirt volumes |
tags: |
added: compute removed: libvirt |
Changed in nova: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Andres Isaac Benavides (andres-i-benavides) |
tags: | added: customer-found |
Changed in mos: | |
assignee: | nobody → MOS Nova (mos-nova) |
milestone: | none → 5.1.1 |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in nova: | |
assignee: | Andres Isaac Benavides (andres-i-benavides) → Fei Long Wang (flwang) |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
The problem seems to be as follows:
During the rebuild prep_block_device calls _prep_block_device - this in turn calls DriverVolumeBlo ckDevice with the existing bdms as the argument - this bdms does not seem to have source_type or destination_type set, and so the call fails.