Skip to content

[BUG]-在没有关闭的情况下 再次被启动时会出现逻辑异常 #19

Description

@HouJiangtao

Issue Description

can not be start twice
Type: bug report

Describe what happened

when start the gpu-docker-api service ,but there is already runing one

Describe what you expected to happen

after restart the service the available gpu must sync with the really env, and update the etcd date in the startup step

How to reproduce it (as minimally and precisely as possible)

  1. start api
  2. using api create one container request some gpus
  3. start the api again
  4. using api to delete the container

Tell us your environment

ubuntu 22.04

Anything else we need to know?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions