Skip to content

Commit 10539b1

Browse files
authored
Merge pull request ceph#56331 from rhcs-dashboard/update-mon-stacks
mgr/cephadm: bump monitoring stacks versions
2 parents 0939122 + a4374ab commit 10539b1

File tree

3 files changed

+23
-21
lines changed

3 files changed

+23
-21
lines changed

src/cephadm/cephadmlib/constants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
DEFAULT_IMAGE = 'quay.ceph.io/ceph-ci/ceph:main'
55
DEFAULT_IMAGE_IS_MAIN = True
66
DEFAULT_IMAGE_RELEASE = 'squid'
7-
DEFAULT_PROMETHEUS_IMAGE = 'quay.io/prometheus/prometheus:v2.43.0'
7+
DEFAULT_PROMETHEUS_IMAGE = 'quay.io/prometheus/prometheus:v2.51.0'
88
DEFAULT_LOKI_IMAGE = 'docker.io/grafana/loki:3.0.0'
99
DEFAULT_PROMTAIL_IMAGE = 'docker.io/grafana/promtail:3.0.0'
10-
DEFAULT_NODE_EXPORTER_IMAGE = 'quay.io/prometheus/node-exporter:v1.5.0'
11-
DEFAULT_ALERT_MANAGER_IMAGE = 'quay.io/prometheus/alertmanager:v0.25.0'
12-
DEFAULT_GRAFANA_IMAGE = 'quay.io/ceph/grafana:9.4.12'
10+
DEFAULT_NODE_EXPORTER_IMAGE = 'quay.io/prometheus/node-exporter:v1.7.0'
11+
DEFAULT_ALERT_MANAGER_IMAGE = 'quay.io/prometheus/alertmanager:v0.27.0'
12+
DEFAULT_GRAFANA_IMAGE = 'quay.io/ceph/grafana:10.4.0'
1313
DEFAULT_HAPROXY_IMAGE = 'quay.io/ceph/haproxy:2.3'
1414
DEFAULT_KEEPALIVED_IMAGE = 'quay.io/ceph/keepalived:2.2.4'
1515
DEFAULT_NVMEOF_IMAGE = 'quay.io/ceph/nvmeof:1.2.1'

src/pybind/mgr/cephadm/module.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ def os_exit_noop(status: int) -> None:
128128

129129
# Default container images -----------------------------------------------------
130130
DEFAULT_IMAGE = 'quay.io/ceph/ceph'
131-
DEFAULT_PROMETHEUS_IMAGE = 'quay.io/prometheus/prometheus:v2.43.0'
132-
DEFAULT_NODE_EXPORTER_IMAGE = 'quay.io/prometheus/node-exporter:v1.5.0'
131+
DEFAULT_PROMETHEUS_IMAGE = 'quay.io/prometheus/prometheus:v2.51.0'
132+
DEFAULT_NODE_EXPORTER_IMAGE = 'quay.io/prometheus/node-exporter:v1.7.0'
133133
DEFAULT_NVMEOF_IMAGE = 'quay.io/ceph/nvmeof:1.2.5'
134134
DEFAULT_LOKI_IMAGE = 'docker.io/grafana/loki:3.0.0'
135135
DEFAULT_PROMTAIL_IMAGE = 'docker.io/grafana/promtail:3.0.0'
136-
DEFAULT_ALERT_MANAGER_IMAGE = 'quay.io/prometheus/alertmanager:v0.25.0'
137-
DEFAULT_GRAFANA_IMAGE = 'quay.io/ceph/grafana:9.4.12'
136+
DEFAULT_ALERT_MANAGER_IMAGE = 'quay.io/prometheus/alertmanager:v0.27.0'
137+
DEFAULT_GRAFANA_IMAGE = 'quay.io/ceph/grafana:10.4.0'
138138
DEFAULT_HAPROXY_IMAGE = 'quay.io/ceph/haproxy:2.3'
139139
DEFAULT_KEEPALIVED_IMAGE = 'quay.io/ceph/keepalived:2.2.4'
140140
DEFAULT_SNMP_GATEWAY_IMAGE = 'docker.io/maxwo/snmp-notifier:v1.2.1'

src/pybind/mgr/dashboard/frontend/cypress/e2e/common/grafana.feature.po.ts

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ function getIframe() {
66
return cy.iframe();
77
}
88

9+
const WAIT_TO_LOAD = 1000;
10+
911
Then('I should see the grafana panel {string}', (panels: string) => {
1012
getIframe().within(() => {
1113
for (const panel of panels.split(', ')) {
1214
cy.get('.grafana-app')
13-
.wait(100)
15+
.wait(WAIT_TO_LOAD)
1416
.within(() => {
15-
cy.get(`[aria-label="${panel} panel"]`).should('be.visible');
17+
cy.get(`[title="${panel}"]`).should('be.visible');
1618
});
1719
}
1820
});
@@ -22,13 +24,13 @@ When('I view the grafana panel {string}', (panels: string) => {
2224
getIframe().within(() => {
2325
for (const panel of panels.split(', ')) {
2426
cy.get('.grafana-app')
25-
.wait(100)
27+
.wait(WAIT_TO_LOAD)
2628
.within(() => {
27-
cy.get(`[aria-label="${panel} panel"]`).within(() => {
28-
cy.get('h2').click();
29-
});
30-
cy.get('[aria-label="Panel header item View"]').click();
29+
cy.get(`[data-testid="data-testid Panel header ${panel}"]`).click();
30+
cy.get(`[aria-label="Menu for panel with title ${panel}"]`).click();
3131
});
32+
33+
cy.get('[data-testid="data-testid Panel menu item View"]').click();
3234
}
3335
});
3436
});
@@ -37,9 +39,9 @@ Then('I should not see {string} in the panel {string}', (value: string, panels:
3739
getIframe().within(() => {
3840
for (const panel of panels.split(', ')) {
3941
cy.get('.grafana-app')
40-
.wait(100)
42+
.wait(WAIT_TO_LOAD)
4143
.within(() => {
42-
cy.get(`[aria-label="${panel} panel"]`)
44+
cy.get(`[data-testid="data-testid Panel header ${panel}"]`)
4345
.should('be.visible')
4446
.within(() => {
4547
cy.get('span').first().should('not.have.text', value);
@@ -55,9 +57,9 @@ Then(
5557
getIframe().within(() => {
5658
for (const panel of panels.split(', ')) {
5759
cy.get('.grafana-app')
58-
.wait(100)
60+
.wait(WAIT_TO_LOAD)
5961
.within(() => {
60-
cy.get(`[aria-label="${panel} panel"]`)
62+
cy.get(`[data-testid="data-testid Panel header ${panel}"]`)
6163
.should('be.visible')
6264
.within(() => {
6365
for (const legend of legends.split(', ')) {
@@ -74,9 +76,9 @@ Then('I should not see No Data in the graph {string}', (panels: string) => {
7476
getIframe().within(() => {
7577
for (const panel of panels.split(', ')) {
7678
cy.get('.grafana-app')
77-
.wait(100)
79+
.wait(WAIT_TO_LOAD)
7880
.within(() => {
79-
cy.get(`[aria-label="${panel} panel"]`)
81+
cy.get(`[data-testid="data-testid Panel header ${panel}"]`)
8082
.should('be.visible')
8183
.within(() => {
8284
cy.get('div.datapoints-warning').should('not.exist');

0 commit comments

Comments
 (0)