mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guangya Liu <gyliu...@gmail.com>
Subject Re: Review Request 44838: Enabled mesos containerizer force_pull_image for docker.
Date Tue, 15 Mar 2016 07:54:23 GMT


> On 三月 15, 2016, 7:34 a.m., haosdent huang wrote:
> > src/slave/containerizer/mesos/provisioner/docker/metadata_manager.hpp, line 93
> > <https://reviews.apache.org/r/44838/diff/1/?file=1299387#file1299387line93>
> >
> >     Should we have default value for `forcePullImage`, for example: `forcePullImage=false`.

Actually, the default value does not make much sense here as we always put this parameter
in.


- Guangya


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44838/#review123612
-----------------------------------------------------------


On 三月 15, 2016, 7:18 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/44838/
> -----------------------------------------------------------
> 
> (Updated 三月 15, 2016, 7:18 a.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: MESOS-4886
>     https://issues.apache.org/jira/browse/MESOS-4886
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Enabled mesos containerizer force_pull_image for docker.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/provisioner/docker/metadata_manager.hpp 137af502a66e6a65773c00eaacbe392576376284

>   src/slave/containerizer/mesos/provisioner/docker/metadata_manager.cpp cf630cc0b67a325529fa04ad2b1708e013b9596a

>   src/slave/containerizer/mesos/provisioner/docker/store.cpp eeec94326a4fd67675df10e0b6a32267e555fa96

> 
> Diff: https://reviews.apache.org/r/44838/diff/
> 
> 
> Testing
> -------
> 
> make
> make check
> 
> It is difficult to test this with unit test, but just test with mesos execute by setting
`force_pull_image` as true and found that the iamge was always pulled when `force_pull_image`
is true.
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


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