From 0a1a94dfdca9e684a8b06268df0d77a21f75fb0c Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Fri, 19 Jan 2018 21:14:00 +0200 Subject: [PATCH] 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 --- compute_hyperv/nova/driver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compute_hyperv/nova/driver.py b/compute_hyperv/nova/driver.py index 5ee14795..4cac62a1 100644 --- a/compute_hyperv/nova/driver.py +++ b/compute_hyperv/nova/driver.py @@ -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):