Skip to content

Kubernetes asynchronous request cause can not create duplicate name inference after delete inference. #181

Description

@xieydd
(base) xieyuandong@llama:~$ mdz deploy --image modelzai/gradio-stable-diffusion:23.03 --name sdw --gpu 1
Inference sdw is created
(base) xieyuandong@llama:~$ mdz delete sdw
Inference sdw is deleted
(base) xieyuandong@llama:~$ mdz deploy --image modelzai/gradio-stable-diffusion:23.03 --name sdw --gpu 1
Failed to create the inference: {"http_status_code":409,"message":"object is being deleted: inferences.tensorchord.ai \"sdw\" already exists","request":"POST /system/inferences?namespace=default","op":"deployment-create","error":{}}
Error: Error response from gateway: {"http_status_code":409,"message":"object is being deleted: inferences.tensorchord.ai \"sdw\" already exists","request":"POST /system/inferences?namespace=default","op":"deployment-create","error":{}}
(base) xieyuandong@llama:~$ mdz delete sdw
Failed to remove the inference: Error: No such inference: sdw
Error: Error: No such inference: sdw

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions