)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"78bb58ea745b2fec99de461d521e90704ed04266","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Add ram/cpu/disk allocation ratio to Hypervisor show"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Currently, the ``GET /os-hypervisors/detail`` and"},{"line_number":10,"context_line":"``GET /os-hypervisors/{hypervisor_id}`` API does not get"},{"line_number":11,"context_line":"ram_allocation_ratio, cpu_allocation_ratio and"},{"line_number":12,"context_line":"disk_allocation_ratio."},{"line_number":13,"context_line":"The user sets the allocation ratio by using the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f7c97a3_f1b27fe8","line":10,"range":{"start_line":10,"start_character":53,"end_line":10,"end_character":56},"updated":"2018-07-12 12:31:27.000000000","message":"s/get/show","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"78bb58ea745b2fec99de461d521e90704ed04266","unresolved":false,"context_lines":[{"line_number":10,"context_line":"``GET /os-hypervisors/{hypervisor_id}`` API does not get"},{"line_number":11,"context_line":"ram_allocation_ratio, cpu_allocation_ratio and"},{"line_number":12,"context_line":"disk_allocation_ratio."},{"line_number":13,"context_line":"The user sets the allocation ratio by using the"},{"line_number":14,"context_line":"configuration, but they can not see through Nova API."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"APIImpact"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f7c97a3_d1b183e2","line":13,"range":{"start_line":13,"start_character":4,"end_line":13,"end_character":8},"updated":"2018-07-12 12:31:27.000000000","message":"s/user/admin\n\nUsers don\u0027t have access to os-hypervisors","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"}],"specs/rocky/approved/add-ratio-to-hypervisor-show.rst":[{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"78bb58ea745b2fec99de461d521e90704ed04266","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/nova/+spec/add-ratio-to-hypervisor-show"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Currently, the ``GET /os-hypervisors/detail`` and"},{"line_number":14,"context_line":"``GET /os-hypervisors/{hypervisor_id}`` API does not get ram_allocation_ratio,"},{"line_number":15,"context_line":"cpu_allocation_ratio and disk_allocation_ratio. The user sets the allocation"},{"line_number":16,"context_line":"ratio by using the configuration, but they can not see through Nova API."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_11ddbb12","line":14,"range":{"start_line":14,"start_character":53,"end_line":14,"end_character":56},"updated":"2018-07-12 12:31:27.000000000","message":"s/get/show","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"78bb58ea745b2fec99de461d521e90704ed04266","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Currently, the ``GET /os-hypervisors/detail`` and"},{"line_number":14,"context_line":"``GET /os-hypervisors/{hypervisor_id}`` API does not get ram_allocation_ratio,"},{"line_number":15,"context_line":"cpu_allocation_ratio and disk_allocation_ratio. The user sets the allocation"},{"line_number":16,"context_line":"ratio by using the configuration, but they can not see through Nova API."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_91c30b3a","line":15,"range":{"start_line":15,"start_character":52,"end_line":15,"end_character":56},"updated":"2018-07-12 12:31:27.000000000","message":"s/user/admin","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"78bb58ea745b2fec99de461d521e90704ed04266","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Currently, the ``GET /os-hypervisors/detail`` and"},{"line_number":23,"context_line":"``GET /os-hypervisors/{hypervisor_id}`` API responses cpu/ram/disk size"},{"line_number":24,"context_line":"information of the host, but does not return ram/cpu/disk allocation ratio."},{"line_number":25,"context_line":"Users can\u0027t get ratio information through Nova API."},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_d1e663e8","line":23,"range":{"start_line":23,"start_character":44,"end_line":23,"end_character":53},"updated":"2018-07-12 12:31:27.000000000","message":"s/responses/response contains information about the/","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"78bb58ea745b2fec99de461d521e90704ed04266","unresolved":false,"context_lines":[{"line_number":22,"context_line":"Currently, the ``GET /os-hypervisors/detail`` and"},{"line_number":23,"context_line":"``GET /os-hypervisors/{hypervisor_id}`` API responses cpu/ram/disk size"},{"line_number":24,"context_line":"information of the host, but does not return ram/cpu/disk allocation ratio."},{"line_number":25,"context_line":"Users can\u0027t get ratio information through Nova API."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"Use Cases"},{"line_number":28,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_b1fac774","line":25,"range":{"start_line":25,"start_character":0,"end_line":25,"end_character":5},"updated":"2018-07-12 12:31:27.000000000","message":"Admins\n\nAlso, admins can get this information easily from the placement API using:\n\nGET /resource_providers/{rp_uuid}/inventories","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"afb8e071b9f2bd5a96551a3f423d93d2bc676f46","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Use Cases"},{"line_number":28,"context_line":"---------"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"* Operators set the ram/cpu/disk allocation ratio by using the configuration,"},{"line_number":31,"context_line":"  but when they want to examine the allocation ratio of a compute node, they"},{"line_number":32,"context_line":"  can only view the database, or log in to the compute node, view the nova.conf"},{"line_number":33,"context_line":"  file. This is unfriendly for operators."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_114cdb9b","line":30,"range":{"start_line":30,"start_character":2,"end_line":30,"end_character":77},"updated":"2018-07-12 12:04:52.000000000","message":"You can also set allocation ratio on a set of host aggregates, so would you account for that as well?","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"afb8e071b9f2bd5a96551a3f423d93d2bc676f46","unresolved":false,"context_lines":[{"line_number":43,"context_line":"Alternatives"},{"line_number":44,"context_line":"------------"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"In order to get ram/cpu/disk allocation ratio, operators can query the nova"},{"line_number":47,"context_line":"database, or login the compute node to view the nova.conf. This is unfriendly"},{"line_number":48,"context_line":"for operators."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Data model impact"},{"line_number":51,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_b10e473b","line":48,"range":{"start_line":46,"start_character":0,"end_line":48,"end_character":14},"updated":"2018-07-12 12:04:52.000000000","message":"One could also get the allocation ratio for the separate VCPU, MEMORY_MB and DISK_GB resource provider inventory using the osc-placement plugin:\n\nhttps://docs.openstack.org/osc-placement/latest/index.html","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":7,"name":"Jay Pipes","email":"jaypipes@gmail.com","username":"jaypipes"},"change_message_id":"78bb58ea745b2fec99de461d521e90704ed04266","unresolved":false,"context_lines":[{"line_number":45,"context_line":""},{"line_number":46,"context_line":"In order to get ram/cpu/disk allocation ratio, operators can query the nova"},{"line_number":47,"context_line":"database, or login the compute node to view the nova.conf. This is unfriendly"},{"line_number":48,"context_line":"for operators."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Data model impact"},{"line_number":51,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_4c8ab6bc","line":48,"updated":"2018-07-12 12:31:27.000000000","message":"or just do:\n\n GET /resource_providers?\u003cfilters\u003e\n\nfor each provider:\n\n GET /resource_providers/{uuid}/inventories\n\nand get all kinds of good stuff, including the allocation ratio, max and min unit, step size, and reserved amounts for each resource class provided by the compute node:\n\nhttps://developer.openstack.org/api-ref/placement/#list-resource-provider-inventories","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"afb8e071b9f2bd5a96551a3f423d93d2bc676f46","unresolved":false,"context_lines":[{"line_number":250,"context_line":""},{"line_number":251,"context_line":"   * - Release Name"},{"line_number":252,"context_line":"     - Description"},{"line_number":253,"context_line":"   * - Rocky"},{"line_number":254,"context_line":"     - Introduced"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_91054b18","line":253,"updated":"2018-07-12 12:04:52.000000000","message":"This would need to be targeted at Stein since we\u0027re past spec freeze for Rocky, but I\u0027m not sure if we\u0027ve setup the Stein spec templates yet.","commit_id":"4edf68118a9053b6f5a5fe3f09f227fd6cda81ad"}]}
