Skip to content

Commit

Permalink
Merge pull request #13980 from rook/mergify/bp/release-1.13/pr-13830
Browse files Browse the repository at this point in the history
osd: fix removing key file timing (backport #13830)
  • Loading branch information
mergify[bot] committed Mar 26, 2024
2 parents f17cc6b + 192bf51 commit d3850b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/operator/ceph/cluster/osd/spec.go
Expand Up @@ -224,7 +224,6 @@ dmsetup version
function open_encrypted_block {
echo "Opening encrypted device $BLOCK_PATH at $DM_PATH"
cryptsetup luksOpen --verbose --disable-keyring --allow-discards --key-file "$KEY_FILE_PATH" "$BLOCK_PATH" "$DM_NAME"
rm -f "$KEY_FILE_PATH"
}
# This is done for upgraded clusters that did not have the subsystem and label set by the prepare job
Expand Down

0 comments on commit d3850b6

Please sign in to comment.