Skip to content

Instantly share code, notes, and snippets.

@jesuino
Created November 7, 2025 15:06
Show Gist options
  • Select an option

  • Save jesuino/88d80468c209559e7633f3ec6e85d931 to your computer and use it in GitHub Desktop.

Select an option

Save jesuino/88d80468c209559e7633f3ec6e85d931 to your computer and use it in GitHub Desktop.
kale_new_pipeline
$ kale --nb ./examples/base/candies_sharing.ipynb --kfp_host http://127.0.0.1:8080 --run_pipeline
2025-11-07 11:59:08 Kale podutils:255 [INFO] Getting the base image of container...
2025-11-07 11:59:08 Kale kfutils:70 [INFO] Retrieving PodDefaults applied to server...
2025-11-07 11:59:08 Kale kale [WARNING] Could not retrieve PodDefaults. Reason: [Errno 2] No such file or directory: '/var/run/secrets/kubernetes.io/serviceaccount/namespace'
2025-11-07 11:59:08 Kale kale [INFO] Compiling Pipeline into KFP DSL code
2025-11-07 11:59:08 Kale kale [INFO] Saving generated code in /home/wsiqueir/projects/kale/.kale
2025-11-07 11:59:08 Kale kale [INFO] Successfully saved generated code: /home/wsiqueir/projects/kale/.kale/kale-pipeline.kale.py
dsl_script_path: /home/wsiqueir/projects/kale/.kale/kale-pipeline.kale.py
/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp/client/client.py:159: FutureWarning: This client only works with Kubeflow Pipeline v2.0.0-beta.2 and later versions.
warnings.warn(
2025-11-07 11:59:09 Kale kfputils:138 [INFO] Uploading pipeline 'kale-pipeline'...
Pipeline details: http://127.0.0.1:8080/#/pipelines/details/11535f01-2c46-4b98-9980-ec06cc05a1fe
2025-11-07 11:59:09 Kale kfputils:149 [INFO] Uploaded Pipeline 'kale-pipeline' id: 11535f01-2c46-4b98-9980-ec06cc05a1fe
Pipeline details: http://127.0.0.1:8080/#/pipelines/details/11535f01-2c46-4b98-9980-ec06cc05a1fe/version/4a940eb7-ed5a-4c1f-b782-2a1048ffef0f
2025-11-07 11:59:09 Kale kfputils:159 [INFO] Deleted pipeline version with name 'kale-pipeline' and ID: 11535f01-2c46-4b98-9980-ec06cc05a1fe
2025-11-07 11:59:09 Kale kfputils:166 [INFO] Successfully uploaded version '7p9qv' for pipeline 'kale-pipeline'.
pipeline_id: 11535f01-2c46-4b98-9980-ec06cc05a1fe, version_id: 4a940eb7-ed5a-4c1f-b782-2a1048ffef0f
/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp/client/client.py:159: FutureWarning: This client only works with Kubeflow Pipeline v2.0.0-beta.2 and later versions.
warnings.warn(
2025-11-07 11:59:09 Kale kfputils:187 [INFO] Creating KFP experiment 'Kale-Pipeline-Experiment'...
Experiment details: http://127.0.0.1:8080/#/experiments/details/d4282b22-f5e0-4930-bdcb-a8fcb3e8179d
Traceback (most recent call last):
File "/home/wsiqueir/projects/kale/.venv/bin/kale", line 7, in <module>
sys.exit(main())
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kale/cli.py", line 112, in main
kfputils.run_pipeline(
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kale/common/kfputils.py", line 192, in run_pipeline
version_name = client.get_pipeline_version(
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp/client/client.py", line 1645, in get_pipeline_version
return self._pipelines_api.pipeline_service_get_pipeline_version(
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/api/pipeline_service_api.py", line 969, in pipeline_service_get_pipeline_version
return self.pipeline_service_get_pipeline_version_with_http_info(pipeline_id, pipeline_version_id, **kwargs) # noqa: E501
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/api/pipeline_service_api.py", line 1058, in pipeline_service_get_pipeline_version_with_http_info
return self.api_client.call_api(
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/api_client.py", line 364, in call_api
return self.__call_api(resource_path, method,
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/api_client.py", line 188, in __call_api
raise e
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/api_client.py", line 181, in __call_api
response_data = self.request(
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/api_client.py", line 389, in request
return self.rest_client.GET(url,
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/rest.py", line 230, in GET
return self.request("GET", url,
File "/home/wsiqueir/projects/kale/.venv/lib/python3.10/site-packages/kfp_server_api/rest.py", line 224, in request
raise ApiException(http_resp=r)
kfp_server_api.exceptions.ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'X-Powered-By': 'Express', 'content-type': 'application/json', 'date': 'Fri, 07 Nov 2025 14:59:09 GMT', 'content-length': '404', 'connection': 'close'})
HTTP response body: {"code":5,"message":"Failed to get a pipeline version 4a940eb7-ed5a-4c1f-b782-2a1048ffef0f: Failed to get a pipeline version with id 4a940eb7-ed5a-4c1f-b782-2a1048ffef0f: ResourceNotFoundError: PipelineVersion 4a940eb7-ed5a-4c1f-b782-2a1048ffef0f not found","details":[{"@type":"type.googleapis.com/google.rpc.Status","code":5,"message":"PipelineVersion 4a940eb7-ed5a-4c1f-b782-2a1048ffef0f not found"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment