)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":23821,"name":"Prince Nana Owusu Boateng","email":"prince.a.owusu.boateng@intel.com","username":"nanaboat"},"change_message_id":"b9cb898f82daf9c8d2ea07991ddd6680f0eaf4c5","unresolved":false,"context_lines":[{"line_number":15,"context_line":"   in different ways."},{"line_number":16,"context_line":"There should be a single point of managing quotas in OpenStack."},{"line_number":17,"context_line":"Keystone looks like a right place to store quotas limits because"},{"line_number":18,"context_line":"Keystone stores projects and limits are belong to projects."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I9661e4e8ecca454d456d716475868f632d0130d1"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"1a1ced50_ad09b32e","line":18,"range":{"start_line":18,"start_character":36,"end_line":18,"end_character":40},"updated":"2017-03-17 20:41:14.000000000","message":"nit: take this from the sentence","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"}],"specs/keystone/backlog/quota-limits.rst":[{"author":{"_account_id":13055,"name":"Alexander Makarov","email":"ajiekcahdp.makapob@gmail.com","username":"amakarov"},"change_message_id":"b5e844b0e22a521a8b4427da8385a8fd05ac38dd","unresolved":false,"context_lines":[{"line_number":25,"context_line":"Proposed Change"},{"line_number":26,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Store quota limits in keystone. Provide API for CRUD. Provide API for fetching"},{"line_number":29,"context_line":"limits per user/project/domain and per service."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa7ab95a_1bce655a","line":28,"range":{"start_line":28,"start_character":19,"end_line":28,"end_character":30},"updated":"2016-08-31 16:06:10.000000000","message":"I\u0027d say \u0027in centralized storage\u0027","commit_id":"0593f0d30d2e6f9a89f2c6b4996cb827f90c5eff"},{"author":{"_account_id":6849,"name":"Roman Podoliaka","email":"roman.podoliaka@gmail.com","username":"rpodolyaka"},"change_message_id":"53ae266c95974e73cd1a5c9fe19502223fe7af49","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Quotas are scattered across OpenStack services. Each defines own models and"},{"line_number":14,"context_line":"APIs for managing limits. Because of that, there are many differences in"},{"line_number":15,"context_line":"what is supported. There should be a single point of managing quotas in"},{"line_number":16,"context_line":"OpenStack."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Problem Description"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_8f4ca543","line":15,"updated":"2016-09-12 14:45:04.000000000","message":"I think it\u0027d be beneficial, if we clearly stated here what the difference between managing quotas (limits) and enforcing quotas (tracking of usages) is and which part of the problem this spec tackles.","commit_id":"04633a27b04593c69223a48798064d2479d6b1d5"},{"author":{"_account_id":13055,"name":"Alexander Makarov","email":"ajiekcahdp.makapob@gmail.com","username":"amakarov"},"change_message_id":"99532c239db4a6b02c83d8579c92a83bd3dd89ba","unresolved":false,"context_lines":[{"line_number":22,"context_line":"differences in what is supported, for example, Nova supports per-user"},{"line_number":23,"context_line":"limits, but Neutron and Cinder don\u0027t. It also slows down introduction"},{"line_number":24,"context_line":"of new concepts, such as domains and HMT."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Proposed Change"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_681689a8","line":25,"updated":"2016-09-06 15:53:46.000000000","message":"Use cases are needed here.","commit_id":"04633a27b04593c69223a48798064d2479d6b1d5"},{"author":{"_account_id":6849,"name":"Roman Podoliaka","email":"roman.podoliaka@gmail.com","username":"rpodolyaka"},"change_message_id":"53ae266c95974e73cd1a5c9fe19502223fe7af49","unresolved":false,"context_lines":[{"line_number":33,"context_line":"  instance and independent nova/neutron/cinder instance. With this kind of"},{"line_number":34,"context_line":"  deployment limits are not shared among regions."},{"line_number":35,"context_line":"- Service"},{"line_number":36,"context_line":"- One of domain, project or user"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Limits will be returned in token body, the same way catalog is returned now."},{"line_number":39,"context_line":"When a user requests a project-scoped token, the first existing type of limit"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_8fcf457e","line":36,"updated":"2016-09-12 14:45:04.000000000","message":"IIUC a domain is just a special case of a project now, so probably what we need is notion of \"nested\" quotas for projects.","commit_id":"04633a27b04593c69223a48798064d2479d6b1d5"},{"author":{"_account_id":6849,"name":"Roman Podoliaka","email":"roman.podoliaka@gmail.com","username":"rpodolyaka"},"change_message_id":"53ae266c95974e73cd1a5c9fe19502223fe7af49","unresolved":false,"context_lines":[{"line_number":36,"context_line":"- One of domain, project or user"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Limits will be returned in token body, the same way catalog is returned now."},{"line_number":39,"context_line":"When a user requests a project-scoped token, the first existing type of limit"},{"line_number":40,"context_line":"from the list is returned:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"1. User-associated limit"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_12899a26","line":39,"updated":"2016-09-12 14:45:04.000000000","message":"I think we\u0027ll need to return multiple limits to properly enforce nested quotas depending on the exact strategy we choose.\n\nTo give you an example, let\u0027s say we have a parent project A with a limit N and child projects B and C with limits K and M accordingly. Now, the existing spec for nested quotas  (https://specs.openstack.org/openstack/nova-specs/specs/kilo/approved/nested-quota-driver-api.html) says that K + M \u003c\u003d N must hold (and this is done by adding an additional `allocated` field which is a sum of hart limits of immediate child projects), while some people may argue that K + M \u003e N must be allowed for limits, but prohibited only for, obviously, actual usages.\n\nIMO, Keystone should allow for both: we could have an additional field on a project, that would show whether we allow setting of limits, so that K + M \u003e N for a particular hierarchy of projects via API.\n\nThe point is that in order to allow for the latter use case, we should expose the project hierarchy via API together with associated limits, rather than return only the most concrete limit set.","commit_id":"04633a27b04593c69223a48798064d2479d6b1d5"},{"author":{"_account_id":13055,"name":"Alexander Makarov","email":"ajiekcahdp.makapob@gmail.com","username":"amakarov"},"change_message_id":"4c5e13b4394fb87bc004d2d0b49c0f48846ff982","unresolved":false,"context_lines":[{"line_number":57,"context_line":"------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Store limits in a separate service, managed by the Keystone project."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Security Impact"},{"line_number":62,"context_line":"---------------"},{"line_number":63,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_85de583d","line":60,"updated":"2016-09-06 15:37:03.000000000","message":"Current implementation is also an alternative.","commit_id":"04633a27b04593c69223a48798064d2479d6b1d5"},{"author":{"_account_id":3211,"name":"zhangjialong","email":"zhangjl@awcloud.com","username":"zhangjl"},"change_message_id":"fdfb46ac253807c21ed3633a7d0c24790d016af8","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  bbobrov"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Other contributors:"},{"line_number":91,"context_line":"  "},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Work Items"},{"line_number":94,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a89bdaa_c901453a","line":91,"range":{"start_line":91,"start_character":0,"end_line":91,"end_character":2},"updated":"2016-09-07 01:22:24.000000000","message":"please remove the white space","commit_id":"04633a27b04593c69223a48798064d2479d6b1d5"},{"author":{"_account_id":7725,"name":"David Stanek","email":"dstanek@dstanek.com","username":"dstanek"},"change_message_id":"6ba1aff9d8f2e3ad64748e3326adbd2cdc18b1dd","unresolved":false,"context_lines":[{"line_number":23,"context_line":"limits, but Neutron and Cinder don\u0027t. It also slows down introduction"},{"line_number":24,"context_line":"of new concepts, such as domains and HMT."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Proposed Change"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Store quota limits in keystone. Limits will be associated with the following"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ba5da102_ed393ff3","line":26,"updated":"2016-11-07 04:17:14.000000000","message":"I think you have to come up with a more comprehensive features list based on the other projects.\n\nOnce we have that it is not something that we should be designing without the feedback of other projects.","commit_id":"21637dcd3f9876910dce12f1beda25b35cb08a67"},{"author":{"_account_id":17645,"name":"Shan Guo","email":"guoshan.jolie@gmail.com","username":"guoshan"},"change_message_id":"01e00dd499024f568b8aacd547662bf715670b28","unresolved":false,"context_lines":[{"line_number":36,"context_line":"- One of domain, project or user"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Provide CRUD for the limits, store them in a backend."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Alternatives"},{"line_number":41,"context_line":"------------"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a8ec9b2_56056d43","line":39,"updated":"2016-09-19 08:19:43.000000000","message":"It would be appreciated if use case are attached here.","commit_id":"21637dcd3f9876910dce12f1beda25b35cb08a67"},{"author":{"_account_id":17645,"name":"Shan Guo","email":"guoshan.jolie@gmail.com","username":"guoshan"},"change_message_id":"25d2e70a7be619cfd6bb5671e0292e30f7f10870","unresolved":false,"context_lines":[{"line_number":50,"context_line":"Notifications Impact"},{"line_number":51,"context_line":"--------------------"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"Notifications will be emited for any action performed on quotas."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Other Deployer Impact"},{"line_number":56,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a8ec9b2_1bd070c8","line":53,"range":{"start_line":53,"start_character":22,"end_line":53,"end_character":28},"updated":"2016-09-19 08:15:26.000000000","message":"typo, emitted","commit_id":"21637dcd3f9876910dce12f1beda25b35cb08a67"},{"author":{"_account_id":17645,"name":"Shan Guo","email":"guoshan.jolie@gmail.com","username":"guoshan"},"change_message_id":"25d2e70a7be619cfd6bb5671e0292e30f7f10870","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  bbobrov"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Other contributors:"},{"line_number":75,"context_line":"  "},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Work Items"},{"line_number":78,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a8ec9b2_7bd974f2","line":75,"range":{"start_line":75,"start_character":0,"end_line":75,"end_character":2},"updated":"2016-09-19 08:15:26.000000000","message":"extra blank","commit_id":"21637dcd3f9876910dce12f1beda25b35cb08a67"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"4a3cf33f060952f950f1acf11036ae171d590398","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"1. Name of the resources and resource-service mapping  are hardcoded."},{"line_number":38,"context_line":"   It is hardcoded in the service code (Nova, for example) and it should be"},{"line_number":39,"context_line":"   hardcoded in the client code (Horizon, for example)."},{"line_number":40,"context_line":"2. There is no centralized quota management for OpenStack projects."},{"line_number":41,"context_line":"3. Cinder, Nova and Neutron supports (or going to support) hierarchical quotas"},{"line_number":42,"context_line":"   in a different ways."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_c326d067","line":39,"updated":"2016-12-13 14:29:37.000000000","message":"or it shouldn\u0027t be hardcoded at all and instead be available as data returned from an HTTP API :)","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"bd344459bcdc87360a6c840864dbc7cba5f4895b","unresolved":false,"context_lines":[{"line_number":68,"context_line":"   +\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"},{"line_number":69,"context_line":"   | name (varchar)         |"},{"line_number":70,"context_line":"   +------------------------+"},{"line_number":71,"context_line":"   | default_limit (int)    |"},{"line_number":72,"context_line":"   +------------------------+"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"   \u0027Resources\u0027 will be used to store resource names (for example, \"ram\")"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_4bee24ed","line":71,"updated":"2016-12-14 12:16:59.000000000","message":"I\u0027d prefer to separate Resources reference and limits.\nResources table can be:\nRecources (id, name, service_id), so when you look at the table\nyou can understand to which service it belongs.\nnit: I believe table should be singular in keystone.","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"bd344459bcdc87360a6c840864dbc7cba5f4895b","unresolved":false,"context_lines":[{"line_number":81,"context_line":"   +----------------------------------------------------+"},{"line_number":82,"context_line":"   | region_id   (varchar)                              |"},{"line_number":83,"context_line":"   +----------------------------------------------------+"},{"line_number":84,"context_line":"   | service_id  (varchar)                              |"},{"line_number":85,"context_line":"   +----------------------------------------------------+"},{"line_number":86,"context_line":"   | scope (enum(\u0027Project\u0027,\u0027UserProject\u0027,\u0027UserDomain\u0027)) |"},{"line_number":87,"context_line":"   +----------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_6bb760d8","line":84,"updated":"2016-12-14 12:16:59.000000000","message":"service_id can be moved to the resource table.","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"bd344459bcdc87360a6c840864dbc7cba5f4895b","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   +----------------------------------------------------+"},{"line_number":84,"context_line":"   | service_id  (varchar)                              |"},{"line_number":85,"context_line":"   +----------------------------------------------------+"},{"line_number":86,"context_line":"   | scope (enum(\u0027Project\u0027,\u0027UserProject\u0027,\u0027UserDomain\u0027)) |"},{"line_number":87,"context_line":"   +----------------------------------------------------+"},{"line_number":88,"context_line":"   | actor_id    (varchar)                              |"},{"line_number":89,"context_line":"   +----------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_2baf2882","line":86,"updated":"2016-12-14 12:16:59.000000000","message":"Again I\u0027d prefer to store default value in the limit table\nrather than in resource table. Possibly, the scope should be a nullable column.","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":23821,"name":"Prince Nana Owusu Boateng","email":"prince.a.owusu.boateng@intel.com","username":"nanaboat"},"change_message_id":"aad992587a6d15150eca77d7353a361b39ec398a","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   +----------------------------------------------------+"},{"line_number":84,"context_line":"   | service_id  (varchar)                              |"},{"line_number":85,"context_line":"   +----------------------------------------------------+"},{"line_number":86,"context_line":"   | scope (enum(\u0027Project\u0027,\u0027UserProject\u0027,\u0027UserDomain\u0027)) |"},{"line_number":87,"context_line":"   +----------------------------------------------------+"},{"line_number":88,"context_line":"   | actor_id    (varchar)                              |"},{"line_number":89,"context_line":"   +----------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a1ced50_8ed43fec","line":86,"in_reply_to":"1a6eadb0_2baf2882","updated":"2017-03-23 03:54:44.000000000","message":"+1","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":23821,"name":"Prince Nana Owusu Boateng","email":"prince.a.owusu.boateng@intel.com","username":"nanaboat"},"change_message_id":"aad992587a6d15150eca77d7353a361b39ec398a","unresolved":false,"context_lines":[{"line_number":85,"context_line":"   +----------------------------------------------------+"},{"line_number":86,"context_line":"   | scope (enum(\u0027Project\u0027,\u0027UserProject\u0027,\u0027UserDomain\u0027)) |"},{"line_number":87,"context_line":"   +----------------------------------------------------+"},{"line_number":88,"context_line":"   | actor_id    (varchar)                              |"},{"line_number":89,"context_line":"   +----------------------------------------------------+"},{"line_number":90,"context_line":"   | target_id   (varchar)                              |"},{"line_number":91,"context_line":"   +----------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a1ced50_cedab716","line":88,"range":{"start_line":88,"start_character":5,"end_line":88,"end_character":13},"updated":"2017-03-23 03:54:44.000000000","message":"can you clarify what actor_id means?","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"bd344459bcdc87360a6c840864dbc7cba5f4895b","unresolved":false,"context_lines":[{"line_number":87,"context_line":"   +----------------------------------------------------+"},{"line_number":88,"context_line":"   | actor_id    (varchar)                              |"},{"line_number":89,"context_line":"   +----------------------------------------------------+"},{"line_number":90,"context_line":"   | target_id   (varchar)                              |"},{"line_number":91,"context_line":"   +----------------------------------------------------+"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"   \u0027Limits\u0027 will store individual integer limits and will be associated"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_6bde8012","line":90,"updated":"2016-12-14 12:16:59.000000000","message":"Could you please clarify what target_id means?","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"bd344459bcdc87360a6c840864dbc7cba5f4895b","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"#. Provide CRUD for the resources and limits."},{"line_number":104,"context_line":"   Some services (Cinder, for example) creates resources"},{"line_number":105,"context_line":"   dynamically. API for limits and resources is absolutely necessary."},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"#. Include limits per scope (Project, UserProject, UserDomain) into the token:"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_ebdc50e6","line":105,"updated":"2016-12-14 12:16:59.000000000","message":"I think it\u0027d be good to describe calls parameters.\nI\u0027m interested in a possibility to show user, project or default limits in one call.","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"bd344459bcdc87360a6c840864dbc7cba5f4895b","unresolved":false,"context_lines":[{"line_number":139,"context_line":"Alternatives"},{"line_number":140,"context_line":"------------"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"Store limits in a separate service, managed by the Keystone project."},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"Security Impact"},{"line_number":145,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_cbba346e","line":142,"updated":"2016-12-14 12:16:59.000000000","message":"It\u0027d be good to describe why this solution was chosen as in your post in ML.","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"},{"author":{"_account_id":21813,"name":"Andrey Volkov","email":"m@amadev.ru","username":"avolkov"},"change_message_id":"bd344459bcdc87360a6c840864dbc7cba5f4895b","unresolved":false,"context_lines":[{"line_number":193,"context_line":"Work Items"},{"line_number":194,"context_line":"----------"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"#. Create ne database tables and backend to store quota limits"},{"line_number":197,"context_line":"   in the Keystone."},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"#. Create API to work with resources and limits."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a6eadb0_be0d3439","line":196,"updated":"2016-12-14 12:16:59.000000000","message":"nit: new?","commit_id":"e1853fd4dc8d317e372d1f726ac969df3ac42870"}]}
