]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support additional dmcrypt params 65321/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 1 Sep 2025 13:13:43 +0000 (13:13 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 4 Sep 2025 13:08:33 +0000 (15:08 +0200)
commit63babbcc0951b518f5e1ed1eb4c1c10b668179bc
treee9dd22836da5479fa41d296a67fb1d5eba720018
parent16547168c69e6e531207e09c2670249c40ed1b98
ceph-volume: support additional dmcrypt params

Add support for passing extra options to dmcrypt commands.
This makes it possible to provide custom parameters to
`cryptsetup luksFormat` and `cryptsetup luksOpen`, using the same
syntax as the native cryptsetup CLI.

Fixes: https://tracker.ceph.com/issues/72801
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/devices/lvm/common.py
src/ceph-volume/ceph_volume/devices/lvm/migrate.py
src/ceph-volume/ceph_volume/objectstore/lvm.py
src/ceph-volume/ceph_volume/tests/objectstore/test_lvm.py
src/ceph-volume/ceph_volume/tests/util/test_encryption.py
src/ceph-volume/ceph_volume/util/encryption.py