-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63022/
-----------------------------------------------------------
(Updated Dec. 1, 2017, 1:52 a.m.)
Review request for mesos, James DeFelice, Jie Yu, Joseph Wu, and Jan Schlicht.
Changes
-------
Moved `prepareControllerService` and `prepareNodeService` to another patch. Bug
fix.
Summary (updated)
-----------------
Imported and reconcile resources from CSI plugins.
Bugs: MESOS-8101
https://issues.apache.org/jira/browse/MESOS-8101
Repository: mesos
Description (updated)
-------
The following lists the steps to reconcile resources:
1. Import resources from the CSI plugin:
a. Get preprovisioned volumes:
ListVolumes
ValidateVolumeCapabilities for each volume
b. GetCapacity for each profile to get RAW resources
2. For each resource in the checkpointed resources:
a. Strip away metadata for offer operations
b. Keep the persistent volumes and all resources contained in the
imported resources
c. Additional imported resources are new resources
3. Report the reconciled resources through UPDATE_STATE
Diffs (updated)
-----
src/resource_provider/storage/provider.cpp
f586afc256fbcb2f2bf2451ffb7e7ba1d59cfa78
Diff: https://reviews.apache.org/r/63022/diff/14/
Changes: https://reviews.apache.org/r/63022/diff/13-14/
Testing
-------
Thanks,
Chun-Hung Hsiao