HTTP response body: RBAC: access denied from kfp_server_api when creating a tfx pipeline
See original GitHub issue/kind question
What steps did you take:
Ran the below code:
What happened:
I got the below:
HTTP response body: RBAC: access denied
ERROR:root:Failed to get healthz info attempt 4 of 5.
Traceback (most recent call last):
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp/_client.py", line 312, in get_kfp_healthz
response = self._healthz_api.get_healthz()
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/api/healthz_service_api.py", line 77, in get_healthz
return self.get_healthz_with_http_info(**kwargs) # noqa: E501
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/api/healthz_service_api.py", line 162, in get_healthz_with_http_info
collection_formats=collection_formats)
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/api_client.py", line 383, in call_api
_preload_content, _request_timeout, _host)
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/api_client.py", line 202, in __call_api
raise e
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/api_client.py", line 199, in __call_api
_request_timeout=_request_timeout)
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/api_client.py", line 407, in request
headers=headers)
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/rest.py", line 248, in GET
query_params=query_params)
File "/home/jovyan/.local/lib/python3.6/site-packages/kfp_server_api/rest.py", line 238, in request
raise ApiException(http_resp=r)
kfp_server_api.exceptions.ApiException: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'content-length': '19', 'content-type': 'text/plain', 'date': 'Tue, 12 Jan 2021 17:25:02 GMT', 'server': 'envoy', 'x-envoy-upstream-service-time': '0'})
HTTP response body: RBAC: access denied
What did you expect to happen:
Being able to create the pipeline
Environment:
Kubeflow 1.2, Jupyter Notebook
How did you deploy Kubeflow Pipelines (KFP)?
KFP version: build version v1beta1
KFP SDK version: kfp 1.3.0 kfp-pipeline-spec 0.1.3.1 kfp-server-api 1.3.0
Anything else you would like to add:
I’m using kubeflow in my username’s namespace
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
istio getting "RBAC: access denied" even the ... - Stack Overflow
Answering my own question since I've made some progress on them. I cannot update the ServiceRoleBinding even after I deleted the validating ...
Read more >Create a TFX pipeline using templates - TensorFlow
This document will provide instructions to create a TensorFlow Extended (TFX) pipeline using templates which are provided with TFX Python package.
Read more >Unauthorized: Access is denied due to a RBAC authorization ...
Unauthorized: Access is denied due to a role-based access control (RBAC) authorization failure. You do not have permission to view this ...
Read more >Kubeflow is a machine learning (ML) toolkit that is dedicated ...
To learn how to build and deploy Kubeflow Pipelines from source code, read the developer ... '8'}) HTTP response body: RBAC: access denied...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For new clusters please see this comemnt from the issue 4440
https://github.com/kubeflow/pipelines/issues/4440#issuecomment-871927424
In my notebook
Output
Duplicate of #4440