Closed BPylypenko closed 2 years ago
Description When the ModelRoute is created through CLI, the CLI doesn't work properly. If the id was not changed through --id flag then it creates model route but hangs on validation that one was created because tries to get route with None id.
None
Manifests model-route.txt
Prerequisites
Steps to Reproduce
model-route.txt
odahuflowctl --verbose route create -f model-route.txt
Got answer: {'message': 'entity "None" is not found'}
odahuflowctl route get --id test-route-id
Actual result The odahuflowctl util doesn't handle properly the creation of the model route.
odahuflowctl
Expected result The mode route is created through CLI and it logs that the route is ready.
Attachments
Environment:
Description When the ModelRoute is created through CLI, the CLI doesn't work properly. If the id was not changed through --id flag then it creates model route but hangs on validation that one was created because tries to get route with
None
id.Manifests model-route.txt
Prerequisites
Steps to Reproduce
model-route.txt
file according to your model deployment id.Actual result The
odahuflowctl
util doesn't handle properly the creation of the model route.Expected result The mode route is created through CLI and it logs that the route is ready.
Attachments![image](https://user-images.githubusercontent.com/49116723/146571373-a9c718af-24b6-4b96-8a38-c6f520e296eb.png)
Environment: