Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1559364 - The flow ExpandClusterWithDetectedPeers should be targeted to provisioner node in cluster
The flow ExpandClusterWithDetectedPeers should be targeted to provisioner nod...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: web-admin-tendrl-commons (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.4.0
Assigned To: Shubhendu Tripathi
Filip Balák
:
Depends On:
Blocks: 1503137
  Show dependency treegraph
 
Reported: 2018-03-22 08:00 EDT by Shubhendu Tripathi
Modified: 2018-09-04 03:02 EDT (History)
5 users (show)

See Also:
Fixed In Version: tendrl-commons-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 03:00:53 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github https://github.com/Tendrl/commons/pull/873 None None None 2018-03-28 08:19 EDT
Red Hat Product Errata RHSA-2018:2616 None None None 2018-09-04 03:02 EDT

  None (edit)
Description Shubhendu Tripathi 2018-03-22 08:00:06 EDT
Description of problem:
Currently the job is being taregeted at specific node. Rather it should be targeted at provisioner node in the cluster.

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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
The job doesn't get picked properly

Expected results:
The job should be picked and processed by provisioner node in cluster

Additional info:
Comment 2 Martin Bukatovic 2018-03-28 05:33:39 EDT
Could you provide more details about:

* More details which would help us to come up with reproducer scenario.
* Link to upstream merge request.
Comment 3 Shubhendu Tripathi 2018-03-28 08:19:09 EDT
Martin,

So earlier the expand cluster was being triggered automatically the moment a new peer was being detected in the system. This was causing issue where tendrl-node-agent might be running on the new node yet and there were more chances of import timing out for the new node as there is no node agent to pick and process the task. To fix this we came with solution for BZ#1559368 which makes expand cluster a user triggered action.

So earlier when the expansion was an automatic thing, the logic was to find the node-id of the provisioner node and target the task to the node with tag `tendrl/node_{node-id}`. The same doesn't work if its user triggered action as API would need to figure out this node-id for the provisioner and then target the job to the specific node. To ease this process in definition we mention this task to be targeted to a node with tag `provisioner/{integration-id}`.

This BZ does this fix only. Added link to the upstream PR which fixes this issue.
Comment 4 Martin Bukatovic 2018-03-29 04:26:07 EDT
I'm going to provide conditional qe_ack with following assumptions:

* dev team must have done code walkthrough or sanity unit validation of
  the change described in this BZ
* qe team will verify this BZ by running functional testing for BZ 1559368
  and check that the import task is targeted to provisioner node

Does dev team agree?
Comment 5 Nishanth Thomas 2018-03-29 04:27:42 EDT
Ack
Comment 9 Filip Balák 2018-05-23 06:28:10 EDT
Seems ok. Job is correctly locked by provisioner node. --> 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 11 errata-xmlrpc 2018-09-04 03:00:53 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.