Public bug reported: There is a known problem using certain versions of qemu and libvirt with multiattach. Nova will not let you attach a multiattach enabled volume if the version of libvirt is <= 3.10 or qemu >= 2.10. This bug is only about the user error message that is displayed when you hit this error.
Ubuntu 16.04: $ virsh --version 3.6.0 $ kvm --version QEMU emulator version 2.10.1(Debian 1:2.10+dfsg-0ubuntu3.1~cloud0) $ nova volume-attach vm1 a7de1d48-fe81-402b-a8ed-656e27ff0d08 ERROR (Conflict): Volume a7de1d48-fe81-402b-a8ed-656e27ff0d08 has 'multiattach' set, which is not supported for this instance. (HTTP 409) (Request-ID: req-f34d2c90-559f-4646-903c-60661b082c85) This CLI message does not give the user any indication that there is a version issue with libvirt/qemu. The n-cpu log has a clearer debug message: ... DEBUG nova.virt.libvirt.driver ... Volume multiattach is not supported based on current versions of QEMU and libvirt. QEMU must be less than 2.10 or libvirt must be greater than or equal to 3.10. It would be better if the message returned by the cli command was more specific to the reason why the attach failed. nova$ git show commit 87ea686f9f2cc706205d188922bb14272625e7be Merge: dc63965 8ec0b43 Author: Zuul <[email protected]> Date: Wed Jan 24 13:53:24 2018 +0000 Merge "Transform instance.resize_confirm notification" ** Affects: nova Importance: Undecided Status: New -- 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/1746029 Title: Unclear libvirt error message when attaching multiattach volume Status in OpenStack Compute (nova): New Bug description: There is a known problem using certain versions of qemu and libvirt with multiattach. Nova will not let you attach a multiattach enabled volume if the version of libvirt is <= 3.10 or qemu >= 2.10. This bug is only about the user error message that is displayed when you hit this error. Ubuntu 16.04: $ virsh --version 3.6.0 $ kvm --version QEMU emulator version 2.10.1(Debian 1:2.10+dfsg-0ubuntu3.1~cloud0) $ nova volume-attach vm1 a7de1d48-fe81-402b-a8ed-656e27ff0d08 ERROR (Conflict): Volume a7de1d48-fe81-402b-a8ed-656e27ff0d08 has 'multiattach' set, which is not supported for this instance. (HTTP 409) (Request-ID: req-f34d2c90-559f-4646-903c-60661b082c85) This CLI message does not give the user any indication that there is a version issue with libvirt/qemu. The n-cpu log has a clearer debug message: ... DEBUG nova.virt.libvirt.driver ... Volume multiattach is not supported based on current versions of QEMU and libvirt. QEMU must be less than 2.10 or libvirt must be greater than or equal to 3.10. It would be better if the message returned by the cli command was more specific to the reason why the attach failed. nova$ git show commit 87ea686f9f2cc706205d188922bb14272625e7be Merge: dc63965 8ec0b43 Author: Zuul <[email protected]> Date: Wed Jan 24 13:53:24 2018 +0000 Merge "Transform instance.resize_confirm notification" To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1746029/+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

