[ 
https://issues.apache.org/jira/browse/MESOS-8106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16511569#comment-16511569
 ] 

He yihua commented on MESOS-8106:
---------------------------------

sorry, i modified docker.cpp like this, right?

// Improving the accuracy of this failure message
 if (authScheme == "BASIC"){
     return Failure("Basic authorization: " + response.status);
 }

return Failure("Unsupported auth-scheme: " + authScheme);


> Docker fetcher plugin unsupported scheme failure message is not accurate.
> -------------------------------------------------------------------------
>
>                 Key: MESOS-8106
>                 URL: https://issues.apache.org/jira/browse/MESOS-8106
>             Project: Mesos
>          Issue Type: Improvement
>          Components: containerization
>            Reporter: Gilbert Song
>            Assignee: He yihua
>            Priority: Major
>              Labels: containerizer, docker-fetcher
>
> https://github.com/apache/mesos/blob/1.4.0/src/uri/fetchers/docker.cpp#L843
> This failure message is not accurate. For such a case, if the user/operator 
> give a wrong credential to communicate to a BASIC auth based docker private 
> registry. The authentication failed but the log is still saying: "Unsupported 
> auth-scheme: BASIC"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to