Bug 1680576 - Change redirect directive in apache.vhost.sample file
Summary: Change redirect directive in apache.vhost.sample file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-api
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: RHGS 3.4.z Batch Update 4
Assignee: gowtham
QA Contact: Filip Balák
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-25 10:53 UTC by gowtham
Modified: 2019-03-27 03:51 UTC (History)
6 users (show)

Fixed In Version: tendrl-api-1.6.3-13.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-27 03:49:38 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl api issues 460 0 None None None 2019-02-25 10:56:31 UTC
Red Hat Product Errata RHBA-2019:0660 0 None None None 2019-03-27 03:51:10 UTC

Description gowtham 2019-02-25 10:53:58 UTC
Description of problem:

Redirect directive in [`/etc/httpd/conf.d/tendrl-ssl.conf`] contains `ssl_virtualhost_ip`:


     #Redirect permanent / https://%ssl_virtualhost_ip%/


This should be changed to indicate that the expected value is a hostname (fqdn).


Version-Release number of selected component (if applicable):
tendrl-api-1.6.3-12.el7rhgs

How reproducible:
100%

Steps to Reproduce:
1. Run tendrl ansible to install all tendrl components
2. vi /etc/httpd/conf.d/tendrl-ssl.conf and check redirection line
3.

Actual results:
tendrl-ssl.conf file have redirection line with %ssl_virtualhost_ip%

Expected results:
This should be changed to indicate that the expected value is a hostname like
#Redirect permanent / https://%hostname(fqdn)%/

Additional info:

Comment 2 Martin Bukatovic 2019-02-27 13:32:05 UTC
This will be tested based on conclusion reached in upstream.

Comment 5 Filip Balák 2019-03-05 13:25:52 UTC
Redirection line in /etc/httpd/conf.d/tendrl.conf is changed to:
 #Redirect permanent / https://%ssl_virtualhost_fqdn%/

/etc/httpd/conf.d/00_tendrl-ssl.conf.sample contains __default__ in block header:
 <VirtualHost _default_:443>
as requested in upstream discussion: https://github.com/Tendrl/api/pull/461#discussion_r259746830

--> VERIFIED

Tested with:
tendrl-ansible-1.6.3-11.el7rhgs.noarch
tendrl-api-1.6.3-13.el7rhgs.noarch
tendrl-api-httpd-1.6.3-13.el7rhgs.noarch
tendrl-commons-1.6.3-17.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-21.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-3.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-21.el7rhgs.noarch
tendrl-node-agent-1.6.3-18.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-selinux-1.5.4-3.el7rhgs.noarch
tendrl-ui-1.6.3-15.el7rhgs.noarch

Comment 7 errata-xmlrpc 2019-03-27 03:49:38 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/RHBA-2019:0660


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