libvirt: Deprecate disable_native_luksv1 and rbd_volume_local_attach
As noted at the time these workarounds are no longer required given the underlying performance regressions have been resolved in libgcrypt. Change-Id: Ibb718003ba614738eabbc797da3d0203eac5468c
This commit is contained in:
parent
ded25f33c7
commit
98713d69ac
@ -271,12 +271,15 @@ Related options:
|
||||
* ``compute_driver`` (libvirt)
|
||||
* ``[libvirt]/images_type`` (rbd)
|
||||
"""),
|
||||
# TODO(lyarwood): Remove this workaround in the W release once all
|
||||
# supported distros have rebased to a version of libgcrypt that does not
|
||||
# have the performance issues listed below.
|
||||
cfg.BoolOpt(
|
||||
'disable_native_luksv1',
|
||||
default=False,
|
||||
deprecated_for_removal=True,
|
||||
deprecated_since='23.0.0',
|
||||
deprecated_reason="""
|
||||
The underlying performance regression within libgcrypt that prompted this
|
||||
workaround has been resolved as of 1.8.5
|
||||
""",
|
||||
help="""
|
||||
When attaching encrypted LUKSv1 Cinder volumes to instances the Libvirt driver
|
||||
configures the encrypted disks to be natively decrypted by QEMU.
|
||||
@ -302,11 +305,16 @@ Related options:
|
||||
* ``compute_driver`` (libvirt)
|
||||
* ``rbd_block_device`` (workarounds)
|
||||
"""),
|
||||
# TODO(lyarwood): Remove this workaround in the W release when the
|
||||
# above disable_native_luksv1 configurable is removed.
|
||||
cfg.BoolOpt('rbd_volume_local_attach',
|
||||
default=False,
|
||||
help="""
|
||||
cfg.BoolOpt(
|
||||
'rbd_volume_local_attach',
|
||||
default=False,
|
||||
deprecated_for_removal=True,
|
||||
deprecated_since='23.0.0',
|
||||
deprecated_reason="""
|
||||
The underlying performance regression within libgcrypt that prompted this
|
||||
workaround has been resolved as of 1.8.5
|
||||
""",
|
||||
help="""
|
||||
Attach RBD Cinder volumes to the compute as host block devices.
|
||||
|
||||
When enabled this option instructs os-brick to connect RBD volumes locally on
|
||||
|
@ -0,0 +1,13 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``[workarounds]rbd_volume_local_attach`` and
|
||||
``[workarounds]disable_native_luksv1`` options have been deprecated as of
|
||||
the 23.0.0 release ahead of removal in the future as the underlying
|
||||
``libgcrypt`` performance regressions that prompted their introduction have
|
||||
been resolved.
|
||||
|
||||
Any remaining users of these workarounds should plan to disable these
|
||||
workarounds as soon as possible. Note that this requires that any instances
|
||||
on compute hosts using the workaround be shutdown ahead of the value of the
|
||||
workaround changing, before being restarted.
|
Loading…
Reference in New Issue
Block a user