Skip to content

Commit

Permalink
Merge "[ceph-osd] Don't try to prepare OSD disks that are already dep…
Browse files Browse the repository at this point in the history
…loyed"
  • Loading branch information
Zuul authored and openstack-gerrit committed Oct 6, 2020
2 parents c658ac3 + 38d9f35 commit d75d0d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ceph-osd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
...
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d75d0d8

Please sign in to comment.