Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1213

docker manager cannot detect failures of running docker containers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.91
    • Slider 0.92
    • agent
    • None

    Description

      For docker apps, DockerManager.py is used to monitor the status of running docker containers. However, it fails to detect the failures of running containers, etc, if I manually stop a docker container, and agent cannot detect it.
      There's a bug in DockerManager.py. When querying status, it should not return 0 or 1. Instead, it should return "STARTED" or "INSTALLED", as the same in CustomServiceOrchestrator.py, because these are the key words that Controller.py uses to determine the status of running apps.

      YarnDockerManager has the same issue.

      Attachments

        1. SLIDER-1213.patch
          2 kB
          ouchengeng

        Issue Links

          Activity

            People

              chengeng ouchengeng
              chengeng ouchengeng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: