Bug 1652844 - Update one active silence would expire it and re-create another silence
Summary: Update one active silence would expire it and re-create another silence
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.1.0
Assignee: Frederic Branczyk
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-23 09:15 UTC by Junqi Zhao
Modified: 2019-06-04 10:41 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-04 10:41:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
before update silence (83.73 KB, image/png)
2018-11-23 09:15 UTC, Junqi Zhao
no flags Details
the old silence becomes expired, and one new active silence is created after updating silence (97.65 KB, image/png)
2018-11-23 09:16 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0758 0 None None None 2019-06-04 10:41:08 UTC

Description Junqi Zhao 2018-11-23 09:15:37 UTC
Created attachment 1508235 [details]
before update silence

Description of problem:
This bug is cloned from https://jira.coreos.com/browse/MON-478
File it again for QE team to track the monitoring issue.

Update one active silence would expire it and re-create another active silence

see the attached before_update_silence.png,  there is one active KubeletTooManyPods silence, update the silence, the old silence becomes expired, and one new active silence is created. see the attached after_update_silence.png




Version-Release number of selected component (if applicable):
docker.io/grafana/grafana:5.2.4
docker.io/openshift/oauth-proxy:v1.1.0
docker.io/openshift/prometheus-alertmanager:v0.15.2
docker.io/openshift/prometheus-node-exporter:v0.16.0
docker.io/openshift/prometheus:v2.5.0
docker.io/openshift/prometheus:v2.5.0
quay.io/coreos/configmap-reload:v0.0.1
quay.io/coreos/kube-rbac-proxy:v0.4.0
quay.io/coreos/kube-state-metrics:v1.4.0
quay.io/coreos/prom-label-proxy:v0.1.0
quay.io/coreos/prometheus-config-reloader:v0.25.0
quay.io/coreos/prometheus-operator:v0.25.0
quay.io/openshift/origin-cluster-monitoring-operator:v4.0

How reproducible:
Always

Steps to Reproduce:
1. Update one active silence
2.
3.

Actual results:
The old silence becomes expired, and one new active silence is created.

Expected results:
The old silence should be updated, not becomes expired, and don't create another new active silence.

Additional info:

Comment 1 Junqi Zhao 2018-11-23 09:16:42 UTC
Created attachment 1508238 [details]
the old silence becomes expired, and one new active silence is created after updating silence

Comment 2 Junqi Zhao 2018-11-23 09:18:50 UTC
@Andy Pickering

Comment 3 Junqi Zhao 2018-11-26 00:34:16 UTC
Same issue for the pending silence

Comment 4 Junqi Zhao 2018-11-26 01:36:23 UTC
Please ignore Comment 3, no such issue for the pending silence

Comment 5 Frederic Branczyk 2018-11-26 12:56:33 UTC
That is the correct behavior by Alertmanager, maybe we should adapt the UI a bit to make expired silences more distinct.

Comment 6 minden 2018-11-26 13:19:27 UTC
Maybe instead of offering an "update" button, we could display an "expire & create new" button?

Comment 7 Junqi Zhao 2019-01-17 06:32:59 UTC
Close this defect since the cloned one https://jira.coreos.com/browse/MON-478 is fixed

Comment 10 errata-xmlrpc 2019-06-04 10:41:02 UTC
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, 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/RHBA-2019:0758


Note You need to log in before you can comment on or make changes to this bug.