]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/volumes: Fix subvolume creation in FIPS enabled system.
authorKotresh HR <khiremat@redhat.com>
Wed, 27 Jul 2022 11:09:08 +0000 (16:39 +0530)
committerKotresh HR <khiremat@redhat.com>
Fri, 29 Jul 2022 16:37:17 +0000 (22:07 +0530)
commitced3fac48d3da2320827c6c86ece3b87953badc7
treed7bf941c95e8e509059e5d1554f3fdd68d223901
parentb6cbffe047e13369a5b9be465fa5758af7d7fcce
mgr/volumes: Fix subvolume creation in FIPS enabled system.

The md5 checksum is used in the construction of legacy
subvolume config filename. It's not used for security reason.
Hence marking the 'usedforsecurity' flag to false to
make it FIPs compliant.

The usage of md5 was always in there. The commit 373a04cf734
made it to get exercised in 'open_subvol' which is pre-requisite
for all the subvolume operations and hence subvolume
creation has failed.

Fixes: https://tracker.ceph.com/issues/56727
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py