Merge "[ceph-osd] Don't try to prepare OSD disks that are already deployed"
This commit is contained in:
commit
d75d0d8f00
@ -15,6 +15,6 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Ceph OSD
|
||||
name: ceph-osd
|
||||
version: 0.1.3
|
||||
version: 0.1.4
|
||||
home: https://github.com/ceph/ceph
|
||||
...
|
||||
|
@ -272,6 +272,7 @@ function osd_disk_prepare {
|
||||
if [[ ! -z "${OSD_ID}" ]]; then
|
||||
if ceph --name client.bootstrap-osd --keyring $OSD_BOOTSTRAP_KEYRING osd ls |grep -w ${OSD_ID}; then
|
||||
echo "Running bluestore mode and ${OSD_DEVICE} already bootstrapped"
|
||||
CEPH_LVM_PREPARE=0
|
||||
elif [[ $OSD_FORCE_REPAIR -eq 1 ]]; then
|
||||
echo "OSD initialized for this cluster, but OSD ID not found in the cluster, reinitializing"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user