]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix dmcrypt activation regression 60734/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 13 Nov 2024 15:23:36 +0000 (16:23 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 14 Nov 2024 13:06:09 +0000 (13:06 +0000)
commit611dea883841d84d106b16a3966fc4219e2eb074
tree68c2aec5524c46de5544cb9ffd212960fd4a3f6e
parentb04cd5cbaefe12392d3cfab49a361fb61c98d72d
ceph-volume: fix dmcrypt activation regression

`ceph.with_tpm` tag is actually a `str`, which means that
`bool('0')` will return `True`.

Fixes: https://tracker.ceph.com/issues/68944
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 3cf00cde820ec838e4fbda1799d2ce336c9e2d86)
src/ceph-volume/ceph_volume/objectstore/lvmbluestore.py