Bug 1362196

Summary: aaa: Add support for dynamic porting
Product: [oVirt] ovirt-engine Reporter: Ravi Nori <rnori>
Component: AAAAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Aleksei Slaikovskii <aslaikov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: aslaikov, bugs, gklein, lbopf, mgoldboi, mperina, pstehlik, sigbjorn
Target Milestone: ovirt-4.0.4Flags: rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
mperina: devel_ack+
pstehlik: testing_ack+
Target Release: 4.0.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
A new configuration variable called ENGINE_SSO_INSTALLED_ON_ENGINE_HOST has been added. This flag can be used to specify if the SSO service is installed on the same host as the engine or installed on a different host. If this flag is set to true, the URL and port used to access the Manager is used to redirect to the login page. If this flag is set to false, the value set in ENGINE_SSO_AUTH_URL is used to redirect user to the login page.
Story Points: ---
Clone Of:
: 1376330 (view as bug list) Environment:
Last Closed: 2016-09-26 12:31:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1353093, 1376330    

Description Ravi Nori 2016-08-01 13:41:00 UTC
Description of problem: When the manager is behind a NAT network (with port-forwarding to the correct https port) the landing page tries to redirect the browser back to port 80, resulting in failure to see login page.

Version-Release number of selected component (if applicable): 4.0


How reproducible: 


Steps to Reproduce:
1. Setup port forwarding
2. Access engine using alternate port

Actual results: Engine redirects request to port 80.


Expected results: Engine uses port number from request.

Comment 1 Martin Perina 2016-08-02 10:28:17 UTC
Moving back to POST, we need backport to ovirt-engine-4.0 branch

Comment 3 Aleksei Slaikovskii 2016-09-13 13:16:11 UTC
Verified rhevm-4.0.4.1-0.1.el7ev.noarch