Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1546957 - Get profiling status during the sync
Get profiling status during the sync
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: web-admin-tendrl-gluster-integration (Show other bugs)
3.4
Unspecified Unspecified
unspecified Severity unspecified
: ---
: RHGS 3.4.0
Assigned To: Shubhendu Tripathi
Filip Balák
:
Depends On: 1537357
Blocks: 1503137
  Show dependency treegraph
 
Reported: 2018-02-20 02:00 EST by Nishanth Thomas
Modified: 2018-09-04 03:02 EDT (History)
6 users (show)

See Also:
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 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
Red Hat Product Errata RHSA-2018:2616 None None None 2018-09-04 03:02 EDT

  None (edit)
Description Nishanth Thomas 2018-02-20 02:00:30 EST
From gluster 3.4 onwards there is going to a flag saying if profiling is enabled for a volume in get-state command output.
Backend needs to undergo changes to support this third option while import cluster. If this option selected during import cluster flow, the tendrl should retain the mixed profiling enabled state for the individual volumes and mark the cluster level profiling enabled information as mixed.

Also backend should be backward compatible which makes sure, even if we dont have get-state returning profile info a volume level, leave the cluster as is and don't mark for individual volumes.
Comment 2 Shubhendu Tripathi 2018-03-04 21:32:25 EST
Now while state sync in tendrl-gluster-integration, the volume specific profiling flag would be considered and accordingly cluster level value would be set. Now while import cluster, there are three options namely Enable Volume Profiling, Disable Volume Profiling, retain as is. 

If user selects Enable volume proifling, during state sync for all the volumes profiling would get enabled (even if for few it was already enabled they would be left as is and for rest of the volumes profiling would be enabled).

If user selects Disable Volume profiling option while import cluster, even if few volumes have it enabled during state sync for all the volumes profiling would be disabled.

If use opts for retaining volume profiling as is while import cluster, individual volume level values are retained and based on that cluster level value is set Enabled (if for all volumes underlying profiling is enable), Disabled (if for all underlying volumes profiling is disabled) or mixed (if for few volumes profiling is enabled and for few its disabled).

Also volume level profiling can now be enabled/disabled with actions available now.
Comment 3 Shubhendu Tripathi 2018-03-04 21:32:51 EST
Now while state sync in tendrl-gluster-integration, the volume specific profiling flag would be considered and accordingly cluster level value would be set. Now while import cluster, there are three options namely Enable Volume Profiling, Disable Volume Profiling, retain as is. 

If user selects Enable volume proifiling, during state sync for all the volumes profiling would get enabled (even if for few it was already enabled they would be left as is and for rest of the volumes profiling would be enabled).

If user selects Disable Volume profiling option while import cluster, even if few volumes have it enabled during state sync for all the volumes profiling would be disabled.

If use opts for retaining volume profiling as is while import cluster, individual volume level values are retained and based on that cluster level value is set Enabled (if for all volumes underlying profiling is enable), Disabled (if for all underlying volumes profiling is disabled) or mixed (if for few volumes profiling is enabled and for few its disabled).

Also volume level profiling can now be enabled/disabled with actions available now.
Comment 4 Martin Bukatovic 2018-04-04 03:50:55 EDT
The BZ seems to block some gluster BZ, but this looks like an
error and it should be vice versa. Could you check and fix it if needed?
Comment 7 Filip Balák 2018-05-17 04:47:51 EDT
Profiling seems to be correctly set on cluster and on volume level.
--> VERIFIED

Tested with:
tendrl-ansible-1.6.3-3.el7rhgs.noarch
tendrl-api-1.6.3-3.el7rhgs.noarch
tendrl-api-httpd-1.6.3-3.el7rhgs.noarch
tendrl-commons-1.6.3-4.el7rhgs.noarch
tendrl-gluster-integration-1.6.3-2.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-2.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-2.el7rhgs.noarch
tendrl-node-agent-1.6.3-4.el7rhgs.noarch
tendrl-notifier-1.6.3-2.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-1.el7rhgs.noarch
glusterfs-3.12.2-10.el7rhgs.x86_64
Comment 9 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.