From 83dffd3f8590a9e397218bf72ca7f3a5639ef28e Mon Sep 17 00:00:00 2001 From: Kiefer Chang Date: Tue, 5 Nov 2019 12:56:07 +0800 Subject: [PATCH] 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 --- src/pybind/mgr/dashboard/run-frontend-e2e-tests.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pybind/mgr/dashboard/run-frontend-e2e-tests.sh b/src/pybind/mgr/dashboard/run-frontend-e2e-tests.sh index ad4c64f5b26..1d6c728b70e 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 -- 2.39.5