Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mesos Integration
    • Labels:

      Description

      When trying to add a Job with a Docker image, if that Docker image is private and no credentials are provided, they get a misleading error message.  Example json:

      ```

      {

        "schedule": "R/2014-09-25T17:22:00Z/PT2M",

        "name": "dockerjob",

        "container": {

          "type": "DOCKER",

          "image": "libmesos/ubuntu",

          "network": "BRIDGE",

          "volumes": [

            {

              "containerPath": "/var/log/",

              "hostPath": "/logs/",

              "mode": "RW"

            }

          ]

        },

        "cpus": "0.5",

        "mem": "512",

        "fetch": [],

        "command": "while sleep 10; do date =u %T; done"

      }

      ```

       

      Gives the following error message:

       

      ```

      {

      state: TASK_FAILED

      message: "Abnormal executor termination: unknown container"

      slave_id {

        value: "75654c36-977f-4e80-b68f-848e6cd8a653-S3"

      }

      timestamp: 1.494980560639641E9

      executor_id {

        value: "ct:1494980553755:0:dockerjob:"

      }

      source: SOURCE_SLAVE

      reason: REASON_EXECUTOR_TERMINATED

      uuid: "\262\202\023#\303\243E\225\270\350h\004\231\365\277\267"

      container_status {

      }

      ```

      The error message should more closely indicate that there was an issue with credentials or something similar.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shaunmcvey Shaun McVey
              Team:
              Orchestration Team
              Watchers:
              Shaun McVey
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: