From: Nizamudeen A Date: Wed, 5 Apr 2023 16:56:26 +0000 (+0530) Subject: mgr/dashboard: fix for grafana e2e failing on rgw daemon performance X-Git-Tag: v19.0.0~1426^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F50884%2Fhead;p=ceph.git mgr/dashboard: fix for grafana e2e failing on rgw daemon performance Started happening after: https://github.com/ceph/ceph/pull/49248/ Fixes: https://tracker.ceph.com/issues/59353 Signed-off-by: Nizamudeen A --- diff --git a/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh b/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh index 4b6ad4dbe88b..45bb3f0257eb 100755 --- a/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh +++ b/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh @@ -53,5 +53,7 @@ kcli ssh -u root ceph-node-00 'cephadm shell "ceph dashboard set-prometheus-api- kcli ssh -u root ceph-node-00 'cephadm shell "ceph dashboard set-grafana-api-url https://192.168.100.100:3000"' kcli ssh -u root ceph-node-00 'cephadm shell "ceph orch apply node-exporter --placement 'count:2'"' +kcli ssh -u root ceph-node-00 'cephadm shell "ceph config set mgr mgr/prometheus/exclude_perf_counters false"' + cypress_run ["orchestrator/workflow/*.feature, orchestrator/workflow/*-spec.ts"] cypress_run "orchestrator/grafana/*.feature" diff --git a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/09-services.e2e-spec.ts b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/09-services.e2e-spec.ts index 6b497a9a0a1c..b81fa113b9ee 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/09-services.e2e-spec.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/09-services.e2e-spec.ts @@ -123,4 +123,11 @@ describe('Services page', () => { services.isUnmanaged('ingress.rgw.foo', true); services.deleteService('ingress.rgw.foo'); }); + + it('should check if exporter daemons are running', () => { + services.clickServiceTab('ceph-exporter', 'Details'); + cy.get('cd-service-details').within(() => { + services.checkServiceStatus('ceph-exporter', 'running'); + }); + }); });