Red Hat Bugzilla – Bug 1005091
mismatch in systems count reported by dashboard for all orgs and by Splice report
Last modified: 2013-09-06 09:30:05 EDT
Description of problem:
There is a mismatch in systems count reported by dashboard for all orgs and by Splice report.
Version-Release number of selected component (if applicable):
SAM 1.3 snapshot #4
always on mine installation
Steps to Reproduce:
1. Setup SAM with Splice and sync data from big Satellite 5.6.0 instalce
2. Compare sum of systems displayed for all synced organizations on Dashborad
to count mentioned in Splice report (Administer -> Reports -> Red Hat
Default Report -> Run Report)
Org1: Total Systems: 359
Org2: Total Systems: 206
Org3: Total Systems: 13
Org4: Total Systems: 1301
Org5: Total Systems: 0
Org6: Total Systems: 0
Enhanced Entitlement Report
Subscribed Systems: 2500
Numbers should match.
Importing data into SAM might have been affected by bug 1004954 which happened and was reported before I have noted this.
If you do a katello-configure to reset your db, you have to clear your mongodb as well. If you run the following, you should get correct data in the report:
# mongo checkin-service
# sudo su - splice -s /bin/bash
$ spacewalk-splice-checkin --splice-sync
Closing as notabug, but please re-open if the above doesn't fix the issue.
Sorry, I misread your comment in 1004954.
What I believe happened is that you have duplicate entries due to #1004954. Running the same steps as above should clean them out.