Simplified, but complete test steps (working on a fresh Bionic x86 host): $ sudo apt install uvtool-libvirt $ time uvt-simplestreams-libvirt --verbose sync --source http://cloud-images.ubuntu.com/daily arch=amd64 label=daily release=bionic $ ssh-keygen $ uvt-kvm create --password ubuntu b-testattach arch=amd64 release=bionic label=daily $ virsh dumpxml b-testattach | grep controller.*scsi # will show no output - ok $ echo "<controller type='scsi' model='virtio-scsi' />" > controller_scsi.xml # check persistent and live config $ virsh attach-device b-testattach controller_scsi.xml --persistent error: Failed to attach device from controller_scsi.xml error: internal error: Cannot parse controller index -1 $ virsh attach-device b-testattach controller_scsi.xml --live --config error: Failed to attach device from controller_scsi.xml error: internal error: Cannot parse controller index -1
With the fix those attaches should work just fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1823676 Title: Failed to attach scsi contr. with opt. "--config --live" when index attribute isn't specified in XML To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/1823676/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs