yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79163
[Bug 1678694] Re: Can't attach volume to volume-backed instance
** Changed in: nova
Status: Confirmed => Fix Released
--
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/1678694
Title:
Can't attach volume to volume-backed instance
Status in OpenStack Compute (nova):
Fix Released
Bug description:
When trying to attach a cinder volume to an instance that was launched
with a cinder root drive, the attachment silently fails both on the
CLI and in Horizon. From the nova-compute.log on the hypervisor,
"libvirtError: internal error: unable to execute QEMU command 'object-
add': attempt to add duplicate property 'scsi0-0-0-0-secret0' to
object (type 'container')" - so it seems like nova isn't aware of the
existing cinder root drive.
Steps to reproduce:
1) Launch an instance (either via CLI or in Horizon), specifying a cinder volume as the root
2) Create a volume and try to attach it to the instance
Expected outcome:
Second volume attaches successfully to the instance
Actual outcome:
Volume silently fails to attach, remains in "available" state, error log as above in nova-compute.log
Environment
CentOS 7.2
Mitaka (13.1.2-1.el7)
libvirt+kvm
ceph storage
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1678694/+subscriptions
References