You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Gilbert Song <so...@gmail.com> on 2017/05/04 23:22:59 UTC
Review Request 59018: Supported Image::Secret in docker URI fetcher
plugin.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/
-----------------------------------------------------------
Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
Bugs: MESOS-7088
https://issues.apache.org/jira/browse/MESOS-7088
Repository: mesos
Description
-------
Supported Image::Secret in docker URI fetcher plugin.
Diffs
-----
src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
Diff: https://reviews.apache.org/r/59018/diff/1/
Testing
-------
make check
Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
Thanks,
Gilbert Song
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174490
-----------------------------------------------------------
Bad patch!
Reviews applied: [59018, 59017, 59016, 59141, 59015, 59014, 59013, 59012, 59011, 59010, 59001, 59000, 58999, 58760, 58759, 58925, 58924, 58923]
Failed command: python support/apply-reviews.py -n -r 59018
Error:
2017-05-10 15:54:22 URL:https://reviews.apache.org/r/59018/diff/raw/ [8186/8186] -> "59018.patch" [1]
error: patch failed: src/uri/fetchers/docker.cpp:324
error: src/uri/fetchers/docker.cpp: patch does not apply
Full log: https://builds.apache.org/job/Mesos-Reviewbot/18022/console
- Mesos Reviewbot
On May 10, 2017, 12:48 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 10, 2017, 12:48 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/2/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Chun-Hung Hsiao <ch...@mesosphere.io>.
> On May 10, 2017, 6:12 p.m., Chun-Hung Hsiao wrote:
> > src/uri/fetchers/docker.cpp
> > Lines 328 (patched)
> > <https://reviews.apache.org/r/59018/diff/2/?file=1713959#file1713959line328>
> >
> > Why are we using `secretValue` instead of `config` as in other places? Also, it seems to me that `uri` and `secretValue` are coupled, so how about putting them side by side in the parameter list? Same for the following code.
OK I got why we're using `secretValue`. Please refer to my comment in https://reviews.apache.org/r/59141/.
- Chun-Hung
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174511
-----------------------------------------------------------
On May 10, 2017, 12:48 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 10, 2017, 12:48 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/2/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Gilbert Song <so...@gmail.com>.
> On May 10, 2017, 11:12 a.m., Chun-Hung Hsiao wrote:
> > src/uri/fetchers/docker.cpp
> > Lines 328 (patched)
> > <https://reviews.apache.org/r/59018/diff/2/?file=1713959#file1713959line328>
> >
> > Why are we using `secretValue` instead of `config` as in other places? Also, it seems to me that `uri` and `secretValue` are coupled, so how about putting them side by side in the parameter list? Same for the following code.
>
> Chun-Hung Hsiao wrote:
> OK I got why we're using `secretValue`. Please refer to my comment in https://reviews.apache.org/r/59141/.
replied on that patch. thanks.
- Gilbert
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174511
-----------------------------------------------------------
On May 10, 2017, 5:48 a.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 10, 2017, 5:48 a.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/2/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Chun-Hung Hsiao <ch...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174511
-----------------------------------------------------------
Please rebase to the latest master and resolve the conflicts.
src/uri/fetchers/docker.cpp
Lines 328 (patched)
<https://reviews.apache.org/r/59018/#comment247666>
Why are we using `secretValue` instead of `config` as in other places? Also, it seems to me that `uri` and `secretValue` are coupled, so how about putting them side by side in the parameter list? Same for the following code.
src/uri/fetchers/docker.cpp
Lines 525 (patched)
<https://reviews.apache.org/r/59018/#comment247681>
It's unfortunate that we still need `secretValue` for fetching blobs after we have `authHeaders` but I cannot think of a way to make it cleaner, so just leave a note here.
- Chun-Hung Hsiao
On May 10, 2017, 12:48 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 10, 2017, 12:48 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/2/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Gilbert Song <so...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/
-----------------------------------------------------------
(Updated May 24, 2017, 8:47 a.m.)
Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
Changes
-------
Addressed Vinod's comment.
Bugs: MESOS-7088
https://issues.apache.org/jira/browse/MESOS-7088
Repository: mesos
Description
-------
Supported Image::Secret in docker URI fetcher plugin.
Diffs (updated)
-----
src/uri/fetchers/docker.cpp 8aab169f0628ad540654a7b6c15efbc282f5e940
Diff: https://reviews.apache.org/r/59018/diff/5/
Changes: https://reviews.apache.org/r/59018/diff/4-5/
Testing
-------
make check
Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
Thanks,
Gilbert Song
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Mesos Reviewbot Windows <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review175669
-----------------------------------------------------------
Bad patch!
Reviews applied: [59018, 59017, 59016, 59141, 59015, 59014, 59013, 59012, 59011, 59010, 59318, 59001, 59000, 58999, 58760, 58759, 58925, 58924, 58923]
Failed command: python support/apply-reviews.py -n -r 59000
Error:
error: patch failed: src/slave/containerizer/mesos/containerizer.cpp:353
error: src/slave/containerizer/mesos/containerizer.cpp: patch does not apply
Full log: NotAvailableYet\console
- Mesos Reviewbot Windows
On May 22, 2017, 6:04 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 22, 2017, 6:04 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 8aab169f0628ad540654a7b6c15efbc282f5e940
>
>
> Diff: https://reviews.apache.org/r/59018/diff/4/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Chun-Hung Hsiao <ch...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review175745
-----------------------------------------------------------
Ship it!
Ship It!
- Chun-Hung Hsiao
On May 22, 2017, 6:04 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 22, 2017, 6:04 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 8aab169f0628ad540654a7b6c15efbc282f5e940
>
>
> Diff: https://reviews.apache.org/r/59018/diff/4/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review175836
-----------------------------------------------------------
Fix it, then Ship it!
src/uri/fetchers/docker.cpp
Lines 538 (patched)
<https://reviews.apache.org/r/59018/#comment249171>
s/The secret value/`data`/
- Vinod Kone
On May 22, 2017, 6:04 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 22, 2017, 6:04 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 8aab169f0628ad540654a7b6c15efbc282f5e940
>
>
> Diff: https://reviews.apache.org/r/59018/diff/4/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review175724
-----------------------------------------------------------
Patch looks great!
Reviews applied: [58923, 58924, 58925, 58759, 58760, 58999, 59000, 59001, 59318, 59010, 59011, 59012, 59013, 59014, 59015, 59141, 59016, 59017, 59018]
Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh
- Mesos Reviewbot
On May 22, 2017, 6:04 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 22, 2017, 6:04 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 8aab169f0628ad540654a7b6c15efbc282f5e940
>
>
> Diff: https://reviews.apache.org/r/59018/diff/4/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Gilbert Song <so...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/
-----------------------------------------------------------
(Updated May 22, 2017, 11:04 a.m.)
Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
Changes
-------
Rebased.
Bugs: MESOS-7088
https://issues.apache.org/jira/browse/MESOS-7088
Repository: mesos
Description
-------
Supported Image::Secret in docker URI fetcher plugin.
Diffs (updated)
-----
src/uri/fetchers/docker.cpp 8aab169f0628ad540654a7b6c15efbc282f5e940
Diff: https://reviews.apache.org/r/59018/diff/4/
Changes: https://reviews.apache.org/r/59018/diff/3-4/
Testing
-------
make check
Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
Thanks,
Gilbert Song
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Gilbert Song <so...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/
-----------------------------------------------------------
(Updated May 12, 2017, 4:20 a.m.)
Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
Bugs: MESOS-7088
https://issues.apache.org/jira/browse/MESOS-7088
Repository: mesos
Description
-------
Supported Image::Secret in docker URI fetcher plugin.
Diffs (updated)
-----
src/uri/fetchers/docker.cpp dbfc1b2f2918ccaf90fa31496a0792f585489397
Diff: https://reviews.apache.org/r/59018/diff/3/
Changes: https://reviews.apache.org/r/59018/diff/2-3/
Testing
-------
make check
Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
Thanks,
Gilbert Song
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Gilbert Song <so...@gmail.com>.
> On May 10, 2017, 5:56 p.m., Vinod Kone wrote:
> >
Chatted offline, and leave a TODO for refactoring `getAuthHeader()`.
- Gilbert
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174584
-----------------------------------------------------------
On May 10, 2017, 5:48 a.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 10, 2017, 5:48 a.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/2/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174584
-----------------------------------------------------------
src/uri/fetchers/docker.cpp
Line 492 (original), 502 (patched)
<https://reviews.apache.org/r/59018/#comment247751>
unrelated to this review but this should probably be plural "getAuthHeaders" given this is returning `http::Headers`. maybe update in a different review?
src/uri/fetchers/docker.cpp
Line 492 (original), 502 (patched)
<https://reviews.apache.org/r/59018/#comment247752>
unrelated to this review but this should probably be plural "getAuthHeaders" given this is returning `http::Headers`. maybe update in a different review?
src/uri/fetchers/docker.cpp
Line 505 (original), 516 (patched)
<https://reviews.apache.org/r/59018/#comment247789>
As discussed offline passing headers and secrets here is very confusing.
We should add some comments on the semantics of http headers and secret value, which is used when, auth assumptions regarding manifest server and blob servers etc, for posterity.
- Vinod Kone
On May 10, 2017, 12:48 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 10, 2017, 12:48 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/2/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Gilbert Song <so...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/
-----------------------------------------------------------
(Updated May 10, 2017, 5:48 a.m.)
Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
Bugs: MESOS-7088
https://issues.apache.org/jira/browse/MESOS-7088
Repository: mesos
Description
-------
Supported Image::Secret in docker URI fetcher plugin.
Diffs (updated)
-----
src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
Diff: https://reviews.apache.org/r/59018/diff/2/
Changes: https://reviews.apache.org/r/59018/diff/1-2/
Testing
-------
make check
Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
Thanks,
Gilbert Song
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Gilbert Song <so...@gmail.com>.
> On May 5, 2017, 2:42 p.m., Chun-Hung Hsiao wrote:
> > src/uri/fetchers/docker.cpp
> > Lines 693 (patched)
> > <https://reviews.apache.org/r/59018/diff/1/?file=1709142#file1709142line693>
> >
> > Is it a good idea to overload the "password" field in a URI as a docker config carrier?
>
> Chun-Hung Hsiao wrote:
> If we decide to stick with this implementation, maybe we should document it in `uri.proto`.
By changing the URI fetcher interface. We are not using the uri to pass docker config now.
- Gilbert
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174075
-----------------------------------------------------------
On May 4, 2017, 4:22 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 4, 2017, 4:22 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/1/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>
Re: Review Request 59018: Supported Image::Secret in docker URI
fetcher plugin.
Posted by Chun-Hung Hsiao <ch...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59018/#review174075
-----------------------------------------------------------
src/uri/fetchers/docker.cpp
Lines 693 (patched)
<https://reviews.apache.org/r/59018/#comment247182>
Is it a good idea to overload the "password" field in a URI as a docker config carrier?
- Chun-Hung Hsiao
On May 4, 2017, 11:22 p.m., Gilbert Song wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59018/
> -----------------------------------------------------------
>
> (Updated May 4, 2017, 11:22 p.m.)
>
>
> Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone.
>
>
> Bugs: MESOS-7088
> https://issues.apache.org/jira/browse/MESOS-7088
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Supported Image::Secret in docker URI fetcher plugin.
>
>
> Diffs
> -----
>
> src/uri/fetchers/docker.cpp 44169bf5f22f0ffd9fad7bb3b8f7d2a4989c6415
>
>
> Diff: https://reviews.apache.org/r/59018/diff/1/
>
>
> Testing
> -------
>
> make check
>
> Manually tested using mesos-execute with task group. Verified that pulling separate private image from different registries using different image secrets works correctly.
>
>
> Thanks,
>
> Gilbert Song
>
>