Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1599634 - Expand cluster imports only one node
Expand cluster imports only one node
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: web-admin-tendrl-node-agent (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity high
: ---
: RHGS 3.4.0
Assigned To: Shubhendu Tripathi
Filip Balák
:
Depends On:
Blocks: 1503137
  Show dependency treegraph
 
Reported: 2018-07-10 05:04 EDT by Filip Balák
Modified: 2018-09-04 03:09 EDT (History)
6 users (show)

See Also:
Fixed In Version: tendrl-node-agent-1.6.3-9.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-04 03:08:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Expand task (93.92 KB, image/png)
2018-07-10 05:04 EDT, Filip Balák
no flags Details
1 - Node is expanded by task (82.59 KB, image/png)
2018-07-10 05:05 EDT, Filip Balák
no flags Details
2 - Node remains unmanaged (76.81 KB, image/png)
2018-07-10 05:05 EDT, Filip Balák
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Github Tendrl/node-agent/issues/840 None None None 2018-07-13 04:07 EDT
Red Hat Product Errata RHSA-2018:2616 None None None 2018-09-04 03:09 EDT

  None (edit)
Description Filip Balák 2018-07-10 05:04:26 EDT
Created attachment 1457720 [details]
Expand task

Description of problem:
When expand cluster job is triggered it imports only one node. After that it is marked as finished but the other node remains unmanaged and option expand is no longer possible. The node that remains unmangaged is the one that have created Host dashboard before Cluster Expand is triggered as described in BZ 1599630.


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


How reproducible:
100%

Steps to Reproduce:
1. Import cluster with 4 nodes into WA.
2. Add 2 more nodes to cluster and create distributed replicated volume.
3. Restart all nodes.
4. Expand cluster in WA.

Actual results:
Only one node is imported.

Expected results:
All nodes should be imported.

Additional info:
For configuration with created distributed-replicated volume it happens every time but when tried expand only with peer probe without any volume it imported all nodes.
Comment 1 Filip Balák 2018-07-10 05:05 EDT
Created attachment 1457721 [details]
1 - Node is expanded by task
Comment 2 Filip Balák 2018-07-10 05:05 EDT
Created attachment 1457722 [details]
2 - Node remains unmanaged
Comment 3 Shubhendu Tripathi 2018-07-13 03:34:27 EDT
This is actually not an issue with the expand flow. Rather what has happened in this scenario is that the one of nodes pending for expansion got elected as the provisioner of the cluster and so got removed from the list of expansion nodes.

It would need change in provisioner election logic and have an additional check to make sure nodes pending for expansion should not participate in the election.
Comment 4 Rohan Kanade 2018-07-13 04:07:33 EDT
Added upstream issue and PR: https://github.com/Tendrl/node-agent/pull/841
Comment 7 Shubhendu Tripathi 2018-07-16 23:03:44 EDT
Now with the fix the nodes pending for expansion cannot claim the provisioner tag, and so such issue where one node gets left out while expansion of cluster.
Comment 9 Martin Bukatovic 2018-07-17 13:58:17 EDT
This problem breaks expand RFE BZ 1516417.
Comment 10 Filip Balák 2018-07-23 09:35:05 EDT
Tested multiple times. Seems ok. --> VERIFIED

Tested with:
tendrl-ansible-1.6.3-5.el7rhgs.noarch
tendrl-api-1.6.3-4.el7rhgs.noarch
tendrl-api-httpd-1.6.3-4.el7rhgs.noarch
tendrl-commons-1.6.3-9.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-7.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-7.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-8.el7rhgs.noarch
Comment 12 errata-xmlrpc 2018-09-04 03:08:24 EDT
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

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