Frederic Boismenu created MESOS-8956:
----------------------------------------
Summary: Docker fetcher fails to handle HTTP private registry
Key: MESOS-8956
URL: https://issues.apache.org/jira/browse/MESOS-8956
Project: Mesos
Issue Type: Bug
Components: fetcher
Reporter: Frederic Boismenu
With something like:
{quote}mesos-slave \
--image_providers='docker' \
--containerizers='mesos' \
--docker_registry='http://my-registry.fqdn" \
..
{quote}
Docker fetcher tries to fetch registry's catalog via an HTTPS request,
instead of an HTTP request.
Probably because of:
-
[https://github.com/apache/mesos/blob/af2a404b59e949163b1d85dcb5ec354ecac02e70/src/uri/fetchers/docker.cpp#L879]
-
[https://github.com/apache/mesos/blob/af2a404b59e949163b1d85dcb5ec354ecac02e70/src/uri/fetchers/docker.cpp#L896]
{quote}{{ }}
\{{ string scheme = "https";}}
\{{ if (uri.has_fragment(){}}
\{{ scheme = uri.fragment();}}
\{{ }}}
{quote}
should probably be:
{quote}string scheme = uri.scheme();
{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)