Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7427

Registry puller cannot fetch manifests from Amazon ECR: 405 Unsupported.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.1, 1.3.0
    • Component/s: containerization
    • Labels:
      None

      Description

      When the registry puller is pulling a repository from Amazon ECR, a '405 Unsupported' error occurs when fetching manifests. The error message is as follows:

      {"errors":[{"code":"UNSUPPORTED","message":"Invalid parameter at 'acceptedMediaTypes' failed to satisfy constraint: 'Member must satisfy constraint: [Member must satisfy regular expression pattern: \\w{1,127}\\/[-+.\\w]{1,127}]'"}]}}
      

      The reason is that Amazon ECR checks the 'Accept' header strictly, which is not provided when fetching the manifests. See the following link for more details:
      https://forums.aws.amazon.com/thread.jspa?threadID=254382

        Attachments

          Activity

            People

            • Assignee:
              chhsia0 Chun-Hung Hsiao
              Reporter:
              chhsia0 Chun-Hung Hsiao
              Shepherd:
              Jie Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: