[ 
https://issues.apache.org/jira/browse/MESOS-9254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893317#comment-16893317
 ] 

Chun-Hung Hsiao commented on MESOS-9254:
----------------------------------------

Submitted these two patches first.
{noformat}
commit 668781708ac80913ad1b8eb336e4c38bff70d842
Author: Chun-Hung Hsiao <chhs...@mesosphere.io>
Date: Tue Jun 11 11:33:00 2019 -0700

Moved default constants for CSI RPC retry to a new header.

Since the default constants for CSI RPC retry do not depend on CSI
versions, these constants are pulled off from version-specific headers
to a common header.

Review: https://reviews.apache.org/r/71143{noformat}
{noformat}
commit 61eaef09d3df7c5aab9311b571f95a890bcf211b
Author: Chun-Hung Hsiao <chhs...@mesosphere.io>
Date: Tue Jun 11 11:33:18 2019 -0700

Added `reconciliation_interval_seconds` for storage resource providers.

This new configuration option controls how frequent a storage resource
provider reconciles existing volumes and storage pools against its CSI
plugin to detect new or missing disk resources.

Review: https://reviews.apache.org/r/71144{noformat}
 

> Make SLRP be able to update its volumes and storage pools.
> ----------------------------------------------------------
>
>                 Key: MESOS-9254
>                 URL: https://issues.apache.org/jira/browse/MESOS-9254
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Chun-Hung Hsiao
>            Assignee: Benjamin Bannier
>            Priority: Critical
>              Labels: mesosphere, mesosphere-dss-post-ga, storage
>
> We should consider making SLRP update its resources periodically, or adding 
> an endpoint to trigger that, for the following reasons:
> 1. Mesos currently assumes all profiles have disjoint storage pools. This is 
> because Mesos models each resource independently. However, in practice an 
> operator can set up, say two profiles, one for linear volumes and one for 
> raid volumes, and an "LVM" resource provider that can provision both linear 
> and raid volumes. The correlation between the storage pools of the linear and 
> raid profiles would reduce one's pool capacity when a volume of the other 
> type is provisioned. To reflect the actual sizes of correlated storage pools, 
> we need a way to make SLRP update its resources.
> 2. The SLRP now only queries the CSI plugin to report a list of volumes 
> during startup, so if a new device is added, the operator will have to 
> restart the agent to trigger another SLRP startup, which is inconvenient.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to