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

[oc cluster up 3.11] Not able to redirect https://<pubilc_hostname>:8443 to https://<pubilc_hostname>:8443/console #21153

Open
praveenkumar opened this Issue Oct 3, 2018 · 8 comments

Comments

Projects
None yet
8 participants
@praveenkumar
Contributor

praveenkumar commented Oct 3, 2018

With 3.11 after running oc cluster up doesn't redirect the web console properly.

Version
$ ./oc version                                   
oc v3.11.0-alpha.0+f7602dd-1284
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://192.168.42.239:8443
kubernetes v1.11.0+d4cacc0
Steps To Reproduce
$ export MINISHIFT_ENABLE_EXPERIMENTAL=y
$ ./minishift start --no-provision
$ ./minishift ip
192.168.42.239

$ docker image pull openshift/origin-control-plane:v3.11.0
$ docker create --name tmp docker.io/openshift/origin-control-plane:v3.11.0
$ docker cp tmp:/usr/bin/oc .
$ ./oc cluster up --public-hostname 192.168.42.239
[...]
The server is accessible via web console at:
    https://192.168.42.239:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin
Current Result

Try to put https://192.168.42.239:8443 in the web browser and it redirected to https://127.0.0.1:8443/console/ instead https://192.168.42.239:8443/console/

Expected Result

When accessing the https://192.168.42.239:8443 should be redirected to https://192.168.42.239:8443/console/ not to https://127.0.0.1:8443/console/

@tiraboschi

This comment has been minimized.

Show comment
Hide comment
@tiraboschi

tiraboschi Oct 3, 2018

I think it's a duplicate of #20726

tiraboschi commented Oct 3, 2018

I think it's a duplicate of #20726

@praveenkumar

This comment has been minimized.

Show comment
Hide comment
@praveenkumar

praveenkumar Oct 3, 2018

Contributor

@tiraboschi looks like but with 3.10 we are not getting it with minishift and 3.11 we are getting it, I don't have any issue to close this one or #20726 one put one of it as a duplicate, but this should be addressed since most of the user will be affected by this.

Contributor

praveenkumar commented Oct 3, 2018

@tiraboschi looks like but with 3.10 we are not getting it with minishift and 3.11 we are getting it, I don't have any issue to close this one or #20726 one put one of it as a duplicate, but this should be addressed since most of the user will be affected by this.

@jwforres

This comment has been minimized.

Show comment
Hide comment
@gbraad

This comment has been minimized.

Show comment
Hide comment
@gbraad

gbraad Oct 12, 2018

Contributor

openshift/origin-web-console#3072

This causes an issue for Minishift or deployment on VM's and remote machines

Contributor

gbraad commented Oct 12, 2018

openshift/origin-web-console#3072

This causes an issue for Minishift or deployment on VM's and remote machines

@gbraad

This comment has been minimized.

Show comment
Hide comment
@gbraad

gbraad Oct 12, 2018

Contributor

@praveenkumar did you already propose a PR?

Contributor

gbraad commented Oct 12, 2018

@praveenkumar did you already propose a PR?

@praveenkumar

This comment has been minimized.

Show comment
Hide comment
@praveenkumar
Contributor

praveenkumar commented Oct 12, 2018

openshift-merge-robot added a commit that referenced this issue Oct 16, 2018

Merge pull request #21234 from praveenkumar/issue_21153
Issue #21153 update the console URI not to redirect 127.0.0.1
@nstielau

This comment has been minimized.

Show comment
Hide comment
@nstielau

nstielau commented Oct 17, 2018

@praveenkumar does #21234 resolve this?

@praveenkumar

This comment has been minimized.

Show comment
Hide comment
@praveenkumar

praveenkumar Oct 18, 2018

Contributor

@nstielau we are not redirecting but using full URI for console.

Contributor

praveenkumar commented Oct 18, 2018

@nstielau we are not redirecting but using full URI for console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment