Bug 1506123

Summary: [RFE] UI controls to use context switcher
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Filip Balák <fbalak>
Component: web-admin-tendrl-uiAssignee: Neha Gupta <negupta>
Status: CLOSED ERRATA QA Contact: Martin Kudlej <mkudlej>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: fbalak, jefbrown, julim, mbukatov, nthomas, ppenicka, rcyriac
Target Milestone: ---Keywords: FutureFeature
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-ansible-1.6.1-2.el7rhgs.noarch.rpm, tendrl-api-1.6.1-1.el7rhgs.noarch.rpm, tendrl-commons-1.6.1-1.el7rhgs.noarch.rpm, tendrl-monitoring-integration-1.6.1-1.el7rhgs.noarch.rpm, tendrl-node-agent-1.6.1-1.el7, tendrl-ui-1.6.1-1.el7rhgs.noarch.rpm, Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 06:58:06 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: 1503132    
Attachments:
Description Flags
Hosts with switched context
none
Tasks with switched context none

Description Filip Balák 2017-10-25 08:02:41 UTC
Created attachment 1343113 [details]
Hosts with switched context

Description of problem:
Tendrl UI does not reflect switched context when there are more clusters available. From design documents (https://redhat.invisionapp.com/share/8QCOEVEY9#/screens/244738623) it looks like after context is changed to some cluster all options should be related to this cluster. For example after context is switched to one cluster then after I click on Hosts there should be hosts related only to this cluster. Right now it shows all hosts.

Version-Release number of selected component (if applicable):
tendrl-ansible-1.5.3-2.el7rhgs.noarch
tendrl-commons-1.5.3-1.el7rhgs.noarch
tendrl-api-1.5.3-2.el7rhgs.noarch
tendrl-notifier-1.5.3-1.el7rhgs.noarch
tendrl-selinux-1.5.3-2.el7rhgs.noarch
tendrl-node-agent-1.5.3-3.el7rhgs.noarch
tendrl-ui-1.5.3-2.el7rhgs.noarch
tendrl-grafana-plugins-1.5.3-2.el7rhgs.noarch
tendrl-monitoring-integration-1.5.3-2.el7rhgs.noarch
tendrl-grafana-selinux-1.5.3-2.el7rhgs.noarch
tendrl-api-httpd-1.5.3-2.el7rhgs.noarch
glusterfs-3.8.4-48.el7rhgs.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install web admin with 2 clusters
2. Swith context to 1 of them
3. Try to navigate to Events or Hosts

Actual results:
There are shown data and controls related to all clusters.

Expected results:
There should be data and controls related to cluster which context is selected.

Additional info:

Comment 2 Filip Balák 2017-10-25 08:03:21 UTC
Created attachment 1343114 [details]
Tasks with switched context

Comment 3 Nishanth Thomas 2017-11-07 08:28:05 UTC
This will be part of future release

Comment 4 Martin Kudlej 2017-11-07 09:05:36 UTC
I see that there is patch in upstream https://github.com/Tendrl/ui/pull/682

Comment 5 Petr Penicka 2017-11-08 13:54:00 UTC
Triage Nov 8: Needs PM input.

Comment 6 Ju Lim 2017-11-08 19:01:01 UTC
Per kmurarka in https://github.com/Tendrl/ui/pull/682, the Current code + patternfly.13 + concept B PR = Not breaking anything, but need time to integrate APIs and implement corresponding task and event views.

Comment 9 Petr Penicka 2017-11-15 16:46:33 UTC
Removing 3.3.z flags to remove this from 3.3.1 into 3.4.0 or a future 3.3.z async.

Comment 12 Filip Balák 2018-03-13 13:26:56 UTC
Looks ok. --> VERIFIED

Tested with:
tendrl-ansible-1.6.1-2.el7rhgs.noarch
tendrl-api-1.6.1-1.el7rhgs.noarch
tendrl-api-httpd-1.6.1-1.el7rhgs.noarch
tendrl-commons-1.6.1-1.el7rhgs.noarch
tendrl-grafana-plugins-1.6.1-1.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.1-1.el7rhgs.noarch
tendrl-node-agent-1.6.1-1.el7rhgs.noarch
tendrl-notifier-1.6.0-1.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.1-1.el7rhgs.noarch

Comment 13 Martin Bukatovic 2018-04-04 12:07:54 UTC
This is a RFE for feature known as Concept B Context Switcher, correct?

Comment 14 Filip Balák 2018-04-04 12:11:40 UTC
@mbukatov Yes.

Comment 16 errata-xmlrpc 2018-09-04 06:58:06 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-2018:2616