Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1355691 - bad redirection host_name
Summary: bad redirection host_name
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: UI
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2
Assignee: sankarshan
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-12 09:20 UTC by Lubos Trilety
Modified: 2016-07-12 10:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-12 10:06:52 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lubos Trilety 2016-07-12 09:20:39 UTC
Description of problem:
Using <host_name>/skyring as URL leads to bad non-existent URL https://n:10443/.
There's bad host_name defined in configuration

# cat /etc/httpd/conf.d/skyring-web.conf
Define host_name n
Listen 10080

LoadModule ssl_module modules/mod_ssl.so

<VirtualHost *:80>
            Redirect permanent /skyring https://${host_name}:10443/
            Redirect permanent /graphite-web http://${host_name}:10080/
</VirtualHost>

<VirtualHost *:443>
            SSLEngine on
            SSLCertificateFile /etc/pki/tls/skyring.crt
            SSLCertificateKeyFile /etc/pki/tls/private/skyring.key
            Redirect permanent /skyring https://${host_name}:10443/
</VirtualHost>


Version-Release number of selected component (if applicable):
rhscon-ceph-0.0.31-1.el7scon.x86_64
rhscon-core-selinux-0.0.32-1.el7scon.noarch
rhscon-ui-0.0.46-1.el7scon.noarch
rhscon-core-0.0.32-1.el7scon.x86_64

How reproducible:
100%

Steps to Reproduce:
1. put <host_name>/skyring as URL
2.
3.

Actual results:
An error page is opened with https://n:10443/ as URL

Expected results:
A correct login page should be opened https://<host_name>:10443/

Additional info:

Comment 1 Daniel Horák 2016-07-12 10:06:52 UTC
This was configuration issue done by our automation scripts - not updated for the latest changes in skyring-setup (changed order of the asked questions).

Should be fixed in our automation scripts now.

>> closing this as NOTABUG


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