You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Chun-Hung Hsiao <ch...@mesosphere.io> on 2017/12/13 22:49:53 UTC

Review Request 64583: Supporting pre-existing volumes with no profile in SLRP.

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

Review request for mesos, James DeFelice and Jie Yu.


Repository: mesos


Description
-------

The storage local resource provider will now report two catagories of
RAW resources: resources that represents storage pools with profiles,
and resources that represents pre-existing volumes with IDs but no
profile. When applying `CREATE_VOLUME` or `CREATE_BLOCK` on pre-existing
volumes, we issue a `ValicateVolumeCapabilities` CSI call with the
default Mount or Block capabilities and convert the RAW resources into
MOUNT, PATH or BLOCK resources. When applying `DESTROY_VOLUME` or
`DESTROY_BLOCK` on these resources, they will be converted back to RAW
resources with IDs, but the pre-existing volumes won't be deleted.


Diffs
-----

  src/resource_provider/storage/provider.cpp e806f44ef33405d4a2b133576c60be56e9fe3435 


Diff: https://reviews.apache.org/r/64583/diff/1/


Testing
-------

See later in chain.


Thanks,

Chun-Hung Hsiao