web icon indicating copy to clipboard operation
web copied to clipboard

Incorrect silenced state reflected in the status icon

Open nikkictl opened this issue 5 years ago • 0 comments

Silencing proxy entities.. what do we do?

Expected Behavior

From the entities page, I should be able to silence a proxy entity. That proxy entity should reflect a silenced state with the silenced icon after it's created.

Current Behavior

From the entities page, I am able to silence a proxy entity. However the proxy entity does not reflect the silenced state with the silenced icon after it's created.

screen shot 2019-03-07 at 1 17 49 pm

Possible Solution

Reconsider how we store silenceds, reconsider how silenceds work on proxy entities (no subscriptions).

Steps to Reproduce (for bugs)

  1. sensuctl entity create delete1 --entity-class proxy
  2. Navigate to the entities page.
  3. Silence the proxy entity.
  4. Observe the silenced state icon has not appeared for that entity.

Context

Correct state should be reflected.

Web UI Stack Trace:

at ApolloError (/static/js/main.40965d7d.js:7) at next (/static/js/main.40965d7d.js:60) at notifySubscription (/static/js/main.40965d7d.js:60) at onNotify (/static/js/main.40965d7d.js:60) at next (/static/js/main.40965d7d.js:60) at next ([native code]:undefined) at notifySubscription (/static/js/main.40965d7d.js:60) at onNotify (/static/js/main.40965d7d.js:60) at next (/static/js/main.40965d7d.js:60) at next ([native code]:undefined) at forEach ([native code]:undefined) at undefined (/static/js/main.40965d7d.js:66) at forEach ([native code]:undefined) at next (/static/js/main.40965d7d.js:66) at notifySubscription (/static/js/main.40965d7d.js:60)

Your Environment

  • Sensu version used (sensuctl, sensu-backend, and/or sensu-agent): https://github.com/sensu/sensu-go/commit/5a4279f1cf063e9b97cd286b8d2e9165d67486a1
  • Installation method (packages, binaries, docker etc.): packages
  • Operating System and version (e.g. Ubuntu 14.04): ubuntu 16

nikkictl avatar Mar 07 '19 21:03 nikkictl