mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Song <>
Subject Re: Review Request 48917: Fixed docker fetcher redirect errors by header attached.
Date Sun, 19 Jun 2016 00:19:52 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated June 18, 2016, 5:19 p.m.)

Review request for mesos, Artem Harutyunyan, Jie Yu, and Timothy Chen.


Updated comments and commit message.

Bugs: MESOS-5172

Repository: mesos

Description (updated)

The root cause for this issue is that, in private registry
like, layer download request will be redirected to
storage server in S3. However, the curl command with '-L'
handles HTTP redirection automatically, in which case HTTP
headers will be attached to all requests. AmazonS3 server
will return 400 Bad Request if HTTP Authorization header
is attached, with 'InvalidArgument' error code. So we need
to touch the given URL first to add extra logic for HTTP

Diffs (updated)

  src/uri/fetchers/docker.cpp 211be6fdf416621c467faa5592c9e52a49b450ca 



make check

Tested with manually.


Gilbert Song

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message