mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
vstart: set-allow-crimson for crimson clusters
Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
parent
21e8bd7bfa
commit
8020ef3793
@ -150,6 +150,7 @@ nodaemon=0
|
||||
redirect=0
|
||||
smallmds=0
|
||||
short=0
|
||||
crimson=0
|
||||
ec=0
|
||||
cephadm=0
|
||||
parallel=true
|
||||
@ -334,11 +335,13 @@ case $1 in
|
||||
short=1
|
||||
;;
|
||||
--crimson)
|
||||
crimson=1
|
||||
ceph_osd=crimson-osd
|
||||
nodaemon=1
|
||||
msgr=2
|
||||
;;
|
||||
--crimson-foreground)
|
||||
crimson=1
|
||||
ceph_osd=crimson-osd
|
||||
nodaemon=0
|
||||
msgr=2
|
||||
@ -961,6 +964,10 @@ EOF
|
||||
do
|
||||
run 'mon' $f $CEPH_BIN/ceph-mon -i $f $ARGS $CMON_ARGS
|
||||
done
|
||||
|
||||
if [ "$crimson" -eq 1 ]; then
|
||||
$CEPH_BIN/ceph osd set-allow-crimson --yes-i-really-mean-it
|
||||
fi
|
||||
}
|
||||
|
||||
start_osd() {
|
||||
|
Loading…
Reference in New Issue
Block a user