You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems as though recent changes have broken the service & pod proxying available at /api/v1beta2/proxy/*. Simply returns 404s for every proxy request. This was working until recently & is of course very useful to have.
@jimmidyson since you mentioned on IRC that you're running OpenShift all-in-one, we actually didn't change anything in OpenShift itself related to proxying, other than we recently upgraded the version of Kubernetes that we bundle. It's possible something changed there. I tested on both Kubernetes master (from yesterday) and OpenShift master (from this morning), and here is what I see:
If you request /api/v1beta2/proxy/services/<service>/, you get a 404. For some reason it's not proxying the root URL (/) to the service.
If you request /api/v1beta2/proxy/services/<service>/<anything else>, it will proxy that correctly. For example, I created a registry service for a docker registry, and, /api/v1beta2/proxy/services/registry/v1/_ping works fine.
Activity
ncdc commentedon Feb 10, 2015
I'll take this
ncdc commentedon Feb 10, 2015
@jimmidyson since you mentioned on IRC that you're running OpenShift all-in-one, we actually didn't change anything in OpenShift itself related to proxying, other than we recently upgraded the version of Kubernetes that we bundle. It's possible something changed there. I tested on both Kubernetes master (from yesterday) and OpenShift master (from this morning), and here is what I see:
If you request
/api/v1beta2/proxy/services/<service>/, you get a 404. For some reason it's not proxying the root URL (/) to the service.If you request
/api/v1beta2/proxy/services/<service>/<anything else>, it will proxy that correctly. For example, I created a registry service for a docker registry, and,/api/v1beta2/proxy/services/registry/v1/_pingworks fine./cc @smarterclayton
ncdc commentedon Feb 10, 2015
See kubernetes/kubernetes#4283
jimmidyson commentedon Feb 10, 2015
Thanks @ncdc!
smarterclayton commentedon Feb 12, 2015
Will probably rebase tomorrow
derekwaynecarr commentedon Feb 12, 2015
We need to fix the proxy issue prior to this rebase. Let's settle on solution.
Sent from my iPhone
jimmidyson commentedon Feb 12, 2015
This particular issue is fixed upstream AFAIK.
smarterclayton commentedon Mar 4, 2015
Should be fixed now
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
explicitly disable leader election if it is not enabled (openshift#965)