mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@mesosphere.io>
Subject Re: Review Request 63022: Imported and reconcile resources from CSI plugins.
Date Tue, 05 Dec 2017 05:57:36 GMT

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

(Updated Dec. 5, 2017, 5:57 a.m.)


Review request for mesos, James DeFelice, Jie Yu, Joseph Wu, and Jan Schlicht.


Changes
-------

Addressed Jie's comments.


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 (reservation, persistence, etc)
  b. Additional resources after subtracting the stripped resources
     from the imported resources are new resources.
3. Report the reconciled resources through UPDATE_STATE


Diffs (updated)
-----

  src/resource_provider/storage/provider.cpp d35b0d02992e3730ca47906b34c21e1ba9c653e7 


Diff: https://reviews.apache.org/r/63022/diff/16/

Changes: https://reviews.apache.org/r/63022/diff/15-16/


Testing
-------


Thanks,

Chun-Hung Hsiao


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