kube-HPC / hkube

🐟 High Performance Computing over Kubernetes - Core Repo 🎣
http://hkube.io
MIT License
305 stars 20 forks source link

pipe_in_pipe request are block by API server #1521

Closed tamir321 closed 2 years ago

tamir321 commented 2 years ago

HKube micro-service API-SERVER

Describe the bug sending the following request to /api-server/api/v1/exec/raw return an error :"please provide algorithm name"

{"name": "pipe_in_pipe",
        "nodes": [
          {
            "nodeName": "A",
            "pipelineName": "simple",
            "input": ["7"]
          },
          {
            "nodeName": "B",
            "pipelineName": "simple",
            "input": ["@A"]
          }
        ]
      }

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

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

yehiyam commented 2 years ago

Spec for requesting pipeline-in-pipeline has changed new spec is:

{
    "name": "pipe_in_pipe",
    "nodes": [
        {
            "nodeName": "A",
            "input": [
                "7"
            ],
            "kind": "pipeline",
            "spec":{
                "name": "simple"
            }
        },
        {
            "nodeName": "B",
            "input": [
                "@A"
            ],
            "kind": "pipeline",
            "spec":{
                "name": "simple"
            }
        }
    ]
}

specifically add

"kind": "pipeline",
            "spec":{
                "name": "simple"
            }
tamir321 commented 2 years ago

tested on 2.1