Bug 1368543 - C&U collection tab can sometimes be blank
Summary: C&U collection tab can sometimes be blank
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Harpreet Kataria
QA Contact: Nandini Chandra
URL:
Whiteboard: ui:c&u
Depends On:
Blocks: 1371269
TreeView+ depends on / blocked
 
Reported: 2016-08-19 17:08 UTC by Nandini Chandra
Modified: 2017-01-12 04:58 UTC (History)
9 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1371269 (view as bug list)
Environment:
Last Closed: 2017-01-11 19:50:41 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nandini Chandra 2016-08-19 17:08:26 UTC
Description of problem:
----------------------
C&U collection tab can sometimes be blank.

On some of my appliances, the C&U collection tab is blank.But, on some other appliances, the page is rendered correctly.

This issue is seen in the upstream build as well.
https://github.com/ManageIQ/manageiq/issues/10617

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


How reproducible:
----------------
Always


Steps to Reproduce:
-------------------
1.Manage a provider.
2.Navigate to the Settings page.Click 'CFME Region'
3.Click 'C&U collection' tab.


Actual results:
---------------
C&U collection tab can sometimes be blank.


Expected results:
----------------
C&U collection tab should be rendered correctly.


Additional info:
----------------

Comment 2 Nandini Chandra 2016-08-19 17:15:54 UTC
It looks like the C&U collection tab is blank when the first provider added is a cloud provider.

Comment 4 Nandini Chandra 2016-08-22 19:18:03 UTC
From my initial investigation, it looks like the C&U collection tab is blank when the first provider added is a cloud provider.

Comment 5 Jeff Teehan 2016-08-22 19:39:54 UTC
I just want to update this with some of my observations.

Several of us saw the screen blank screen in 5.6.1.1 and in the most recent upstream nightly.  However, my 5.6.1.2 version which we shipped does display the page correctly and I have a video to prove it.  https://10.16.7.200/ops/explorer

The concern on my part is that it both does and doesn't work despite a lack of a change to explain the difference.  Perhaps it as a build issue or a sequence in the steps.

We should assume this is a bug even if the viewer doesn't see the issue given the diverse set of environments where it wasn't working.  Thanks.

Comment 6 Harpreet Kataria 2016-08-23 13:10:32 UTC
Nandini,

I am not able to recreate this in my environment, can you please provide an access to your appliance where i can recreate and try to understand the issue.

Thanks,
~Harpreet

Comment 7 Nandini Chandra 2016-08-23 19:54:47 UTC
Unfortunately,I don't have the appliance on which I saw this issue and I'm unable to recreate this issue in 5.6.1.2.

I'm setting NEEDINFO for Jeff Teehan so that he can update this BZ with appliance IP if he runs into this issue again.

I think we should keep the BZ open for a few days.

Comment 9 Harpreet Kataria 2016-08-23 21:52:43 UTC
https://github.com/ManageIQ/manageiq/pull/10716

Comment 10 CFME Bot 2016-08-25 22:06:06 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9c82595f5d0cb0efa6652a5989ad9a404b9917a2

commit 9c82595f5d0cb0efa6652a5989ad9a404b9917a2
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Aug 23 17:49:28 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Aug 23 17:49:28 2016 -0400

    Changes to not build Clusters/Storages tree when there is no data in db
    
    Make sure that there are clusters & datastores before building tree each tree.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1368543

 .../ops_controller/settings/cap_and_u.rb           | 12 ++++++--
 .../ops_controller/settings/cap_and_u_spec.rb      | 34 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 2 deletions(-)
 create mode 100644 spec/controllers/ops_controller/settings/cap_and_u_spec.rb

Comment 12 Nandini Chandra 2016-08-30 21:02:44 UTC
Clearing the NEEDINFO since Harpreet has made a commit to address this issue.

Comment 13 CFME Bot 2016-09-01 01:16:27 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/19d733ca484a964ad186d9bc3ea432a3e586bf70

commit 19d733ca484a964ad186d9bc3ea432a3e586bf70
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Aug 23 17:49:28 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Aug 30 16:41:35 2016 -0400

    Changes to not build Clusters/Storages tree when there is no data in db
    
    Make sure that there are clusters & datastores before building tree each tree.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1368543
    (cherry picked from commit 9c82595)

 .../ops_controller/settings/cap_and_u.rb           |  4 +--
 .../ops_controller/settings/cap_and_u_spec.rb      | 34 ++++++++++++++++++++++
 2 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 spec/controllers/ops_controller/settings/cap_and_u_spec.rb

Comment 14 Nandini Chandra 2016-10-03 17:42:55 UTC
Verified in 5.7.0.1


Note You need to log in before you can comment on or make changes to this bug.