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)
|
* ``compute_driver`` (libvirt)
|
||||||
* ``[libvirt]/images_type`` (rbd)
|
* ``[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(
|
cfg.BoolOpt(
|
||||||
'disable_native_luksv1',
|
'disable_native_luksv1',
|
||||||
default=False,
|
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="""
|
help="""
|
||||||
When attaching encrypted LUKSv1 Cinder volumes to instances the Libvirt driver
|
When attaching encrypted LUKSv1 Cinder volumes to instances the Libvirt driver
|
||||||
configures the encrypted disks to be natively decrypted by QEMU.
|
configures the encrypted disks to be natively decrypted by QEMU.
|
||||||
@ -302,10 +305,15 @@ Related options:
|
|||||||
* ``compute_driver`` (libvirt)
|
* ``compute_driver`` (libvirt)
|
||||||
* ``rbd_block_device`` (workarounds)
|
* ``rbd_block_device`` (workarounds)
|
||||||
"""),
|
"""),
|
||||||
# TODO(lyarwood): Remove this workaround in the W release when the
|
cfg.BoolOpt(
|
||||||
# above disable_native_luksv1 configurable is removed.
|
'rbd_volume_local_attach',
|
||||||
cfg.BoolOpt('rbd_volume_local_attach',
|
|
||||||
default=False,
|
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="""
|
help="""
|
||||||
Attach RBD Cinder volumes to the compute as host block devices.
|
Attach RBD Cinder volumes to the compute as host block devices.
|
||||||
|
|
||||||
|
13
releasenotes/notes/libvirt-workarounds-deprecate-rbd_volume_local_attach-and-disable_native_luksv1-39680763607b5a59.yaml
Normal file
13
releasenotes/notes/libvirt-workarounds-deprecate-rbd_volume_local_attach-and-disable_native_luksv1-39680763607b5a59.yaml
Normal file
@ -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…
x
Reference in New Issue
Block a user