Chun-Hung Hsiao created MESOS-9633:
--------------------------------------
Summary: Create a utility framework to convert `RAW` disks and
`MOUNT` disks.
Key: MESOS-9633
URL: https://issues.apache.org/jira/browse/MESOS-9633
Project: Mesos
Issue Type: Task
Components: storage
Reporter: Chun-Hung Hsiao
Right now it is not easy for users to consume CSI disks. They need to come up
with a framework to convert {{RAW}} disks to {{MOUNT}} disks first, then the
{{MOUNT}} disks can be consumed by existing frameworks, e.g., Marathon. It
could be nice to have a utility framework to do this, say we could change
{{src/examples/test_csi_user_framework.cpp}} to become a utility executable to
provide the following functionalities:
* {{create}}: takes a {{profile}} and a {{size}} and registers a framework to
wait for an offer of a {{RAW}} disk matching the given {{profile}} and {{size}}
then convert it to a {{MOUNT}} disk.
* {{destroy}}: takes a {{vendor}} and an {{id}} and registers a framework to
wait for an offer of a {{MOUNT}} disk matching the given {{vendor}} and {{id}}
then convert it to a {{RAW}} disk.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)