Bug 1665030

Summary: Restart httpd after yum update
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Filip Balák <fbalak>
Component: doc-RHGS_Web_AdministrationAssignee: storage-doc
Status: CLOSED NOTABUG QA Contact: storage-qa-internal <storage-qa-internal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: asriram, dahorak, mbukatov, rhs-bugs, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-17 09:08:07 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: 1658245    
Bug Blocks:    

Description Filip Balák 2019-01-10 10:37:02 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.4/html-single/quick_start_guide/#red_hat_gluster_storage_web_administration_3_4_x_to_3_4_y

Section Number and Name: 
4.2. Red Hat Gluster Storage Web Administration 3.4.x to 3.4.y
On Web Administration Server

Describe the issue: 
In some cases there can be a problem when upgrading from BU1 as there were changed links to grafana from `http://server:3000` to `http://server/grafana`. `tendrl-upgrade` script is changing dashboards but it can run into problem because of not reloaded httpd configuration after `yum update`. Script can end with error:

  Clearing grafana dashboards 

  http://127.0.0.1/grafana/api/dashboards/db/cluster-dashboard
  Failed in deleting dashboards with error: Expecting value: line 1 column 1 (char 0)


Suggestions for improvement: 
Add another step:
  # systemctl restart httpd
between
  2.  Update all packages on the Web Administration server:
  # yum update
and
  3.  Run the tendrl-upgrade script:
  # tendrl-upgrade

Additional information:

Comment 2 Martin Bukatovic 2019-01-10 13:41:44 UTC
Proposing this as a blocker, because changes related to replacing '|' with ':'
are not pushed into RHGSWA Graphana based dashboards.

Comment 3 Martin Bukatovic 2019-01-10 13:56:16 UTC
(In reply to Martin Bukatovic from comment #2)
> Proposing this as a blocker, because changes related to replacing '|' with
> ':'
> are not pushed into RHGSWA Graphana based dashboards.

This applies to update from  3.4.1 to 3.4.3, update from 3.4.2 to 3.4.3 is
not directly affected, because there are no changes in dashboard definition
files between these versions.

Comment 4 Daniel Horák 2019-01-11 10:17:28 UTC
This change might not be necessary, it will depend on the resolution of Bug 1658245.

Comment 5 Martin Bukatovic 2019-01-17 09:08:07 UTC
Based on latest changes in tendrl update script as tracked via BZ 1658245,
changes in documentation as described in this BZ are no longer necessary.