]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Fix the 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>
Mon, 1 Aug 2022 04:07:15 +0000 (09:37 +0530)
commit829dcfedd5cb5c7158327b23c390533667c175a3
treef1cb647df1247fae0d520af8f9a89241a2619643
parent77e12eae2d9250b06113486abb6e61a7aafd7e7f
mgr/volumes: Fix the 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>
(cherry picked from commit ced3fac48d3da2320827c6c86ece3b87953badc7)
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py