Add missing capability, breaking volume attachments

A new driver capability has been introduced, specifying if volume
multiattach is supported.

The issue is that our driver doesn't have it yet, so attaching
volumes currently fails with a KeyError:
http://paste.openstack.org/show/647116/

This change adds the missing capability field.

Change-Id: I24a3be98d5b7afd1d56eea9bfca22fbca5c64f42
This commit is contained in:
Lucian Petrut 2018-01-19 21:14:00 +02:00
parent 4d84341387
commit 0a1a94dfdc
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ class HyperVDriver(driver.ComputeDriver):
"supports_tagged_attach_interface": True,
"supports_tagged_attach_volume": True,
"supports_extend_volume": True,
"supports_multiattach": False,
}
def __init__(self, virtapi):