Add pre-check of storage locations

Since we are about to use wildcards in storage locations,
it is possible to have multiple matches, so we need to add
precheck before using $STORAGE_LOCATION, $BLOCK_DB and $BLOCK_WAL
variables to ensure that stored strings resolve to just one and
only block location.

Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Change-Id: I60180f988e90473e200e886b69788cc263359ad2
This commit is contained in:
Ruslan Aliev
2022-03-24 21:48:19 +00:00
parent b5c285ae98
commit 109c629838
8 changed files with 59 additions and 1 deletions

View File

@@ -36,4 +36,5 @@ ceph-osd:
- 0.1.33 Update log-runner container for MAC
- 0.1.34 Remove wait for misplaced objects during OSD restarts
- 0.1.35 Consolidate mon_endpoints discovery
- 0.1.36 Add OSD device location pre-check
...