Public bug reported: 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. http://paste.openstack.org/show/105144/ ** Affects: nova Importance: Undecided Assignee: Rui Chen (kiwik-chenrui) Status: New ** Changed in: nova Assignee: (unassigned) => Rui Chen (kiwik-chenrui) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1379212 Title: Attaching volume to iso instance is failure because of duplicate device name 'hda'. Status in OpenStack Compute (Nova): New 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. http://paste.openstack.org/show/105144/ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1379212/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

