Bug 1559402

Summary: Data not required for start/stop profiling
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Kanika Murarka <kmurarka>
Component: web-admin-tendrl-uiAssignee: Nishanth Thomas <nthomas>
Status: CLOSED ERRATA QA Contact: Daniel Horák <dahorak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: amukherj, dahorak, mbukatov, negupta, rhs-bugs
Target Milestone: ---   
Target Release: RHGS 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-ui-1.6.1-3.el7rhgs.src.rpm 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 Kanika Murarka 2018-03-22 13:28:35 UTC
Description of problem:
'Data' send in Post request for volume profiling is not required.

Version-Release number of selected component (if applicable):
tendrl-ui-1.6.1-1.el7rhgs.noarch

Comment 2 Martin Bukatovic 2018-03-28 09:16:35 UTC
QE notes about reproducer:

* try to enable and disable profiling via Tendrl UI
* while having web dev. console running

And check that errors don't appear during processing related api requests.

Comment 5 Daniel Horák 2018-05-17 12:33:41 UTC
Tested and Verified on:
  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-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

Enabling or Disabling Volume level profiling doesn't send any data in the POST request 
  /api/1.0/clusters/<cluster-id>/volumes/<volume-id>/{start_profiling,stop_profiling}


NOTE:
  Enabling or Disabling Cluster vide volume profiling sends following data:
    {"Cluster.volume_profiling_flag":"disable"}
  or
    {"Cluster.volume_profiling_flag":"enable"}
  in the POST request /api/1.0/clusters/<cluster-id>/profiling, which is expected.

>> VERIFIED

Comment 7 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