Bug 1459690 - internal error: unable to execute QEMU command 'object-add': attempt to add duplicate property
Summary: internal error: unable to execute QEMU command 'object-add': attempt to add d...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-07 20:24 UTC by daniel
Modified: 2017-06-07 20:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-06-07 20:31:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1678694 0 None None None 2017-06-07 20:24:59 UTC

Description daniel 2017-06-07 20:24:59 UTC
Description of problem:
When adding an RBD disk to a KVM domain already using RBD disk, the libvirt daemon (?) does not number the drives properly and tries to attach a drive as a conflicting ID.

Version-Release number of selected component (if applicable):
2.0.0 on CentOS7

How reproducible:
virsh attach-device instance-0000080a test-device.xml --live

Steps to Reproduce:
1. Create a domain with network-backed disk (e.g. RBD)
2. Try to attach a second RBD volume: virsh attach-device instance-0000080a test-dev.xml --live

Actual results:
error: Failed to attach device from test-device.xml
error: internal error: unable to execute QEMU command 'object-add': attempt to add duplicate property 'scsi0-0-0-0-secret0' to object (type 'container')

Expected results:
It should work.

Additional info:
See https://bugs.launchpad.net/nova/+bug/1678694/comments/3

Comment 1 daniel 2017-06-07 20:31:04 UTC
Actually, not a bug in libvirt - XML definition of a disk is wrong. Sorry.


Note You need to log in before you can comment on or make changes to this bug.