Red Hat Bugzilla – Bug 800829
Alert count not getting updated in overview section of monitor
Last modified: 2016-10-03 07:26:31 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I have 3 alerts in the zone called dev. see attached screenshot.alert count 3 is displayed in the dev zone.
but if you see on monitor page, the alert count is still displayed as 0.see attached screenshot.
on monitor page overview section,alert count should get updated
rpm -qa | grep aeolus
Created attachment 568249 [details]
alert count in zone
Created attachment 568257 [details]
alerts not updated on monitor
The difference is probably due to different criteria for inclusion in "alerts". We don't have true alerts yet, so that's just counting failed instances. The difference is for the pool/zone alerts, we show _all_ failures in the zone on instances the user is allowed to see (regardless of who launched it). For the monitor page, that's intended as a "personal" view, so the statistics are based on only those instances launched/owned by the current user.
In the case here, were the three failure attempts by the same user as is logged in for the 'monitor' screenshot? If so, this sounds like a documentation issue -- the problem is that the UI itself doesn't explain the exact meaning of the statistics (what's shown, etc). If failures in a pool/zone by the current logged-in user aren't showing up in the 'monitor' view, then it's more likely a software bug here.
I believe this has something to do with vanished state not being included in the failed_instance_count but that is merely speculation... I added matt for comment
I don't know that 'vanished' instances would show up differently in the two views. In the current code it looks like failures include "create_failed", "error", and "vanished"
In any case, there's no expectation/guarantee that all instances showing up in the pool failures list will show up on 'monitor', since the "pool" of instances that we pull from is different. "in this zone" vs. "launched by me", as outlined in comment #3.
Basically if the failures shown in the zone aren't launched by the current logged-in-user they're not supposed to show up on 'monitor', as the statistics are defined right now.
I wasn't able to reproduce this one: instance creation failure alerts are showed both at pools#index and pools#show
Could you please check if this bug still exists in master?