Bug 1559368

Summary: The expand cluster flow for cluster should be user initiated and not automatic
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shubhendu Tripathi <shtripat>
Component: web-admin-tendrl-node-agentAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED ERRATA QA Contact: Filip Balák <fbalak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: amukherj, fbalak, mbukatov, nthomas, rhs-bugs
Target Milestone: ---   
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-commons-1.6.1-3.el7rhgs, tendrl-api-1.6.1-3.el7rhgs, tendrl-ui-1.6.1-3.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 07:01:53 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: 1503137    

Description Shubhendu Tripathi 2018-03-22 12:14:58 UTC
Description of problem:
Currently when new nodes are peer probed in cluster automatically an expansion is triggered in backend and if tendrl-node-agent is not installed and started well within time the expansion job used to mostly timed out. Rather the expansion of cluster should be user triggered based on new nodes notified in the UI.

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


How reproducible:
Most of the cases if tendrl-node-agent doesnt get installed and started on additional nodes well within time

Steps to Reproduce:
1. Create a 2 node gluster cluster
2. Import the cluster in tendrl
3. Peer probe two additional nodes to the gluster cluster from CLI
4. Wait for say 30 mins and then install and start tendrl-node-agent on additional nodes
5. Check the expand cluster job on UI

Actual results:
The job is timed out

Expected results:
The expand job should be possible to trigger from UI. Once peers are added to the cluster from CLI UI should notify about the new peers found in the cluster. Once user runs tendrl-ansible for the new nodes and node-agent the UI should mark the cluster as expand pending. At this stage user should be able to trigger expansion from UI and it should be successful.

Additional info:

Comment 2 Martin Bukatovic 2018-03-28 09:49:33 UTC
This will be verified during feature testing of expand cluster.

Comment 7 Filip Balák 2018-05-23 10:29:27 UTC
Looks ok. --> VERIFIED

Tested with:
tendrl-ansible-1.6.3-4.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-commons-1.6.3-5.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-3.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-3.el7rhgs.noarch
tendrl-node-agent-1.6.3-5.el7rhgs.noarch
tendrl-notifier-1.6.3-3.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-2.el7rhgs.noarch

Comment 9 errata-xmlrpc 2018-09-04 07:01:53 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