You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it Web UI or Silenced API issue, but it does not seem correct anyway.
Expected Behavior
I expect silences to expire on time.
Current Behavior
Entity silence item Expires: 2 hours ago.
Steps to Reproduce
silences were created with custom handler.
Each silence was created twice, with the same payload, with few minutes delay between calls.
First call returned 201 , 2nd call returned 409 Conflict
Not sure if it is web-ui or API issue, here is silenced items raw:
I made sure handler is eceuted only once and I updated handler to set begin = time.Now() , but issue still remains - UI still shows some items to expire in the past Expires: 8 minutes ago
I've monitored expiration via sensuctl, and can tell that sensuctl output always shows correct Begin and Expire values,
and silenced item is resolved in-time.
# date && sensuctl silenced list
Fri Dec 11 13:35:30 UTC 2020
Name Subscription Check Begin Expire ExpireOnResolve Creator Reason Namespace
──────────────────────────────── ────────────────────────────── ─────── ────────────────────── ──────── ───────────────── ───────── ────────────────────────────── ───────────
entity:nginx-bbd465f66-xpcwf:* entity:nginx-bbd465f66-xpcwf 2020-12-11T13:33:10Z 39s false admin sensu-silence-entity-handler default
So this is clearly web-ui issue - at some point is starts to display elapsed value (Begin - Expire) instead of Expire value.
I've got a few silenced items, with Expires time is in the past (see pic):
https://i.imgur.com/OpIY1Tf.jpg
Not sure if it Web UI or Silenced API issue, but it does not seem correct anyway.
Expected Behavior
I expect silences to expire on time.
Current Behavior
Entity silence item Expires: 2 hours ago.
Steps to Reproduce
silences were created with custom handler.
Each silence was created twice, with the same payload, with few minutes delay between calls.
First call returned
201
, 2nd call returned409 Conflict
Not sure if it is web-ui or API issue, here is silenced items raw:
Your Environment
The text was updated successfully, but these errors were encountered: