Skip to content
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

Mixer Report failed with: UNAVAILABLE #660

Closed
fogongzi opened this issue Sep 4, 2017 · 3 comments
Closed

Mixer Report failed with: UNAVAILABLE #660

fogongzi opened this issue Sep 4, 2017 · 3 comments

Comments

@fogongzi
Copy link

fogongzi commented Sep 4, 2017

When I use istio 0.2.1 and kubernetes 1.7.4, I deployed the bookinfo example, it gives out:
Sorry, product details are currently unavailable for this book.
Sorry, product reviews are currently unavailable for this book.

When I find logs with productpage and proxy_debug container, the proxy_debug container gives the error messages:
[libprotobuf ERROR external/mixerclient_git/src/report_batch.cc:78] Mixer Report failed with: UNAVAILABLE

Then I find logs with istio-mixer container, and it gives the error messages:
I0904 09:47:44.344661 15 reflector.go:225] Listing and watching *v1.Pod from external/io_k8s_client_go/tools/cache/reflector.go:96
E0904 09:47:44.355371 15 reflector.go:190] external/io_k8s_client_go/tools/cache/reflector.go:96: Failed to list *v1.Pod: User "system:serviceaccount:istio:default" cannot list pods at the cluster scope. (get pods)

So what is the issue, thanks!

@ldemailly
Copy link
Contributor

E0904 09:47:44.355371 15 reflector.go:190] external/io_k8s_client_go/tools/cache/reflector.go:96: Failed to list *v1.Pod: User "system:serviceaccount:istio:default" cannot list pods at the cluster scope. (get pods)

looks like you need to add that clusterrolebinding for istio service account to be able to list pods?

@fogongzi
Copy link
Author

fogongzi commented Sep 5, 2017

@ldemailly ,yes, I have found the solution, I do not create clusterrolebinding in my namespace. thanks!

@fogongzi fogongzi closed this as completed Sep 5, 2017
@ldemailly
Copy link
Contributor

we haven't refined the roles yet but when the final 0.2 it should work out of the box

mandarjog pushed a commit to mandarjog/istio that referenced this issue Oct 30, 2017
Former-commit-id: da80ec0af68f41ff1e674b7f5f40bb2f1fe63cb8
mandarjog pushed a commit that referenced this issue Oct 31, 2017
Former-commit-id: f6c96845ef1756d09065bcd5de033c6009fbce93
kyessenov pushed a commit to kyessenov/istio that referenced this issue Aug 13, 2018
* initial CB changes

* update debian

* init GCS_PATH

* del unused files

* change != to -n

* proxy trigger stuff

* only 1 step was run

* try to add stuff

* try different image

* debug

* switch back to istiobuilder

* try loose

* try again

* try ubuntu

* try ubuntu

* try istio

* log different file

* skip stdout

* more power

* bazel config

* build_proxy_artifacts.yaml

* expand

* 0.2 is now 0.3

* cleanup

* undo customizations
howardjohn pushed a commit to howardjohn/istio that referenced this issue Jan 12, 2020
* Fix reconcile conflict error

* Fix lint error
0x01001011 pushed a commit to thedemodrive/istio that referenced this issue Jul 16, 2020
…or json (istio#660)

* add field to global config for setting the access log format to text or json

* move field next to access_log_file but retain original numbering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants