Red Hat Bugzilla – Bug 805748
The statistic of system on "Dashboard" is inconsistent with "Systems".
Last modified: 2012-08-22 10:54:21 EDT
Description of problem:
The total systems statistic on Dashboard is 6, but on Systems tab page is 7.
The total systems on Dashboard may be not contains ESX system.
See the attachments.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install some hosts (include kvm, xen, rhev-h, ESX) and guests.
2.Register all the hosts to SAM and subscribe some system to SAM.
3.Check the total systems on "Dashboard" and "System" tab page
The statistic of system in "Dashboard" is inconsistent with "Systems".
The statistic of system in "Dashboard" is consistent with "Systems".
Created attachment 571899 [details]
Total system in Dashboard
Created attachment 571901 [details]
Total system in Systems
(In reply to comment #0)
> Description of problem:
> The total systems statistic on Dashboard is 6, but on Systems tab page is 7.
> The total systems on Dashboard may be not contains ESX system.
The number of systems on Dashboard does not change when I remove the ESX system from Systems. But if I remove other systems, the number of systems on Dashboard will change.
I was able to reproduce this bug using an esx client and virt-who on another machine. From the database, here's whats happening:
8a8b67c73654462c0136555deee80339 | 2012-03-27 14:14:41.128 | 2012-03-27 14:14:41.769 | t | valid | | ueber_cert_consumer | | | admin | 7a968642-61af-4d2
7-a799-23f3002abd75 | | | 8a8b67c73654462c0136555df164033c | 8a8b67c73654462c0136544709fd0001 | 8a8b67c7365445f60136544607760001
8a8b67c73654462c0136555718fb0332 | 2012-03-27 14:07:13.147 | 2012-03-27 14:17:45.539 | t | invalid | 2012-03-27 14:17:45.539 | maccy | | | admin | 0c83885e-eb31-4b5
a-9533-5bb3337800c2 | 2 | 8a8b67c73654462c013655571c9d0335 | 8a8b67c73654462c013655571c7d0334 | 8a8b67c73654462c0136544709fd0001 | 8a8b67c7365445f60136544607760001
8a8b67c73654462c0136558a3e67038d | 2012-03-27 15:03:05.063 | 2012-03-27 15:03:06.062 | t | invalid | | localhost.localdomain | | | admin | 90aa32f6-3296-404
9-9eca-1ff7ded39937 | 2 | 8a8b67c73654462c0136558a42320390 | 8a8b67c73654462c0136558a420c038f | 8a8b67c73654462c0136544709fd0001 | 8a8b67c7365445f60136544607760001
Maccy is the third party running virt-who and localhost.localdomain is the esx client. The problem is that it creates an extra consumer called ueber_cert_consumer. The front page, dashboard, calls "owner info" to get the list of consumers, which returns this. The systems page just looks to elasticsearch, which has not registered an ueber_cert_consumer and thus shows one less than the front page.
This is not exactly a duplicate, but is a similar problem, of bz 805027
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
When using virt-who or the ueber certificate, the system count will be incremented. This will be fixed in a future release.
The bug has been fixed and passed.
my Version-Release number of selected components:
Created attachment 585951 [details]
total system in System before i delete the ESX
Created attachment 585952 [details]
total system in DAshboard before i delete the ESX
Created attachment 585953 [details]
total system in Dashboard after i delete the ESX
Created attachment 585954 [details]
total system in System after i delete the ESX