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

who-can returns error in non-existent namespace #11300

Closed
liggitt opened this issue Oct 10, 2016 · 0 comments · Fixed by #11321
Closed

who-can returns error in non-existent namespace #11300

liggitt opened this issue Oct 10, 2016 · 0 comments · Fixed by #11321

Comments

@liggitt
Copy link
Contributor

liggitt commented Oct 10, 2016

oadm policy who-can get namespaces -n foo --loglevel=8

I1010 15:50:08.218236   29632 round_trippers.go:296] POST https://10.10.10.1:8443/oapi/v1/namespaces/foo/localresourceaccessreviews
I1010 15:50:08.218240   29632 round_trippers.go:303] Request Headers:
I1010 15:50:08.218243   29632 round_trippers.go:306]     Accept: application/json, */*
I1010 15:50:08.218246   29632 round_trippers.go:306]     Content-Type: application/json
I1010 15:50:08.218248   29632 round_trippers.go:306]     User-Agent: oadm/v1.4.0 (darwin/amd64) openshift/f243060
I1010 15:50:08.272564   29632 round_trippers.go:321] Response Status: 500 Internal Server Error in 54 milliseconds
I1010 15:50:08.272589   29632 round_trippers.go:324] Response Headers:
I1010 15:50:08.272596   29632 round_trippers.go:327]     Cache-Control: no-store
I1010 15:50:08.272602   29632 round_trippers.go:327]     Content-Type: application/json
I1010 15:50:08.272608   29632 round_trippers.go:327]     Date: Mon, 10 Oct 2016 19:50:08 GMT
I1010 15:50:08.272614   29632 round_trippers.go:327]     Content-Length: 339
I1010 15:50:08.272662   29632 request.go:908] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Internal error occurred: [namespace foo does not exist, object does not implement the Object interfaces]","reason":"InternalError","details":{"causes":[{"message":"[namespace foo does not exist, object does not implement the Object interfaces]"}]},"code":500}
I1010 15:50:08.272986   29632 helpers.go:199] server response object: [{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "Internal error occurred: [namespace foo does not exist, object does not implement the Object interfaces]",
  "reason": "InternalError",
  "details": {
    "causes": [
      {
        "message": "[namespace foo does not exist, object does not implement the Object interfaces]"
      }
    ]
  },
  "code": 500
}]
F1010 15:50:08.273019   29632 helpers.go:115] Error from server: Internal error occurred: [namespace foo does not exist, object does not implement the Object interfaces]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants