Merge "Mark the HGST Driver unsupported"

This commit is contained in:
Zuul 2018-06-16 06:20:23 +00:00 committed by Gerrit Code Review
commit 76d20dfe2e
2 changed files with 18 additions and 0 deletions

View File

@ -92,6 +92,9 @@ class HGSTDriver(driver.VolumeDriver):
SPACEGB = units.G - 16 * units.M # Workaround for shrinkage Bug 28320
BLOCKED = "BLOCKED" # Exit code when a command is blocked
# TODO(jsbryant) Remove driver in Stein if CI is not fixed
SUPPORTED = False
def __init__(self, *args, **kwargs):
"""Initialize our protocol descriptor/etc."""
super(HGSTDriver, self).__init__(*args, **kwargs)

View File

@ -0,0 +1,15 @@
---
upgrade:
- |
The HGST driver has been marked as unsupported and is now
deprecated. ``enable_unsupported_driver`` will need to be set
to ``True`` in the driver's section in cinder.conf to continue
to use it.
deprecations:
- |
The HGST driver has been marked as unsupported and is now
deprecated. ``enable_unsupported_driver`` will need to be set
to ``True`` in the driver's section in cinder.conf to continue
to use it. If its support status does not change, it will be
removed in the Stein development cycle.