UI: Review Health Widget to remove unnecessary Warning states
#5 Updated by John Spray almost 8 years ago
Aide memoire: the issue here is that if we remove the HEALTH_WARN etc state outright, we would fail to report some classes of error which aren't captured in our other widgets. The interface by which ceph gives us health data is problematic (because it spams us with large number of detail messages in some cases), but it's better to raise an error with no info than to pretend the system is healthy when it's not.
#10 Updated by Neil Levine almost 8 years ago
The proposal is to only show 2 states for the Health widget: OK/Green and ERROR/Red i.e. don't have a WARN/Orange State.
If Ceph Health returns OK, the show OK/Green, no context.
If Ceph Health returns ERROR, then show ERROR/Red, with the context line showing the information provided by Ceph.
If Ceph Health returns WARN, then show OK/Green, but use the context line to show the warning information provided by Ceph.