Fedora Account System
Red Hat Associate
Red Hat Customer
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
Actually, not a bug in libvirt - XML definition of a disk is wrong. Sorry.