Bug 758439

Summary: Katello Dashboard System Subscription Status sum is inaccurate
Product: Red Hat Satellite Reporter: Eric Sammons <esammons>
Component: WebUIAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: cwelton, mmccune, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
katello-headpin-0.1.107-1.el6.noarch katello-cli-headpin-0.1.12-1.el6.noarch katello-headpin-all-0.1.107-1.el6.noarch thumbslug-0.0.18-1.fc15.noarch RHEL 6.2
Last Closed: 2012-08-22 18:09:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Eric Sammons 2011-11-29 19:51:54 UTC
Description of problem:
With a system subscribed successfully to headpin (or Katello) Total Systems will show 1 while all line items (including Current Subscriptions) still show 0.

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 6.2 (headpin)
Red Hat Enterprise Linux 6.2 (Consumer / Client)

How reproducible:
Every time.

Steps to Reproduce:
1. Register system to headpin
2. Subscribe system to headpin
3. Visit webui, note that the totals do not sum correctly
  
Actual results:
Totals do not sum correctly.


Expected results:
Totals should sum

Additional info:

Comment 1 Mike McCune 2011-11-30 16:45:36 UTC
as a side note, any system that is not RHEL should show as Green

Comment 2 Tom McKay 2011-12-01 18:49:19 UTC
commit 7b0a0d7f5a310705c116499508760335806409b9
Author: Tom McKay <thomasmckay>
Date:   Thu Dec 1 13:06:38 2011 -0500

    BZ#758439 https://bugzilla.redhat.com/show_bug.cgi?id=758439
    + Dashboard widget now reflects the proper number of systems: Red=false/invalid, Yellow=partial, Green=true/valid
    + Corrected logic in determining overall color of an individual system on System/Subscription tab
    + Corrected logic in determining color of installed products on System/Software tab

Comment 3 Mike McCune 2012-01-26 19:08:07 UTC
mass ON_QA move

Comment 5 Og Maciel 2012-02-24 20:21:53 UTC
Validated:
* candlepin-0.5.22-1.el6.noarch
* candlepin-tomcat6-0.5.22-1.el6.noarch
* katello-0.1.300-1.el6.noarch
* katello-all-0.1.300-1.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.100-2.el6.noarch
* katello-cli-common-0.1.100-2.el6.noarch
* katello-common-0.1.300-1.el6.noarch
* katello-configure-0.1.100-7.el6.noarch
* katello-glue-candlepin-0.1.300-1.el6.noarch
* katello-glue-foreman-0.1.300-1.el6.noarch
* katello-glue-pulp-0.1.300-1.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.7-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.267-2.el6.noarch
* pulp-admin-0.0.267-2.el6.noarch
* pulp-client-lib-0.0.267-2.el6.noarch
* pulp-common-0.0.267-2.el6.noarch
* pulp-selinux-server-0.0.267-2.el6.noarch