unable to attach multiattach volume to server
Bug #1751564 reported by
Matt Riedemann
This bug report is a duplicate of:
Bug #1931440: Unable to use multiattach volume as boot for new server.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Wishlist
|
Matt Riedemann |
Bug Description
The compute API 2.60 microversion allows attaching multiattach-capable volumes to server instances.
However, when attempting to do so in Horizon it fails because Horizon doesn't specify microversion 2.60 during the attach call to nova (see screenshot).
And you can see the error in the nova-api logs:
[None req-9e43e495-
Note that if Horizon is using python-novaclient for the attach volume call, it must have novaclient >= 10.1.0:
https:/
Changed in horizon: | |
assignee: | nobody → Matt Riedemann (mriedem) |
To post a comment you must log in.
My proposed solution for this would be for Horizon to check if the volume has the "multiattach" attribute set to True and compute API microversion 2.60 is available (which it can determine via compute API version discovery: https:/ /developer. openstack. org/api- ref/compute/ #list-all- major-versions ) - that it should then make the attach volume request with microversion 2.60, else it should give a user friendly error message that multiattach is not yet supported in compute.