From 11b4f71e2027148183a65d82d6ab18dff6038677 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alfonso=20Mart=C3=ADnez?= Date: Fri, 6 Mar 2020 12:50:06 +0100 Subject: [PATCH] vstart.sh: enable nfs-ganesha mgmt. in dashboard. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfonso Martínez --- src/vstart.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.47.3