From: Kiefer Chang Date: Tue, 5 Nov 2019 04:56:07 +0000 (+0800) Subject: mgr/dashboard: disable pg_autoscale for new pools in e2e tests X-Git-Tag: v15.1.0~1029^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=83dffd3f8590a9e397218bf72ca7f3a5639ef28e;p=ceph.git mgr/dashboard: disable pg_autoscale for new pools in e2e tests The pg_autoscaler might interfere the editing pool e2e test, disable the global config to avoid this problem. Fixes: https://tracker.ceph.com/issues/42608 Signed-off-by: Kiefer Chang --- diff --git a/src/pybind/mgr/dashboard/run-frontend-e2e-tests.sh b/src/pybind/mgr/dashboard/run-frontend-e2e-tests.sh index ad4c64f5b26b..1d6c728b70eb 100755 --- a/src/pybind/mgr/dashboard/run-frontend-e2e-tests.sh +++ b/src/pybind/mgr/dashboard/run-frontend-e2e-tests.sh @@ -58,6 +58,13 @@ if [ "$BASE_URL" == "" ]; then # Set SSL verify to False ./bin/ceph dashboard set-rgw-api-ssl-verify False + # Disable PG autoscaling for new pools. This is a temporary workaround. + # e2e tests for pools should be adapted to remove this workaround after + # these issues are resolved: + # - https://tracker.ceph.com/issues/38227 + # - https://tracker.ceph.com/issues/42638 + ./bin/ceph config set global osd_pool_default_pg_autoscale_mode off + BASE_URL=$(./bin/ceph mgr services | jq -r .dashboard) fi