Chun-Hung Hsiao created MESOS-7427:
--------------------------------------

             Summary: Registry puller cannot fetch manifests from Amazon ECR: 
405 Unsupported.
                 Key: MESOS-7427
                 URL: https://issues.apache.org/jira/browse/MESOS-7427
             Project: Mesos
          Issue Type: Bug
          Components: containerization
            Reporter: Chun-Hung Hsiao
            Assignee: Chun-Hung Hsiao
             Fix For: 1.3.0


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:
{code}
{"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}]'"}]}}
{code}
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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to