Heat stack update fails when multi-attach volume present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
New
|
Medium
|
Rabi Mishra |
Bug Description
I am trying to deploy a Murano application that creates a multi-attach volume. My Openstack deployment is based on Queens where multi-attach is supported.
This is the Heat error I get when I deploy my application.
Multiattach volumes are only supported starting with compute API version
2.60. (HTTP 400) (Request-ID: req-9d0d889d-
After making sure that Heat was using python-novaclient version 10.0 instead of 9.1,
I found the problem lies in this file:
heat/engine/
def handle_
.
.
.
try:
# if 'auto' or 'none' is specified, we get the string type
# nics after self._build_nics(), and the string network
# is supported since nova microversion 2.37
if isinstance(nics, six.string_types):
if self._is_
nc = self.client(
When debugging this, I noticed that the api_version set in the Client is None. My understanding is that None means the minimum version supported. Unfortunately the minimum version is not 2.60. This explains the reason for the failure.
My temporary work-around is to change this line:
api_version = None
to
api_version = self.client_
If you need more info or have questions, please let me know. I hope this can be solved soon.
Changed in heat: | |
milestone: | rocky-1 → rocky-2 |
Should be fixed by https:/ /review. openstack. org/#/c/ 556810/