web
web copied to clipboard
Incorrect silenced state reflected in the status icon
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.

Possible Solution
Reconsider how we store silenceds, reconsider how silenceds work on proxy entities (no subscriptions).
Steps to Reproduce (for bugs)
-
sensuctl entity create delete1 --entity-class proxy
- Navigate to the entities page.
- Silence the proxy entity.
- 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