Skip to content

Commit 9bcbccb

Browse files
authored
Merge pull request #21 from 45Drives/dev-hutch
Update add-db-to-osd.sh
2 parents a7b79de + 4ba79fe commit 9bcbccb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

add-db-to-osd.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,6 @@ for i in "${!OSD_LIST[@]}"; do
233233
CEPH_STATUS=$(ceph health --format json | jq -r '.status')
234234
done
235235

236-
OK_TO_STOP=$(ceph osd ok-to-stop $OSD_ID)
237-
if [[ $OK_TOP_STOP -ne 0 ]]; then
238-
echo "Error: stopping osd.$OSD_ID would result in data unavailability"
239-
exit 1
240-
fi
241-
242236
echo "Set noout"
243237
ceph osd set noout
244238
echo "Stop OSD.$OSD_ID"

0 commit comments

Comments
 (0)