Bug 1224914

Summary: Redhat Satellite Providers configured system shows count as n,but displays n-1.
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: Aparna Karve <akarve>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: cpelland, hkataria, jhardy, kbrock, mfeifer, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1229414 (view as bug list) Environment:
Last Closed: 2015-12-08 13:11:47 UTC Type: Bug
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: 1229414    
Attachments:
Description Flags
totalconfiguredsystem
none
displayedconfiguresystem none

Description Aziza Karol 2015-05-26 08:04:51 UTC
Created attachment 1029800 [details]
totalconfiguredsystem

Description of problem:


Version-Release number of selected component (if applicable):
5.4.0.2

How reproducible:
100%

Steps to Reproduce:
1.Add Redhat satellite provider and click on it.
2.
3.

Actual results:
In total configured system column the count is 3, but when you click on it displays only 2. see attached screenshots

Expected results:
should display all the configured systems

Additional info:

Comment 1 Aziza Karol 2015-05-26 08:05:32 UTC
Created attachment 1029801 [details]
displayedconfiguresystem

Comment 2 Aziza Karol 2015-05-26 08:22:03 UTC
Satellite 6 itself is a configured system and isn't visible among configured systems

Comment 4 Harpreet Kataria 2015-05-26 14:01:39 UTC
Aparna,

Can you look into this, see if you can recreate, seems to be working for me.

Thanks,
~Harpreet

Comment 5 Keenan Brock 2015-05-26 19:40:37 UTC
One of the machines does not have a profile assigned.

In the providers view, we do not see systems with no provider.
If you go into the Configured Systems accordion view, you will see it.

This has hit a few people. Would be nice to fix the UI so users don't stumble upon this by default.

Comment 6 CFME Bot 2015-06-08 14:16:03 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/aa6e82c67d71ed0138f8cc3f755341409cd055df

commit aa6e82c67d71ed0138f8cc3f755341409cd055df
Author:     Aparna Karve <akarve>
AuthorDate: Mon Jun 1 15:46:55 2015 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Fri Jun 5 13:25:34 2015 -0700

    Display an unassigned configuration profile group in foreman tree & list
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1224914

 vmdb/app/controllers/application_controller.rb     |  12 +-
 .../app/controllers/provider_foreman_controller.rb | 142 +++++++++++++++++++--
 vmdb/app/helpers/application_helper.rb             |   5 +
 vmdb/app/presenters/tree_builder.rb                |   3 +
 vmdb/app/presenters/tree_builder_foreman.rb        |  30 ++++-
 vmdb/app/presenters/tree_node_builder.rb           |  14 +-
 .../layouts/quadicon/_quadicon_text.html.haml      |   4 +-
 .../views/layouts/quadicon/_single_quad.html.haml  |   4 +-
 .../provider_foreman_controller_spec.rb            |  68 +++++++++-
 9 files changed, 254 insertions(+), 28 deletions(-)

Comment 7 CFME Bot 2015-07-14 22:31:12 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=171ed4e42c14c3ccc15b7478247d2f8077a7f564

commit 171ed4e42c14c3ccc15b7478247d2f8077a7f564
Author:     Aparna Karve <akarve>
AuthorDate: Mon Jun 1 18:46:55 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Jul 14 18:13:27 2015 -0400

    Display an unassigned configuration profile group in foreman tree & list
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1224914
    (cherry picked from commit aa6e82c)

 vmdb/app/controllers/application_controller.rb     |  12 +-
 .../app/controllers/provider_foreman_controller.rb | 142 +++++++++++++++++++--
 vmdb/app/helpers/application_helper.rb             |   5 +
 vmdb/app/presenters/tree_builder.rb                |   3 +
 vmdb/app/presenters/tree_builder_foreman.rb        |  30 ++++-
 vmdb/app/presenters/tree_node_builder.rb           |  14 +-
 .../layouts/quadicon/_quadicon_text.html.haml      |   4 +-
 .../views/layouts/quadicon/_single_quad.html.haml  |   4 +-
 .../provider_foreman_controller_spec.rb            |  68 +++++++++-
 9 files changed, 254 insertions(+), 28 deletions(-)

Comment 8 Aziza Karol 2015-09-18 09:24:51 UTC
Verified in 5.5.0.1-alpha1.20150915151429_2230bd4.

Comment 10 errata-xmlrpc 2015-12-08 13:11:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2551