Attaching volume to iso instance is failure because of duplicate device name 'hda'.
Bug #1379212 reported by
Rui Chen
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Rui Chen | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I try to attach a volume to iso instance, return code of volume-attach api is 200 ok, but the volume can't be attached to instance in fact, there are some error messages in nova-compute.log like this 'libvirtError: Requested operation is not valid: target hda already exists'.
The root device of iso instance is hda, nova-compute should not assign hda to cinder volume again.
The following is reproduce steps:
1. boot instance from iso image.
2. create a cinder volume.
3. try to attach the volume to iso instance.
Attaching volume is failed, I can find libvirt error in nova-compute.log.
Changed in nova: | |
assignee: | nobody → Rui Chen (kiwik-chenrui) |
tags: | added: compute |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
tags: | added: volumes |
Changed in nova: | |
milestone: | kilo-2 → 2015.1.0 |
Changed in nova: | |
importance: | Low → Medium |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/127168
Review: https:/