From 6eab0e3247804c7c34c1aa19ba92b8126e3675e5 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 15 Jan 2020 09:52:34 -0600 Subject: [PATCH] Add upgrade check for removed Veritas Access driver The Veritas Access driver has been removed. This adds an upgrade check to warn if it is still configured. Change-Id: Ib8fc106e2f264908227794ac34d41e603bedf55a Signed-off-by: Sean McGinnis --- cinder/cmd/status.py | 1 + cinder/tests/unit/cmd/test_status.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cinder/cmd/status.py b/cinder/cmd/status.py index 993edc3125c..cf44e91074f 100644 --- a/cinder/cmd/status.py +++ b/cinder/cmd/status.py @@ -50,6 +50,7 @@ REMOVED_DRVRS = [ "nimble", "sheepdog", "vzstorage", + "veritas_access", ] diff --git a/cinder/tests/unit/cmd/test_status.py b/cinder/tests/unit/cmd/test_status.py index 7d93b055b4a..e1b51252ec2 100644 --- a/cinder/tests/unit/cmd/test_status.py +++ b/cinder/tests/unit/cmd/test_status.py @@ -201,7 +201,9 @@ class TestCinderStatus(testtools.TestCase): 'cinder.volume.drivers.nimble.NimbleFCDriver', 'cinder.volume.drivers.nimble.NimbleISCSIDriver', 'cinder.volume.drivers.sheepdog.SheepdogDriver', - 'cinder.volume.drivers.vzstorage.VZStorageDriver') + 'cinder.volume.drivers.vzstorage.VZStorageDriver', + 'cinder.volume.drivers.veritas_access.veritas_iscsi.' + 'ACCESSIscsiDriver') def test_check_removed_drivers_fail(self, volume_driver): self._set_volume_driver( volume_driver,