Bug 2115347
| Summary: | 03279843 | Sev 3 | Negative regex matchers for alertmanager silences not properly parsed or read by console | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | David Caldwell <dcaldwel> |
| Component: | Management Console | Assignee: | Andrew Pickering <anpicker> |
| Status: | CLOSED ERRATA | QA Contact: | Junqi Zhao <juzhao> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | acathrow, anpicker, igoihman, jcaiani, jhadvig, juzhao |
| Target Milestone: | --- | ||
| Target Release: | 4.12.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-17 19:54:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
David Caldwell
2022-08-04 13:16:46 UTC
Reassigning to Andy since he is the most knowledgable regarding alerting and implemented the existing code. tested with 4.12.0-0.nightly-2022-10-25-210451, "Create silence" page, "Negative matcher" check box is added, tested with comment in Comment 5 sh-4.4$ amtool --alertmanager.url http://localhost:9093 silence add 'alertname!~.*signalilo.*' -a author -c amtooltest -d 2h ecf60de1-3320-4a97-990f-3eb38e38834d sh-4.4$ amtool --alertmanager.url http://localhost:9093 alert query Alertname Starts At Summary State sh-4.4$ amtool --alertmanager.url http://localhost:9093 silence query ID Matchers Ends At Created By Comment ecf60de1-3320-4a97-990f-3eb38e38834d alertname!~".*signalilo.*" 2022-10-27 08:15:46 UTC author amtooltest checked in console page, silence matcher is alertname!~.*signalilo.*, negative regex matcher is properly parsed by console. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:7399 |