)]}'
{"specs/keystone/backlog/project-limit-hierarchy.rst":[{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"36ded253ebc5532e4371e574ce828f35e3b740a8","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"With unified limits in place, all limits will be set in Keystone and enforced"},{"line_number":15,"context_line":"using oslo_limits. Many clouds want to enforce limits between top level"},{"line_number":16,"context_line":"groups, but delegate the setting of detailed per project limits to an admin"},{"line_number":17,"context_line":"of each group. This spec details how that can be implemented."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_6c7e95e5","line":15,"range":{"start_line":15,"start_character":6,"end_line":15,"end_character":17},"updated":"2018-03-26 16:00:35.000000000","message":"oslo.limit* or oslo_limit*","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"},{"author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"change_message_id":"36ded253ebc5532e4371e574ce828f35e3b740a8","unresolved":false,"context_lines":[{"line_number":76,"context_line":"  create one more resource usage before hitting the resource limit imposed"},{"line_number":77,"context_line":"  on the project tree, as the current usage of the tree is 16. Because C is"},{"line_number":78,"context_line":"  over their limit, they are unable to create any more resources."},{"line_number":79,"context_line":"* Project D has a limit that is larger than its parent\u0027s limit that applies to"},{"line_number":80,"context_line":"  the whole tree. While its not obvious this is useful, it is allowed to make"},{"line_number":81,"context_line":"  it easier to update the limits on the tree structure. Tooling should be built"},{"line_number":82,"context_line":"  to help highlight to operators inconsistencies such as this one."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_2f0e4f34","line":79,"updated":"2018-03-26 16:00:35.000000000","message":"I thought this wasn\u0027t necessarily possible in CERN\u0027s blog post?\n\n\"The ATLAS administrator could not set the Operations limit to be 50 as Limit(Workflow)+Limit(Web)\u003eLimit(Operations)\"\n\nhttps://openstack-in-production.blogspot.ch/2017/07/nested-quota-models.html","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"30a0f6f9be107e278b6cf80fc19adb63df7f6eed","unresolved":false,"context_lines":[{"line_number":76,"context_line":"  create one more resource usage before hitting the resource limit imposed"},{"line_number":77,"context_line":"  on the project tree, as the current usage of the tree is 16. Because C is"},{"line_number":78,"context_line":"  over their limit, they are unable to create any more resources."},{"line_number":79,"context_line":"* Project D has a limit that is larger than its parent\u0027s limit that applies to"},{"line_number":80,"context_line":"  the whole tree. While its not obvious this is useful, it is allowed to make"},{"line_number":81,"context_line":"  it easier to update the limits on the tree structure. Tooling should be built"},{"line_number":82,"context_line":"  to help highlight to operators inconsistencies such as this one."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_3a62a4af","line":79,"in_reply_to":"bf659307_2f0e4f34","updated":"2018-03-29 16:35:47.000000000","message":"True, I am going for a looser model here. Maybe this is the one restriction we should keep?","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"23a02050526fcfa8df8ce12a1344fc9ab28e8b2c","unresolved":false,"context_lines":[{"line_number":76,"context_line":"  create one more resource usage before hitting the resource limit imposed"},{"line_number":77,"context_line":"  on the project tree, as the current usage of the tree is 16. Because C is"},{"line_number":78,"context_line":"  over their limit, they are unable to create any more resources."},{"line_number":79,"context_line":"* Project D has a limit that is larger than its parent\u0027s limit that applies to"},{"line_number":80,"context_line":"  the whole tree. While its not obvious this is useful, it is allowed to make"},{"line_number":81,"context_line":"  it easier to update the limits on the tree structure. Tooling should be built"},{"line_number":82,"context_line":"  to help highlight to operators inconsistencies such as this one."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_5ea7410c","line":79,"in_reply_to":"bf659307_3a62a4af","updated":"2018-03-30 03:05:33.000000000","message":"I think we\u0027d better not do this at this moment. For the first step in Keystone, I hope we can keep as same as what Nova, Cinder or other services do for hierarchy limit. Then it will not break too much when Nova or Cinder move to unified limits.\n\nWe can consider this case later once we finish our default model IMO. Make sense?","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"150c5876cdb0dd5704b198e0959a4f2634567c5c","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"The key changes are:"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"* When setting a project limit, add ``include_all_children``,"},{"line_number":96,"context_line":"  defaults to `False`"},{"line_number":97,"context_line":"* Enforce project hierarchy constraints maintained via limiting modification of"},{"line_number":98,"context_line":"  the project hierarchy when ``include_all_children\u003dTrue`` is set on a project."}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_9e7f19df","line":95,"range":{"start_line":95,"start_character":31,"end_line":95,"end_character":61},"updated":"2018-03-30 03:28:56.000000000","message":"Instead of add the new property, how about support the model plugin by driver?\nhttps://review.openstack.org/#/c/557696 is the structure example. i.e. the limit model will controlled by config and will influence all the project.","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"2e501b4dbaeba6ab1ff189d0711290d97e107124","unresolved":false,"context_lines":[{"line_number":93,"context_line":"The key changes are:"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"* When setting a project limit, add ``include_all_children``,"},{"line_number":96,"context_line":"  defaults to `False`"},{"line_number":97,"context_line":"* Enforce project hierarchy constraints maintained via limiting modification of"},{"line_number":98,"context_line":"  the project hierarchy when ``include_all_children\u003dTrue`` is set on a project."},{"line_number":99,"context_line":"* New APIs to view the limits for a given project and all affected child"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_9a99707a","line":96,"updated":"2018-03-29 16:37:52.000000000","message":"Tim makes a good point, we should be clear that only a global or domain admin can set include_all_children. But when that gets set on a project, it allows admins in that project to set limits on its children. etc.","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"23a02050526fcfa8df8ce12a1344fc9ab28e8b2c","unresolved":false,"context_lines":[{"line_number":93,"context_line":"The key changes are:"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"* When setting a project limit, add ``include_all_children``,"},{"line_number":96,"context_line":"  defaults to `False`"},{"line_number":97,"context_line":"* Enforce project hierarchy constraints maintained via limiting modification of"},{"line_number":98,"context_line":"  the project hierarchy when ``include_all_children\u003dTrue`` is set on a project."},{"line_number":99,"context_line":"* New APIs to view the limits for a given project and all affected child"}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_be8e9d76","line":96,"in_reply_to":"bf659307_9a99707a","updated":"2018-03-30 03:05:33.000000000","message":"++","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"23a02050526fcfa8df8ce12a1344fc9ab28e8b2c","unresolved":false,"context_lines":[{"line_number":100,"context_line":"  projects (in the case of include_all_children\u003dFalse, that is no other"},{"line_number":101,"context_line":"  projects)"},{"line_number":102,"context_line":"* As with existing limit APIs, you can set limits that violate existing"},{"line_number":103,"context_line":"  usage, enforcing services are expected to disallow additional usage until"},{"line_number":104,"context_line":"  usage drops below the new limit. Operational tooling is expected to help"},{"line_number":105,"context_line":"  compare limits to both existing usage and capacity."},{"line_number":106,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"bf659307_3ef04dfd","line":103,"range":{"start_line":103,"start_character":9,"end_line":103,"end_character":28},"updated":"2018-03-30 03:05:33.000000000","message":"oslo.limit","commit_id":"96a3e3b16a0fd597ff7bd7d4cceaef33e496e730"}]}
