Closed deewhyweb closed 6 years ago
Still happening with istio-release-0.8-20180524-09-15
?
I'll try again and report back
In Istio 0.8 there are a lot of new service accounts so you need to add a lot more anyuid permissions. If you run this it will work: oc adm policy add-scc-to-user anyuid -z istio-egressgateway-service-account -n istio-system oc adm policy add-scc-to-user anyuid -z istio-citadel-service-account -n istio-system oc adm policy add-scc-to-user anyuid -z istio-ingressgateway-service-account -n istio-system oc adm policy add-scc-to-user anyuid -z istio-cleanup-old-ca-service-account -n istio-system oc adm policy add-scc-to-user anyuid -z istio-mixer-post-install-account -n istio-system oc adm policy add-scc-to-user anyuid -z istio-mixer-service-account -n istio-system oc adm policy add-scc-to-user anyuid -z istio-pilot-service-account -n istio-system oc adm policy add-scc-to-user anyuid -z istio-sidecar-injector-service-account -n istio-system
Can we update the documentation?
I can confirm that this suggestion worked. And I used the helm install method with Istio 0.8 on OpenShift 3.9.0 running in Minishift 1.15.1. This definitely needs to be added to the Kubernetes Quick Start doc in the OpenShift Origin section.
Thanks @johnfosborneiii We will update the OpenShift doc accordingly.
All, while updating the doc, I was wondering whether the following command is really necessary?
oc adm policy add-scc-to-user anyuid -z default -n istio-system
Doc updated. Thanks guys. /close
@ymesika: you can't close an active issue unless you authored it or you are assigned to it, Assigning you to the issue failed..
In addition to @johnfosborneiii list of policy settings. The current version needs also:
oc adm policy add-scc-to-user anyuid -z istio-galley-service-account -n istio-system
So that the complete list would be:
oc adm policy add-scc-to-user anyuid -z istio-egressgateway-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-citadel-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-ingressgateway-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-cleanup-old-ca-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-mixer-post-install-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-mixer-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-pilot-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-sidecar-injector-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-galley-service-account -n istio-system
As part of Istio 0.8 community testing I'm installing istio-release-0.8-20180520-18-17 on Openshift 3.9.27 (kubernetes v v1.9.1+a0ce1bc657)
I ran:
Then
When I view the pods in the istio-system project I see
Looking at the logs for the istio-proxy in the istio-pilot pod, I see the following error.
2018-05-24T19:27:53.794344Z error open /etc/istio/proxy/envoy.yaml: permission denied Error: open /etc/istio/proxy/envoy.yaml: permission denied