pipelines: Unable to list pipeline versions using the kubeflow client

What steps did you take:

Unable to list pipeline versions using the kubeflow client. Unable to reach endpoint : GET /apis/v1beta1/pipeline_versions

    client = kfp.Client(namespace=PIPELINE_NAMESPACE)
    client.pipelines.list_pipelines() # This works
    client.pipelines.list_pipeline_versions() # This does not work

What happened:

kfp_server_api.rest.ApiException: (503)
Reason: Service Unavailable
HTTP response body: Error: 'ssh: rejected: connect failed (Connection refused)'
Trying to reach: 'http://ip:8888/apis/v1beta1/pipeline_versions'

What did you expect to happen:

Endpoint was working

Environment:

How did you deploy Kubeflow Pipelines (KFP)?

Kubeflow Pipelines as part of a full Kubeflow deployment.

KFP version: Build commit: 743746b

KFP SDK version: kfp 0.5.1 kfp-server-api 0.5.0

/kind bug

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (14 by maintainers)

Most upvoted comments

@Gsantomaggio Thank you for verifying this. Leaving this open for this

I think that there is an incongruence on the documentation since “name”: “resource_key.id” seems not to be required

@munagekar when you are using 0.2.5 KFP api server with a 0.5.1 KFP sdk, there might have unexpected behavior. In other words, the behavior could be different from the expected behavior of either version.

@munagekar We didn’t publish it, you may find open api definition in https://github.com/kubeflow/pipelines/blob/0.2.5/backend/api/swagger/pipeline.swagger.json.

You can also use swagger documentation site to visualize it https://petstore.swagger.io/, please paste https://raw.githubusercontent.com/kubeflow/pipelines/0.2.5/backend/api/swagger/pipeline.swagger.json into the UI’s top url box.

@munagekar KFP installation version was 743746b a.k.a 0.2.5, so it only guarantees features in kfp-server-api 0.2.5 or below.