From: Alfonso Martínez Date: Fri, 6 Mar 2020 11:50:06 +0000 (+0100) Subject: vstart.sh: enable nfs-ganesha mgmt. in dashboard. X-Git-Tag: v15.1.1~62^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F33691%2Fhead;p=ceph.git vstart.sh: enable nfs-ganesha mgmt. in dashboard. Signed-off-by: Alfonso Martínez --- diff --git a/src/vstart.sh b/src/vstart.sh index 2327e923a56b..ae7d8e31a5fc 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -589,6 +589,7 @@ prepare_conf() { mon osd full ratio = .99 mon osd nearfull ratio = .99 mon osd backfillfull ratio = .99 + mon_max_pg_per_osd = ${MON_MAX_PG_PER_OSD:-1000} erasure code dir = $EC_PATH plugin dir = $CEPH_LIB filestore fd cache size = 32 @@ -1155,7 +1156,15 @@ EOF # Wait few seconds for grace period to be removed sleep 2 prun ganesha-rados-grace -p nfs-ganesha -n ganesha -done + + if $with_mgr_dashboard; then + $CEPH_BIN/rados -p nfs-ganesha put "conf-$name" "$ganesha_dir/ganesha.conf" + fi + done + + if $with_mgr_dashboard; then + ceph_adm dashboard set-ganesha-clusters-rados-pool-namespace nfs-ganesha + fi } if [ "$debug" -eq 0 ]; then