-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the getting started page, we should use the request data to determine the way the user is accessing the OVA #1172
Comments
@pdaigle how common do you think the appliance having a different DNS name behind NAT will be for customers? |
@stuclem Do we have this limitation documented anywhere? We might need to release note this if we decide not to fix for 1.3. |
added to 1.3 for further investigation and response from @pdaigle |
@stuclem: The release note for this would be [a wordsmithed version of] something like: The "Getting Started" page of the VIC Appliance includes links to other services running on the VIC Appliance. The way those links are constructed assume that users connect to the appliance using its IP or FQDN (i.e., that it is not hidden behind NAT or a reverse proxy). I don't think we want to try to fix this for 1.3; I suspect we haven't tested this case at all so even if we fix the Getting Started page, it's likely that other things don't handle this case well either. |
Additionally, the work around could be to add the FDQN that the appliance knows itself as to the /etc/hosts file (or the windows equiv) of the client machine pointing to the translated IP the client sees and everything will work. |
Attempted release note:
|
Thanks @zjs. Removing kind/note. |
Ensure that any changes to the getHostname function do not affect the psc registration process. Additionally, we should also ensure that this line is functional with a "hidden" hostname. |
VIC Product version:
vic-v1.3.0-rc2-2628-9e2a95b6.ova
Deployment details:
N/A
Steps to reproduce:
N/A
Actual behavior:
As of #1066, we use the OVA's hostname from its point of view when rendering links to other services hosted on the OVA.
Expected behavior:
We should use the hostname from the user's point of view. In complex networking scenarios, the OVA may be behind NAT or reverse proxy. In those cases, the OVA's hostname or IP address from its point of view may not be reachable by the user. The request contains the hostname that worked for the user to access the OVA — it's likely that's what they would expect to be used when clicking links.
Additional details as necessary:
This has an added benefit of removing the need for sub-process execution:
vic-product/installer/fileserver/tasks.go
Lines 138 to 162 in bf98353
Acceptance Criteria
The text was updated successfully, but these errors were encountered: