Skip to content

Commit 2dde825

Browse files
authored
[Unity] Fix Coordinator uninitialized issue (#11)
Start Coordinator when initializing Unity driver
1 parent 80f849e commit 2dde825

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

cinder/volume/drivers/dell_emc/unity/adapter.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020
from oslo_log import log as logging
2121
from oslo_utils import excutils
2222

23+
from cinder import coordination
2324
from cinder import exception
2425
from cinder import utils as cinder_utils
2526
from cinder.i18n import _, _LE, _LI
27+
from cinder.volume import utils as vol_utils
2628
from cinder.volume.drivers.dell_emc.unity import client
2729
from cinder.volume.drivers.dell_emc.unity import utils
28-
from cinder.volume import utils as vol_utils
2930

3031
LOG = logging.getLogger(__name__)
3132

@@ -83,6 +84,7 @@ def do_setup(self, driver, conf):
8384
self.storage_pools_map = self.get_managed_pools()
8485

8586
self.allowed_ports = self.validate_ports(self.config.unity_io_ports)
87+
coordination.COORDINATOR.start()
8688

8789
def normalize_config(self, config):
8890
config.unity_storage_pool_names = utils.remove_empty(

cinder/volume/drivers/dell_emc/unity/driver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ class UnityDriver(driver.TransferVD,
5353
"""Unity Driver.
5454
5555
Version history:
56+
00.04.05 - Fix Coordinator uninitialized issue
5657
00.04.04 - Fix duplicate hosts created with same name (cherry-pick from
5758
downstream Newton
5859
00.04.03 - Add TransferVD to base, and fix version number
5960
00.04.02 - Initial version
6061
"""
6162

62-
VERSION = '00.04.04'
63+
VERSION = '00.04.05'
6364
VENDOR = 'Dell EMC'
6465
# ThirdPartySystems wiki page
6566
CI_WIKI_NAME = "EMC_UNITY_CI"

0 commit comments

Comments
 (0)