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

initResource() failed; findAllTfJobs returned error: #118

Closed
jlewi opened this issue Nov 3, 2017 · 2 comments
Closed

initResource() failed; findAllTfJobs returned error: #118

jlewi opened this issue Nov 3, 2017 · 2 comments

Comments

@jlewi
Copy link
Contributor

jlewi commented Nov 3, 2017

Today I hit the following error running on a GKE cluster with 1.8

E1103 01:44:19.709603       1 controller.go:229] initResource() failed; findAllTfJobs returned error: unknown
E1103 01:44:19.710058       1 controller.go:92] initialization failed: unknown
I1103 01:44:19.710063       1 controller.go:93] retry in 30s...
@jlewi
Copy link
Contributor Author

jlewi commented Nov 3, 2017

I suspect this is the line that's failing

jobList, err := c.TfJobClient.List(c.Namespace)

I suspect its failing because of insufficient RBAC permissions.

I had originally deployed the operator without setting rbac.install=true. I then purged it and reinstalled it but my guess is something didn't get cleaned up.

@jlewi
Copy link
Contributor Author

jlewi commented Nov 3, 2017

I suspect the problem is here

rules:
- apiGroups:
  - mlkube.io

That should probably have been updated to tensorflow.org

@jlewi jlewi closed this as completed in 51ea8fc Nov 3, 2017
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

1 participant