Bug 1665030 - Restart httpd after yum update
Summary: Restart httpd after yum update
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-RHGS_Web_Administration
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: storage-doc
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On: 1658245
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-10 10:37 UTC by Filip Balák
Modified: 2019-02-11 04:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-17 09:08:07 UTC
Embargoed:


Attachments (Terms of Use)

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.


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