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
{{ message }}
Repository navigation
running all-in-one openshift on localhost: lots of 403 #1352
Running it as openshift start --loglevel=5 --listen=https://127.0.0.1:8443/ --master=https://127.0.0.1:8443/
Just adding information as I find it. The issue isn't with the master config, it's with the generated .kubeconfig files. They include a server stanza like:
which causes the client to build URLs like https://127.0.0.1:8443/v1beta1/deploymentConfigs?namespace= instead of https://127.0.0.1:8443/api./v1beta1/deploymentConfigs?namespace=
@liggitt I think we should strip a trailing URL path / on the openshift command line, but allow them in the .kubeconfig and in the master.yaml files. That prevents common fat-fingering and delivers expected behavior, but still allows the construct. If you agree, I'll put it together.
Activity
deads2k commentedon Mar 19, 2015
benign
deads2k commentedon Mar 19, 2015
Can you give a pastebin of the whole log, are you setting any authentication environment variables, and what is your authentication config?
TomasTomecek commentedon Mar 19, 2015
resolution: the issue was trailing slashes, therefore it should be:
deads2k commentedon Mar 19, 2015
Just adding information as I find it. The issue isn't with the master config, it's with the generated .kubeconfig files. They include a server stanza like:
which causes the client to build URLs like
https://127.0.0.1:8443/v1beta1/deploymentConfigs?namespace=instead ofhttps://127.0.0.1:8443/api./v1beta1/deploymentConfigs?namespace=deads2k commentedon Mar 19, 2015
Alright, found it in the code. Feature, not a bug. The trailing
/indicates a URL path. If you were hosting your API on a different context root, then this would be the only way you had to describe the "no prefix on my api" case. See code: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/client/helper.go#L307.@liggitt I think we should strip a trailing URL path
/on theopenshiftcommand line, but allow them in the .kubeconfig and in the master.yaml files. That prevents common fat-fingering and delivers expected behavior, but still allows the construct. If you agree, I'll put it together.Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Adding log formatting for BindingController. (openshift#1352)
Merge pull request openshift#1352 from gnufied/backport-mount-prop-fi…