> On Dec. 6, 2017, 8:04 p.m., Jie Yu wrote:
> > include/mesos/resource_provider/volume_profile.hpp
> > Lines 104-105 (patched)
> > <https://reviews.apache.org/r/63971/diff/3/?file=1909252#file1909252line104>
> >
> >     Do we intend to use this module for all LRPs on the agent? If yes, how 
> > can we get profiles for a particular LRP? Should profile name be unique 
> > cluster wide, or unique per LRP?
> >     
> >     I guess we can assume it's unique per RP. Some distribution might 
> > choose to do cluster wide unique, but that's their choice.
> >     
> >     With that in mind, maybe include ResourceProviderInfo in the request?
> 
> Jie Yu wrote:
>     need to do the same for `translate` above
> 
> Joseph Wu wrote:
>     I chose to include a `std::string` corresponding to 
> `CSIPluginInfo::type`.  I didn't want to include the entire `CSIPluginInfo` 
> because that includes the ContainerInfos and makes it somewhat ambiguous for 
> the module to choose between `type` and `name` or both.
>     
>     And since the module only deals with Storage RPs, `ResourceProviderInfo` 
> would be too much info.

Yeah, the some module might want to use provider ID to do the matching. I guess 
we can include that later?


- Jie


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


On Dec. 6, 2017, 11:37 p.m., Joseph Wu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63971/
> -----------------------------------------------------------
> 
> (Updated Dec. 6, 2017, 11:37 p.m.)
> 
> 
> Review request for mesos, Chun-Hung Hsiao and Jie Yu.
> 
> 
> Bugs: MESOS-8251
>     https://issues.apache.org/jira/browse/MESOS-8251
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This module is currently intended for use by the Storage Local
> Resource Provider (SLRP), but may be used by other components if
> those components use any of the affected Container Storage Interface
> (CSI) requests. The affected calls are listed in the module's comments.
> 
> 
> Diffs
> -----
> 
>   include/mesos/mesos.proto 5b93478ed1a8250b05c44ec8b4d1f660a2053b87 
>   include/mesos/resource_provider/volume_profile.hpp PRE-CREATION 
>   include/mesos/v1/mesos.proto 22b3c6889d975147b001ef145ba4fc382debf70a 
> 
> 
> Diff: https://reviews.apache.org/r/63971/diff/4/
> 
> 
> Testing
> -------
> 
> See end of chain.
> 
> 
> Thanks,
> 
> Joseph Wu
> 
>

Reply via email to