)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"2b4e68b078dfb761f9a7ae25bf7a4107a9398785","unresolved":false,"context_lines":[{"line_number":11,"context_line":"desired solution for some use cases, but it has several"},{"line_number":12,"context_line":"disadvantages:"},{"line_number":13,"context_line":"* It currently doesn\u0027t support multi-tenancy. Fuxi-server will"},{"line_number":14,"context_line":"  use a pre-created credential to authenticate againest"},{"line_number":15,"context_line":"  Cinder/Manila. Therefore, it cannot manage resources that is"},{"line_number":16,"context_line":"  outside of the tenant of the credential."},{"line_number":17,"context_line":"* It is currently under heavy development. In particular, Fuxi"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"7f231b9d_1123c9a8","line":14,"range":{"start_line":14,"start_character":47,"end_line":14,"end_character":55},"updated":"2017-06-19 16:56:20.000000000","message":"nit: s/againest/against/","commit_id":"acea3452259224db83b709d0f2d5c79f6845d9bb"}],"specs/cinder-integration.rst":[{"author":{"_account_id":25026,"name":"Bin Zhou","email":"lakerzhou@gmail.com","username":"lakerzhou"},"change_message_id":"f21d849a7cdd841ac8c842fda0a0dbe8e3d3ad24","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   that directory as a data volume::"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"   $ docker run -d -v \u003cmounted-directory\u003e:/data cirros"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"Fuxi driver"},{"line_number":89,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5f201791_a1e7c240","line":86,"range":{"start_line":86,"start_character":0,"end_line":86,"end_character":0},"updated":"2017-06-23 03:28:28.000000000","message":"should we also address other scenarios such as killing a container, and detatching a volume? I had one concern about container volume. As we discussed before, container should be stateless, e.g. data should not be persistent to volume after the container is killed. This is the major distinction between volumes attached to a container with volumes attached to a capsule.","commit_id":"acea3452259224db83b709d0f2d5c79f6845d9bb"},{"author":{"_account_id":25026,"name":"Bin Zhou","email":"lakerzhou@gmail.com","username":"lakerzhou"},"change_message_id":"63bc70f5c150323b2e66fcb2dfc1fa1603586615","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   that directory as a data volume::"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"   $ docker run -d -v \u003cmounted-directory\u003e:/data cirros"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"Fuxi driver"},{"line_number":89,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5f201791_527c30b4","line":86,"range":{"start_line":86,"start_character":0,"end_line":86,"end_character":0},"in_reply_to":"5f201791_6485385a","updated":"2017-06-23 14:52:05.000000000","message":"Hongbin, I think it is a viable approach. I was thinking to format the volume before attaching, and detaching it to/fron a regular container. This step should be skipped for capsules. Only thing I am not sure is about performance indication. Fortunately, as the volume for a container is for temporary usage only, hopefully it is not large.","commit_id":"acea3452259224db83b709d0f2d5c79f6845d9bb"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"9400151c310b0f1a4fce204e7079161244f68191","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   that directory as a data volume::"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"   $ docker run -d -v \u003cmounted-directory\u003e:/data cirros"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"Fuxi driver"},{"line_number":89,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5f201791_6485385a","line":86,"range":{"start_line":86,"start_character":0,"end_line":86,"end_character":0},"in_reply_to":"5f201791_a1e7c240","updated":"2017-06-23 04:28:20.000000000","message":"I see your point, but it looks to me that zun doesn\u0027t have any control about how data is persist to a data volume (this seems to be controlled by docker daemon). What Zun can do is to format the volume before each attach, or destroy the volume after each detach. Do you have any other idea?","commit_id":"acea3452259224db83b709d0f2d5c79f6845d9bb"},{"author":{"_account_id":15122,"name":"Kiseok Kim","email":"kiseok7@gmail.com","username":"Kiseok"},"change_message_id":"b81ae6241e26f7b9be36b5852b09d5ecd33d2ee3","unresolved":false,"context_lines":[{"line_number":197,"context_line":"1. Create a volume - POST /v1/volumes"},{"line_number":198,"context_line":"2. List volumes - GET /v1/volumes"},{"line_number":199,"context_line":"3. Inspect volume - GET /v1/volumes/\u003cuuid\u003e"},{"line_number":200,"context_line":"4. Delect Volume - DELETE /v1/volumes/\u003cuuid\u003e"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"Security impact"},{"line_number":203,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f1d235d_fb79402f","line":200,"updated":"2017-06-29 09:26:18.000000000","message":"nit: s/Delect/Delete/","commit_id":"acea3452259224db83b709d0f2d5c79f6845d9bb"},{"author":{"_account_id":19316,"name":"Eduardo Gonzalez","email":"dabarren@gmail.com","username":"egonzalez90"},"change_message_id":"f80c59876e1a96f67b3f0b509617340df52a2006","unresolved":false,"context_lines":[{"line_number":42,"context_line":"   as data volumes."},{"line_number":43,"context_line":"2. Define a pluggable interface that can be implemented by different volume"},{"line_number":44,"context_line":"   drivers. A volume driver is a module that is responsible to manage Cinder"},{"line_number":45,"context_line":"   volumes for containers. Initially, we are going to provides two drivers:"},{"line_number":46,"context_line":"   a Cinder driver and a Fuxi driver."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Cinder driver"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3f1d235d_0b08ae8f","line":45,"range":{"start_line":45,"start_character":54,"end_line":45,"end_character":62},"updated":"2017-07-04 14:13:54.000000000","message":"nit: provide","commit_id":"87162d65e34a660bc60ddba8c273d2b453229c6b"},{"author":{"_account_id":15122,"name":"Kiseok Kim","email":"kiseok7@gmail.com","username":"Kiseok"},"change_message_id":"7192a09f611dc8bec6fbf6cce0d0905202024318","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"1. A user calls Zun APIs to create a container with a volume::"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    $ zun run --volume-driver\u003dcinder -v my-cinder-volume:/data cirros"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"2. After receiving this request, Zun will make an API call to Cinder to"},{"line_number":68,"context_line":"   reserve the volume. This step will update the status of the volume to"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1f1a1f67_16d8037d","line":65,"range":{"start_line":65,"start_character":14,"end_line":65,"end_character":36},"updated":"2017-07-14 07:17:38.000000000","message":"I think admin should choice a volume driver via zun.conf file. how do you all think?","commit_id":"6d80dd6af449a7e60a2f6147061ed08dc2f0fdeb"},{"author":{"_account_id":22406,"name":"Kien Nguyen","email":"kiennt2609@gmail.com","username":"kiennt"},"change_message_id":"469679175cdb03a26c48a652893bf4c32025a969","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"1. A user calls Zun APIs to create a container with a volume::"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    $ zun run --volume-driver\u003dcinder -v my-cinder-volume:/data cirros"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"2. After receiving this request, Zun will make an API call to Cinder to"},{"line_number":68,"context_line":"   reserve the volume. This step will update the status of the volume to"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1f1a1f67_2c7730d7","line":65,"range":{"start_line":65,"start_character":14,"end_line":65,"end_character":36},"in_reply_to":"1f1a1f67_16d8037d","updated":"2017-07-14 09:03:43.000000000","message":"This is only a spec, define some concepts \u0026 ideas. At this time, we don\u0027t have volume-driver option in config. Maybe will add it in future. That\u0027s all I knew, wait for @hongbin\u0027s reply. He is the author of this spec.","commit_id":"6d80dd6af449a7e60a2f6147061ed08dc2f0fdeb"},{"author":{"_account_id":16277,"name":"Pradeep Kumar Singh","email":"ps4openstack@gmail.com","username":"pradeep_singh"},"change_message_id":"2feaf9406e226a9712e46e9e8e221fbacd992431","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"1. A user calls Zun APIs to create a container with a volume::"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    $ zun run --volume-driver\u003dcinder -v my-cinder-volume:/data cirros"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"2. After receiving this request, Zun will make an API call to Cinder to"},{"line_number":68,"context_line":"   reserve the volume. This step will update the status of the volume to"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1f1a1f67_fc81d44b","line":65,"range":{"start_line":65,"start_character":14,"end_line":65,"end_character":36},"in_reply_to":"1f1a1f67_2c7730d7","updated":"2017-07-14 18:48:11.000000000","message":"I think this would be added like https://github.com/openstack/zun/blob/master/zun/conf/image_driver.py#L20. So nothing to mention explicitly.","commit_id":"6d80dd6af449a7e60a2f6147061ed08dc2f0fdeb"},{"author":{"_account_id":11536,"name":"hongbin","email":"hongbin034@gmail.com","username":"hongbin"},"change_message_id":"6b945ffe86e979d0125b2f3d56e682a8dc1c1715","unresolved":false,"context_lines":[{"line_number":62,"context_line":""},{"line_number":63,"context_line":"1. A user calls Zun APIs to create a container with a volume::"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    $ zun run --volume-driver\u003dcinder -v my-cinder-volume:/data cirros"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"2. After receiving this request, Zun will make an API call to Cinder to"},{"line_number":68,"context_line":"   reserve the volume. This step will update the status of the volume to"}],"source_content_type":"text/x-rst","patch_set":10,"id":"1f1a1f67_9ccae06a","line":65,"range":{"start_line":65,"start_character":14,"end_line":65,"end_character":36},"in_reply_to":"1f1a1f67_fc81d44b","updated":"2017-07-14 19:01:04.000000000","message":"Yes. Admin should choose a list of supported drivers and this could be done via a config option. Then, users can choose among the list of drivers configured by admins.","commit_id":"6d80dd6af449a7e60a2f6147061ed08dc2f0fdeb"}]}
