Skip to content

Commit

Permalink
osd_activate: make sloppy bash happy
Browse files Browse the repository at this point in the history
various modifications to make sloppy bash happy..

Signed-off-by: Guillaume Abrioux <[email protected]>
(cherry picked from commit 64c3e9f)
  • Loading branch information
guits authored and dsavineau committed Jan 29, 2021
1 parent c412066 commit 2777bfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/daemon/osd_scenarios/osd_volume_activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ function osd_volume_simple {
elif [[ ${OSD_DMCRYPT} -eq 1 ]] && [[ ${OSD_BLUESTORE} -eq 1 ]]; then
get_dmcrypt_bluestore_uuid || true
mount_lockbox "$DATA_UUID" "$LOCKBOX_UUID"
# shellcheck disable=SC2034
MOUNTED_PART="/dev/mapper/${DATA_UUID}"
open_encrypted_parts_bluestore
fi
ceph-volume simple scan ${DATA_PART} --force || true
ceph-volume simple scan "${DATA_PART}" --force || true
if [[ ${OSD_DMCRYPT} -eq 1 ]]; then
umount_lockbox
fi
Expand Down

0 comments on commit 2777bfd

Please sign in to comment.