Bug 1611991

Summary: Unmanage information and confirmation popups are created multiple times
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Daniel Horák <dahorak>
Component: web-admin-tendrl-uiAssignee: Neha Gupta <negupta>
Status: CLOSED ERRATA QA Contact: Filip Balák <fbalak>
Severity: low Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: fbalak, mbukatov, nthomas, rhs-bugs, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.z Batch Update 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-ui-1.6.3-12.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-17 17:06:56 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:
Attachments:
Description Flags
01 - Clusters page with three imported clusters
none
02 - First unmanage cluster information dialog
none
03 - First unmanage cluster confirmation dialog on top and in background second Information dialog none

Description Daniel Horák 2018-08-03 08:09:13 UTC
Created attachment 1472902 [details]
01 - Clusters page with three imported clusters

Description of problem:
  This issue is closely similar to Bug 1599291 and Bug 1610668, this time it
  is related to unmanaging one cluster, when there are available two or more
  clusters.

  Normal "unamange cluster" scenario shows two pop-ups:
  1. Information Unmanage cluster consequences,
  2. Confirmation about submitted Unamange cluster job

  But when there are more than one cluster available in RHGS WA, each of those
  pop-ups are displayed multiple times.

Version-Release number of selected component (if applicable):
  tendrl-ansible-1.6.3-6.el7rhgs.noarch
  tendrl-api-1.6.3-5.el7rhgs.noarch
  tendrl-api-httpd-1.6.3-5.el7rhgs.noarch
  tendrl-commons-1.6.3-11.el7rhgs.noarch
  tendrl-grafana-plugins-1.6.3-8.el7rhgs.noarch
  tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
  tendrl-monitoring-integration-1.6.3-8.el7rhgs.noarch
  tendrl-node-agent-1.6.3-9.el7rhgs.noarch
  tendrl-notifier-1.6.3-4.el7rhgs.noarch
  tendrl-selinux-1.5.4-2.el7rhgs.noarch
  tendrl-ui-1.6.3-9.el7rhgs.noarch

How reproducible:
  100%

Steps to Reproduce:
1. Prepare two or three (or more) Gluster Trusted Storage Pools
2. Install and configure RHGS WA Server and RHGS WA Node Agents on all nodes
    from the Gluster Trusted Storage Pools.
3. Import all the available clusters into RHGS WA.
4. Unmanage one of the clusters from RHGS WA.

Actual results:
  Both Unmanage Cluster information and confirmation dialogs are displayed
  multiple times.

Expected results:
  Each pop-up window should be shown only once.

Additional info:

Comment 1 Daniel Horák 2018-08-03 08:10:10 UTC
Created attachment 1472903 [details]
02 - First unmanage cluster information dialog

Comment 2 Daniel Horák 2018-08-03 08:11:34 UTC
Created attachment 1472905 [details]
03 - First unmanage cluster confirmation dialog on top and in background second Information dialog

This is repeated multiple times.

Comment 6 Filip Balák 2018-11-12 13:40:30 UTC
Both dialogs work as expected. --> VERIFIED

Tested 3 cluster setup with:
tendrl-api-1.6.3-8.el7rhgs.noarch
tendrl-node-agent-1.6.3-11.el7rhgs.noarch
tendrl-ui-1.6.3-12.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-15.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-ansible-1.6.3-9.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-api-httpd-1.6.3-8.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-15.el7rhgs.noarch
tendrl-commons-1.6.3-13.el7rhgs.noarch
Firefox Version 63.0
Chromium 69.0.3497.100

Comment 7 errata-xmlrpc 2018-12-17 17:06:56 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:3829