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

Pipeline submission fails with 'kfp_server_api.exceptions.ApiTypeError: Got an unexpected keyword argument 'description' to method upload_pipeline_version' #2085

Closed
ptitzler opened this issue Aug 31, 2021 · 2 comments · Fixed by #2209
Labels
external:Upstream Depended on deliverables in other repos outside the elyra org kind:bug Something isn't working platform: pipeline-Kubeflow Related to usage of Kubeflow Pipelines as pipeline runtime
Milestone

Comments

@ptitzler
Copy link
Member

ptitzler commented Aug 31, 2021

Describe the issue
A clear and concise description of what the issue is.

To Reproduce
Steps to reproduce the behavior:

  1. Create a KFP RTC
  2. Create a notebook
  3. Create a pipeline
  4. Add notebook to pipeline
  5. Try to run pipeline (using VPE or CLI)
  6. See error
[E 2021-08-31 09:50:19.093 ServerApp] Uncaught exception POST /elyra/pipeline/schedule?1630396214589 (::1)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='POST', uri='/elyra/pipeline/schedule?1630396214589', version='HTTP/1.1', remote_ip='::1')
    Traceback (most recent call last):
      File "/opt/anaconda3/envs/upstream/lib/python3.7/site-packages/tornado/web.py", line 1704, in _execute
        result = await result
      File "/opt/anaconda3/envs/upstream/lib/python3.7/site-packages/elyra/pipeline/handlers.py", line 119, in post
        response = await PipelineProcessorManager.instance().process(pipeline)
      File "/opt/anaconda3/envs/upstream/lib/python3.7/site-packages/elyra/pipeline/processor.py", line 121, in process
        res = await asyncio.get_event_loop().run_in_executor(None, processor.process, pipeline)
      File "/opt/anaconda3/envs/upstream/lib/python3.7/concurrent/futures/thread.py", line 57, in run
        result = self.fn(*self.args, **self.kwargs)
      File "/opt/anaconda3/envs/upstream/lib/python3.7/site-packages/elyra/pipeline/processor_kfp.py", line 230, in process
        pipeline_id=pipeline_id)
      File "/opt/anaconda3/envs/upstream/lib/python3.7/site-packages/kfp/_client.py", line 1143, in upload_pipeline_version
        description=description,
      File "/opt/anaconda3/envs/upstream/lib/python3.7/site-packages/kfp_server_api/api/pipeline_upload_service_api.py", line 209, in upload_pipeline_version
        return self.upload_pipeline_version_with_http_info(uploadfile, **kwargs)  # noqa: E501
      File "/opt/anaconda3/envs/upstream/lib/python3.7/site-packages/kfp_server_api/api/pipeline_upload_service_api.py", line 265, in upload_pipeline_version_with_http_info
        " to method upload_pipeline_version" % key
    kfp_server_api.exceptions.ApiTypeError: Got an unexpected keyword argument 'description' to method upload_pipeline_version

Expected behavior
A clear and concise description of what you expected to happen.

Deployment information
Describe what you've deployed and how:

  • Elyra version: 3.0.1/master
$ pip list | grep kfp
kfp                               1.7.2
kfp-pipeline-spec                 0.1.9
kfp-server-api                    1.7.0
@ptitzler ptitzler added kind:bug Something isn't working status:Needs Triage platform: pipeline-Kubeflow Related to usage of Kubeflow Pipelines as pipeline runtime labels Aug 31, 2021
@ptitzler ptitzler added this to the 3.1.0 milestone Aug 31, 2021
@ptitzler
Copy link
Member Author

ptitzler commented Aug 31, 2021

Surfaces in kfp==1.7.2. Need to downgrade to 1.7.1 until kubeflow/pipelines#6468 is available in a published release.

@ptitzler ptitzler added external:Upstream Depended on deliverables in other repos outside the elyra org and removed status:Needs Triage labels Aug 31, 2021
@ptitzler ptitzler removed this from the 3.1.0 milestone Sep 1, 2021
@lresende lresende added this to the 3.2.0 milestone Oct 7, 2021
@lresende
Copy link
Member

lresende commented Oct 7, 2021

@akchinSTC Has this been fixed by #2209 ?

@akchinSTC akchinSTC linked a pull request Oct 12, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external:Upstream Depended on deliverables in other repos outside the elyra org kind:bug Something isn't working platform: pipeline-Kubeflow Related to usage of Kubeflow Pipelines as pipeline runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants