)]}'
{"specs/kilo/approved/disk-image-backend-storpool.rst":[{"author":{"_account_id":7677,"name":"Solly Ross","email":"sross@redhat.com","username":"sross"},"change_message_id":"f7cd871a33a677b5b17286520aa0106380161713","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Proposed change"},{"line_number":48,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"The proposed driver will make use of the StorPool API (based on JSON over HTTP)"},{"line_number":51,"context_line":"to create volumes in the StorPool cluster each time a new VM image is created"},{"line_number":52,"context_line":"and destroy them when the instance is terminated.  If the VM image is created"},{"line_number":53,"context_line":"from a StorPool-backed Cinder volume or Glance image, the driver will take care"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_5a4942b6","line":50,"updated":"2014-12-17 16:10:06.000000000","message":"Is there already a Python StorPool client, or will part of this essentially be writing a StorPool client in Python?","commit_id":"d4b1102b1f4a535658668383367fc0b5504ff98e"},{"author":{"_account_id":12988,"name":"Peter Penchev","email":"openstack-dev@storpool.com","username":"ppenchev"},"change_message_id":"4db7853756c8edccdd80d9844500786fc1b02aa0","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Proposed change"},{"line_number":48,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"The proposed driver will make use of the StorPool API (based on JSON over HTTP)"},{"line_number":51,"context_line":"to create volumes in the StorPool cluster each time a new VM image is created"},{"line_number":52,"context_line":"and destroy them when the instance is terminated.  If the VM image is created"},{"line_number":53,"context_line":"from a StorPool-backed Cinder volume or Glance image, the driver will take care"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_95d37b5e","line":50,"in_reply_to":"3a961159_5a4942b6","updated":"2014-12-17 16:24:40.000000000","message":"There are Python bindings for the StorPool JSON-over-HTTP API; I think that this should answer your question.  Yes, those bindings will be enough for writing the image backend; you can take a look at what was merged into Cinder - https://github.com/openstack/cinder/blob/master/cinder/volume/drivers/storpool.py - the create_cloned_volume() function at https://github.com/openstack/cinder/blob/master/cinder/volume/drivers/storpool.py#L125 is pretty much exactly what the main part of the image backend driver will have to do.  Of course, if the Nova disk image is being cloned off a snapshot and not a volume, it will be even simpler - no temporary snapshot.","commit_id":"d4b1102b1f4a535658668383367fc0b5504ff98e"},{"author":{"_account_id":7677,"name":"Solly Ross","email":"sross@redhat.com","username":"sross"},"change_message_id":"44359f4b8a48bd6077aee5240cb193dadf11e5c8","unresolved":false,"context_lines":[{"line_number":47,"context_line":"Proposed change"},{"line_number":48,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"The proposed driver will make use of the StorPool API (based on JSON over HTTP)"},{"line_number":51,"context_line":"to create volumes in the StorPool cluster each time a new VM image is created"},{"line_number":52,"context_line":"and destroy them when the instance is terminated.  If the VM image is created"},{"line_number":53,"context_line":"from a StorPool-backed Cinder volume or Glance image, the driver will take care"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_d6e6ea43","line":50,"in_reply_to":"3a961159_95d37b5e","updated":"2014-12-17 16:59:41.000000000","message":"Thanks.  That answers my question.  If you do another revision, you may want to mention this, as the current wording seems to imply that Nova will be interacting directly via REST calls (e.g. calling requests.get with a JSON object and then parsing the response JSON)","commit_id":"d4b1102b1f4a535658668383367fc0b5504ff98e"},{"author":{"_account_id":2271,"name":"Michael Still","email":"mikal@stillhq.com","username":"mikalstill"},"change_message_id":"d363e828957a82a4350a7eb5ed67c6dbbdb31468","unresolved":false,"context_lines":[{"line_number":146,"context_line":"Since the test setup requires an operational StorPool cluster, the unit tests"},{"line_number":147,"context_line":"will mostly use mocking to simulate the operations.  A separate continuous"},{"line_number":148,"context_line":"integration environment will be set up by StorPool and access to it will be"},{"line_number":149,"context_line":"provided for running automated CI tests."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"Documentation Impact"},{"line_number":152,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_9deda48e","line":149,"updated":"2014-12-08 03:48:53.000000000","message":"Same question as the volume proposal here -- is this something which can be tested in devstack?","commit_id":"d4b1102b1f4a535658668383367fc0b5504ff98e"}]}
