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

KFServing SDK sample notebook kfserving_sdk_sample.ipynb triggers error #4978

Closed
fhingerl opened this issue Apr 24, 2020 · 4 comments
Closed

Comments

@fhingerl
Copy link

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
When trying to create an InferenceService by executing KFServing.create(isvc) in sample file kfserving_sdk_sample.ipynb following error is issued:

RuntimeError: Exception when calling CustomObjectsApi->create_namespaced_custom_object: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': '6d435634-82d1-427f-88d7-70b5fb031166', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'Date': 'Fri, 24 Apr 2020 23:04:12 GMT', 'Content-Length': '406'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"inferenceservices.serving.kubeflow.org is forbidden: User "system:serviceaccount:anonymous:default-editor" cannot create resource "inferenceservices" in API group "serving.kubeflow.org" in the namespace "anonym

I installed KFServing using the instructions given at: https://www.kubeflow.org/docs/aws/aws-e2e/

What did you expect to happen:
InferenceService should have been created in selected namespace (anonymous).

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Kubeflow version: (version number can be found at the bottom left corner of the Kubeflow dashboard): v1.0 (dev_local)
  • kfctl version: (use kfctl version): v1.0.1-0-gf3edb9b
  • Kubernetes platform: (e.g. minikube): AWS EKS
  • Kubernetes version: (use kubectl version): Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", BuildDate:"2020-03-12T23:41:24Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
    Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.9-eks-502bfb", GitCommit:"502bfb383169b124d87848f89e17a04b9fc1f6f0", GitTreeState:"clean", BuildDate:"2020-02-07T01:31:02Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
  • OS (e.g. from /etc/os-release): darwin/amd64 10.13.6
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/bug 1.00

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@kubeflow-bot kubeflow-bot added this to To Do in Needs Triage Apr 24, 2020
@jtfogarty jtfogarty moved this from To Do to Assigned to Area Owner For Triage in Needs Triage May 8, 2020
@stale
Copy link

stale bot commented Aug 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
area/inference 0.61

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

1 similar comment
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the labels:

Label Probability
area/inference 0.61

Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.

@kubeflow-bot kubeflow-bot removed this from Assigned to Area Owner For Triage in Needs Triage Aug 3, 2020
@stale stale bot closed this as completed Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants