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

docker manager cannot detect failures of running docker containers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Slider 0.91
    • Fix Version/s: Slider 0.92
    • Component/s: agent
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: