)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"7afed33cb923524ef58f133598f3d8d49c0fecf6","unresolved":false,"context_lines":[{"line_number":7,"context_line":"cinder-manage should use API instead of direct DB communication"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"cinder-manage should use REST API instead of direct db calls. It will"},{"line_number":10,"context_line":"provide"},{"line_number":11,"context_line":"more flexible way to manage Cinder via CLI and API not only for admin"},{"line_number":12,"context_line":"users"},{"line_number":13,"context_line":"but also for Horizon and Heat users with admin permissions."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a961159_77c78245","line":10,"updated":"2014-12-22 15:04:50.000000000","message":"Commit message should be reformatted so that each line approaches 70 chars rather than having these very short lines.","commit_id":"f7693d277ead7deb802776c41bacc73e8514e249"}],"specs/kilo/cinder-manage-api-usage.rst":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"7afed33cb923524ef58f133598f3d8d49c0fecf6","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/cinder/+spec/cinder-manage-api-usage"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"cinder-manage should use REST API instead of direct db calls. It will provide"},{"line_number":14,"context_line":"more flexible way to manage Cinder via CLI and API not only for admin users"},{"line_number":15,"context_line":"but also for Horizon and Heat users with admin permissions."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_37e97ab7","line":13,"updated":"2014-12-22 15:04:50.000000000","message":"suggest s/It/This/","commit_id":"f7693d277ead7deb802776c41bacc73e8514e249"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"7afed33cb923524ef58f133598f3d8d49c0fecf6","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* need to cange cinder-manage code if Database or RPC APIs changed;"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controler;"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_97f06e92","line":26,"updated":"2014-12-22 15:04:50.000000000","message":"s/controler/controller/","commit_id":"f7693d277ead7deb802776c41bacc73e8514e249"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"7afed33cb923524ef58f133598f3d8d49c0fecf6","unresolved":false,"context_lines":[{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"cinder-manage command-line tool should use python-cinderclient to communicate"},{"line_number":38,"context_line":"with Cinder Services via REST API. It allows us to use Manage API for cloud"},{"line_number":39,"context_line":"admins and operators not only from controller host and via Horizon."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_d72d96ff","line":38,"updated":"2014-12-22 15:04:50.000000000","message":"suggest: s/It allows/This will allow/","commit_id":"f7693d277ead7deb802776c41bacc73e8514e249"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"7afed33cb923524ef58f133598f3d8d49c0fecf6","unresolved":false,"context_lines":[{"line_number":109,"context_line":"Dependencies"},{"line_number":110,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"* These changes will require addind python-cinderclient as requirement"},{"line_number":113,"context_line":"to Cinder"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_b742caa8","line":112,"updated":"2014-12-22 15:04:50.000000000","message":"s/addind/adding/","commit_id":"f7693d277ead7deb802776c41bacc73e8514e249"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"7afed33cb923524ef58f133598f3d8d49c0fecf6","unresolved":false,"context_lines":[{"line_number":117,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"Both unit tests for API and Tempest will be implemented. Also it is needed"},{"line_number":120,"context_line":"to implement unit tests for python-cinderclient and cinder-manage."},{"line_number":121,"context_line":""},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"Documentation Impact"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_1759de8d","line":120,"updated":"2014-12-22 15:04:50.000000000","message":"Suggest: Unit tests for both API and Tempest will be implemented, as well as for python-cinderclient and cinder-manage.","commit_id":"f7693d277ead7deb802776c41bacc73e8514e249"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"ea8451e47dc717aa790edefa5c90ac4c7584ad8d","unresolved":false,"context_lines":[{"line_number":18,"context_line":"Problem description"},{"line_number":19,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Current cinder-manage implementation uses direct Datatabase API and RPC calls."},{"line_number":22,"context_line":"It gives us some limitation and potential issues:"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* need to cange cinder-manage code if Database or RPC APIs changed;"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a961159_7a79292e","line":21,"updated":"2014-12-22 15:26:04.000000000","message":"s/Datatabase/Database/\n\nShould it really be capitalized?","commit_id":"15ba2a422194867cac13a7442cfe288dc7e66ba2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"ea8451e47dc717aa790edefa5c90ac4c7584ad8d","unresolved":false,"context_lines":[{"line_number":72,"context_line":"* python-cinderclient should support new REST API."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Performance Impact"},{"line_number":75,"context_line":"------------------"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"None"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a961159_fa30b957","line":75,"updated":"2014-12-22 15:26:04.000000000","message":"An outsider might well expect there to be *some* performance loss using a REST API rather than a direct API call, so I think it would be helpful to have a brief statement here indicating that any effect is minimal or non-existent and why that is the case.","commit_id":"15ba2a422194867cac13a7442cfe288dc7e66ba2"},{"author":{"_account_id":170,"name":"Mike Perez","email":"thingee@gmail.com","username":"thingee"},"change_message_id":"d249ddd2c53abcac1a2c312a42ba4a6410bb3b13","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Current cinder-manage implementation uses direct database API and RPC calls."},{"line_number":22,"context_line":"It gives us some limitation and potential issues:"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* need to cange cinder-manage code if database or RPC APIs changed;"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controller;"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a961159_e76f20c2","line":24,"updated":"2014-12-23 18:56:49.000000000","message":"/cange/change/","commit_id":"4cce3971d5207f2c917725fb6a7eaf050112e8d7"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"6b62b400bcf9c1aca8ee0e26c31eff211482ac45","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Current cinder-manage implementation uses direct database API and RPC calls."},{"line_number":22,"context_line":"It gives us some limitation and potential issues:"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* need to change cinder-manage code if database or RPC APIs changed;"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controller;"},{"line_number":27,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_2e1cf965","line":24,"updated":"2015-01-14 20:25:38.000000000","message":"Maybe, but honestly I don\u0027t know of this being something that\u0027s happened much in the past 3 years","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"6b62b400bcf9c1aca8ee0e26c31eff211482ac45","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* need to change cinder-manage code if database or RPC APIs changed;"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controller;"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_8e0fad2d","line":26,"updated":"2015-01-14 20:25:38.000000000","message":"Didn\u0027t used to be true, we used to have the remote db calls setup to go direct and do things like backup, move DB\u0027s etc.  No reason we have to keep this, and there are easier ways to fix this (like put remote access directly to DB in place of the call to cinder.db)","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"978df6a1016200c6e40b90d81f21eb709aaca883","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* need to change cinder-manage code if database or RPC APIs changed;"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controller;"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_cea535a0","line":26,"in_reply_to":"3a961159_8e0fad2d","updated":"2015-01-14 20:51:11.000000000","message":"John, thanks for reminding me this. I forgot about it because such option is not used in my environments","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"6b62b400bcf9c1aca8ee0e26c31eff211482ac45","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controller;"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* no way to use same features as cinder-manage from Horizon and REST API."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_ae2f0988","line":28,"updated":"2015-01-14 20:25:38.000000000","message":"Nope, it\u0027s cinder-manage/admin only for a reason :)","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"978df6a1016200c6e40b90d81f21eb709aaca883","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controller;"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* no way to use same features as cinder-manage from Horizon and REST API."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_ce97f543","line":28,"in_reply_to":"3a961159_ae2f0988","updated":"2015-01-14 20:51:11.000000000","message":"Sure, but some more secure from cinder side looks good for me.","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"f32e3af1ce69c94a092d610447644a4ab07101e0","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"* cinder-manage works only on a controller;"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* no way to use same features as cinder-manage from Horizon and REST API."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3ab451fb_0b11b4ac","line":28,"in_reply_to":"3a961159_ce97f543","updated":"2015-04-17 12:34:48.000000000","message":"Any claim of a security increase is pure theatre here - if cinder-manage can do something now without auth, then the same steps could be done manually without much effort.","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":2243,"name":"John Griffith","email":"john.griffith8@gmail.com","username":"john-griffith"},"change_message_id":"6b62b400bcf9c1aca8ee0e26c31eff211482ac45","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* no way to use same features as cinder-manage from Horizon and REST API."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_0e52dd12","line":30,"updated":"2015-01-14 20:25:38.000000000","message":"Was never intended to be used that way","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"978df6a1016200c6e40b90d81f21eb709aaca883","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* no way to use same features as cinder-manage from Horizon and REST API."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3a961159_8ec6cd47","line":30,"in_reply_to":"3a961159_0e52dd12","updated":"2015-01-14 20:51:11.000000000","message":"It\u0027s because of cinder-manage duplicating some cinderclient methods","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"},{"author":{"_account_id":1207,"name":"Duncan Thomas","email":"duncan.thomas@gmail.com","username":"duncan-thomas"},"change_message_id":"f32e3af1ce69c94a092d610447644a4ab07101e0","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"* cinder-manage doesn\u0027t check user authorization for any command;"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* no way to use same features as cinder-manage from Horizon and REST API."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3ab451fb_abfc003f","line":30,"in_reply_to":"3a961159_8ec6cd47","updated":"2015-04-17 12:34:48.000000000","message":"Ensuring as much as possible of the cinder-manage functionality can be reached via the rest API is a valid aim, I don\u0027t see why making cinder-manage less useful is any kind of gain. cinder-manage can be used in situations where the API is down, and is generally very useful when firefighting during incidents - indeed I miss some of the basic gunctionality that used to be in there at 4am when everything is b roken and I\u0027ve got to figure out how/why.","commit_id":"c944f6e99844a33f1b1e67827c3413076b051831"}]}
