Project

General

Profile

Backport #49657

octopus: mgr/dashboard: test prometheus/alertmanager rules through promtool

Added by Backport Bot 3 months ago. Updated 30 days ago.

Status:
Resolved
Priority:
Normal
Target version:
Release:
octopus
Crash signature (v1):
Crash signature (v2):


Related issues

Related to Dashboard - Backport #49324: octopus: mgr/dashboard: fix MTU Mismatch alert Resolved
Copied from Dashboard - Cleanup #45415: mgr/dashboard: test prometheus/alertmanager rules through promtool Resolved

History

#1 Updated by Backport Bot 3 months ago

  • Copied from Cleanup #45415: mgr/dashboard: test prometheus/alertmanager rules through promtool added

#2 Updated by Aashish Sharma 3 months ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Aashish Sharma

#3 Updated by singuliere _ 3 months ago

Hi Aashish,

I'm new to the Stable Release team and looking around (also on irc at #ceph-backports). A short note about the make check failure in your pull request. Are you familiar with this error? Maybe it's a transient error?

Cheers

make check fails with

  1/199 Test  #15: run-promtool-unittests.sh ...............***Failed    1.48 sec
+++ dirname /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/run-promtool-unittests.sh
++ cd /home/jenkins-build/build/workspace/ceph-pull-requests/src/test
++ pwd -P
+ SCRIPTPATH=/home/jenkins-build/build/workspace/ceph-pull-requests/src/test
+ : /home/jenkins-build/build/workspace/ceph-pull-requests
+ sudo docker run --rm -v /home/jenkins-build/build/workspace/ceph-pull-requests:/ceph --name=promtool --network=host dnanexus/promtool:2.9.2 test rules /ceph/monitoring/prometheus/alerts/test_alerts.yml
Unit Testing:  /ceph/monitoring/prometheus/alerts/test_alerts.yml

  FAILED:
    alertname:MTU Mismatch, time:1m0s, 
        exp:"[Labels:{alertname=\"MTU Mismatch\", device=\"eth4\", instance=\"node-exporter\", job=\"node-exporter\", oid=\"1.3.6.1.4.1.50495.15.1.2.8.5\", severity=\"warning\", type=\"ceph_default\"} Annotations:{description=\"Node node-exporter has a different MTU size (9000) than the median value on device eth4.\\n\"}]", 
        got:"[]" 

#4 Updated by singuliere _ 3 months ago

Hum, since the error is related to the backport, it probably is not transient after all. Another question: why is the Target version v17.0.0?

#5 Updated by Konstantin Shalygin 3 months ago

  • Target version deleted (v17.0.0)

#6 Updated by Aashish Sharma 3 months ago

  • Target version set to v17.0.0

singuliere none wrote:

Hi Aashish,

I'm new to the Stable Release team and looking around (also on irc at #ceph-backports). A short note about the make check failure in your pull request. Are you familiar with this error? Maybe it's a transient error?

Cheers

make check fails with

[...]

This failure will get fixed after this backport PR https://github.com/ceph/ceph/pull/39854 gets merged.

#7 Updated by Aashish Sharma 3 months ago

  • Related to Backport #49324: octopus: mgr/dashboard: fix MTU Mismatch alert added

#8 Updated by singuliere _ 3 months ago

Thanks for connecting the dots, I understand now.

#10 Updated by Nathan Cutler 2 months ago

  • Target version deleted (v17.0.0)

#11 Updated by Ernesto Puerta about 2 months ago

  • Project changed from mgr to Dashboard

#12 Updated by Ernesto Puerta about 2 months ago

  • Status changed from In Progress to Resolved

#13 Updated by Loïc Dachary about 1 month ago

  • Target version set to v15.2.12

This update was made using the script "backport-resolve-issue".
backport PR https://github.com/ceph/ceph/pull/39987
merge commit 2aeec9c7fd64c83bb29e92b610f1be4518871ce8 (v15.2.11-230-g2aeec9c7fd)

#14 Updated by Loïc Dachary 30 days ago

  • Target version changed from v15.2.12 to v15.2.13

Also available in: Atom PDF