)]}'
{"doc/source/specs/rocky/resource-availability.rst":[{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"ed141ef5a60b668957a79a3e39bc3fc219961153","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* A cloud admin want to find the upcoming usage of a specific host for"},{"line_number":36,"context_line":"  maintenance."},{"line_number":37,"context_line":"* A cloud user want to find reserved period of the specific hosts."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Proposed change"},{"line_number":40,"context_line":"\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":"5f7c97a3_a4d97e56","line":37,"range":{"start_line":37,"start_character":2,"end_line":37,"end_character":66},"updated":"2018-06-13 02:21:03.000000000","message":"Currently, default policy for os-hosts APIs are admin-only [1]. Of course the policy can be changed, however, the default policy means Blazar\u0027s basic strategy is to hide host information from non-admin users.\n\nI feel this spec proposes to change the basic strategy to exposes host information to non-admin users. It causes a policy inconsistency between Blazar and Nova (Nova does not expose Hypervisors APIs to non-admin users by default). It\u0027s not good from security perspective.\n\n[1] https://review.openstack.org/#/c/573074/","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"fc3713d76138f82b469aeb8e64939cec57d8a164","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* A cloud admin want to find the upcoming usage of a specific host for"},{"line_number":36,"context_line":"  maintenance."},{"line_number":37,"context_line":"* A cloud user want to find reserved period of the specific hosts."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Proposed change"},{"line_number":40,"context_line":"\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":"5f7c97a3_06142d4c","line":37,"range":{"start_line":37,"start_character":2,"end_line":37,"end_character":66},"in_reply_to":"5f7c97a3_2e14bb40","updated":"2018-06-22 04:49:42.000000000","message":"Agreed with Hiroaki. The situation should be described more not to confuse readers. If there are good use cases for blazar to set os-hosts APIs with non-admin authority, okay, let\u0027s mention here explicitly that because that is basically against a concept of OpenStack, \"we don\u0027t expose cloud internal information to users\".","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"ca9bbd8aa4b08a4a0bcc74b13208f5c27f69966f","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* A cloud admin want to find the upcoming usage of a specific host for"},{"line_number":36,"context_line":"  maintenance."},{"line_number":37,"context_line":"* A cloud user want to find reserved period of the specific hosts."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Proposed change"},{"line_number":40,"context_line":"\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":"5f7c97a3_e7277362","line":37,"range":{"start_line":37,"start_character":2,"end_line":37,"end_character":66},"in_reply_to":"5f7c97a3_a4d97e56","updated":"2018-06-13 08:57:53.000000000","message":"This section is problem descriptions and an usecase for the problem. So the sentence is agnostic for current API set and its authentication and authorization mechanism.\n\nMy intents here are describing 1. what current Blazar can\u0027t do because of the problem and 2. what OpenStack users, regardless of user or admin, can do if the problem is sloved.","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"082f8efc56bd69132361ab8014fcb675239dc447","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* A cloud admin want to find the upcoming usage of a specific host for"},{"line_number":36,"context_line":"  maintenance."},{"line_number":37,"context_line":"* A cloud user want to find reserved period of the specific hosts."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Proposed change"},{"line_number":40,"context_line":"\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":"5f7c97a3_2e14bb40","line":37,"range":{"start_line":37,"start_character":2,"end_line":37,"end_character":66},"in_reply_to":"5f7c97a3_e7277362","updated":"2018-06-21 01:37:12.000000000","message":"I understand your intention but still feel this sentence may confuse some people. If I was not familiar with Blazar and read this sentence, alarm bell started to ring because it looks allowing non-admin users a high-privilege operation.","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"ed141ef5a60b668957a79a3e39bc3fc219961153","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Introducing a new API set, get and list reservation allocation API, to host"},{"line_number":43,"context_line":"APIs. This API shows list of reservations which consumes reservable hosts."},{"line_number":44,"context_line":"If cloud admins call the API, they can find the all reservations consuming"},{"line_number":45,"context_line":"specific hosts."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"See the REST API impact section for the details of the API."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f7c97a3_44e8aadd","line":45,"range":{"start_line":44,"start_character":0,"end_line":45,"end_character":15},"updated":"2018-06-13 02:21:03.000000000","message":"Non-admin users can see just their reservations allocations and I\u0027m not sure if it\u0027s a useful API for non-admin users.","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"ca9bbd8aa4b08a4a0bcc74b13208f5c27f69966f","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Introducing a new API set, get and list reservation allocation API, to host"},{"line_number":43,"context_line":"APIs. This API shows list of reservations which consumes reservable hosts."},{"line_number":44,"context_line":"If cloud admins call the API, they can find the all reservations consuming"},{"line_number":45,"context_line":"specific hosts."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"See the REST API impact section for the details of the API."},{"line_number":48,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f7c97a3_5a65dead","line":45,"range":{"start_line":44,"start_character":0,"end_line":45,"end_character":15},"in_reply_to":"5f7c97a3_44e8aadd","updated":"2018-06-13 08:57:53.000000000","message":"I\u0027m thinking the API should be admin API in default.  When the admin want to expose the API to an user, they can change the authorization policy or expose the data in out side of OpenStack.\n\nI forget mentioning the authorization policy in this spec. I\u0027ll add it.","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"ed141ef5a60b668957a79a3e39bc3fc219961153","unresolved":false,"context_lines":[{"line_number":83,"context_line":"     {"},{"line_number":84,"context_line":"       \"reservations\": ["},{"line_number":85,"context_line":"           {"},{"line_number":86,"context_line":"                \"id\": \"host-id1\","},{"line_number":87,"context_line":"                \"allocations\": ["},{"line_number":88,"context_line":"                  {"},{"line_number":89,"context_line":"                    \"id\": \"reservation-id1\","}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f7c97a3_446f4a5f","line":86,"range":{"start_line":86,"start_character":15,"end_line":86,"end_character":33},"updated":"2018-06-13 02:21:03.000000000","message":"Again, I\u0027m not sure if it\u0027s acceptable to show host ids to non-admin users.","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"ca9bbd8aa4b08a4a0bcc74b13208f5c27f69966f","unresolved":false,"context_lines":[{"line_number":83,"context_line":"     {"},{"line_number":84,"context_line":"       \"reservations\": ["},{"line_number":85,"context_line":"           {"},{"line_number":86,"context_line":"                \"id\": \"host-id1\","},{"line_number":87,"context_line":"                \"allocations\": ["},{"line_number":88,"context_line":"                  {"},{"line_number":89,"context_line":"                    \"id\": \"reservation-id1\","}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f7c97a3_3affc2ab","line":86,"range":{"start_line":86,"start_character":15,"end_line":86,"end_character":33},"in_reply_to":"5f7c97a3_446f4a5f","updated":"2018-06-13 08:57:53.000000000","message":"As I mentioned above, I want to define the APIs as admin API.","commit_id":"49af6e616168ba4411f457b9202e68bd04d52c49"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"01d862a92a688a2a50ec4c6be13c622637efe586","unresolved":false,"context_lines":[{"line_number":135,"context_line":""},{"line_number":136,"context_line":"* lease_id: returns allocations belonging to the lease_id"},{"line_number":137,"context_line":"* reservation_id: returns allocations belonging to the lease_id"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"Security impact"},{"line_number":141,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_1f418239","line":138,"updated":"2018-06-14 00:51:32.000000000","message":"A discussion of \"terminated\u003dTrue/False\" is worth mentioned, I think.","commit_id":"b3f2507d9b2df6cd2639e6720f1cee8290948a2f"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"e731c2d1e430b5cd1cc89647c613a0a2bd3d1d2d","unresolved":false,"context_lines":[{"line_number":135,"context_line":""},{"line_number":136,"context_line":"* lease_id: returns allocations belonging to the lease_id"},{"line_number":137,"context_line":"* reservation_id: returns allocations belonging to the lease_id"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"Security impact"},{"line_number":141,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_73dd4e12","line":138,"in_reply_to":"5f7c97a3_1f418239","updated":"2018-06-14 07:11:34.000000000","message":"Nice catch! I\u0027d completely forgotten it.","commit_id":"b3f2507d9b2df6cd2639e6720f1cee8290948a2f"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"082f8efc56bd69132361ab8014fcb675239dc447","unresolved":false,"context_lines":[{"line_number":39,"context_line":"Proposed change"},{"line_number":40,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Introducing a new API set, get and list reservation allocation API, to host"},{"line_number":43,"context_line":"APIs. This APIs show list of reservations which consumes reservable hosts."},{"line_number":44,"context_line":"If cloud admins call the API, they can find the all reservations consuming"},{"line_number":45,"context_line":"specific hosts."}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_0e453f44","line":42,"range":{"start_line":42,"start_character":40,"end_line":42,"end_character":67},"updated":"2018-06-21 01:37:12.000000000","message":"The title calls it \u0027resource availability API\u0027. I think it\u0027s better to unify the term throughout the document.","commit_id":"c6678a7e8fc88d9c4cab50652b8d2772bd3c14f6"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"082f8efc56bd69132361ab8014fcb675239dc447","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Other end user impact"},{"line_number":151,"context_line":"---------------------"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"The pythonclient will support the allocation APIs."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"Performance Impact"},{"line_number":156,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_ce4bc75c","line":153,"range":{"start_line":153,"start_character":34,"end_line":153,"end_character":49},"updated":"2018-06-21 01:37:12.000000000","message":"ditto","commit_id":"c6678a7e8fc88d9c4cab50652b8d2772bd3c14f6"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"082f8efc56bd69132361ab8014fcb675239dc447","unresolved":false,"context_lines":[{"line_number":155,"context_line":"Performance Impact"},{"line_number":156,"context_line":"------------------"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"List all allocations API, GET /v1/os-hosts/reservations, returns all"},{"line_number":159,"context_line":"allocations. When the number of hosts and reservations are huge, the"},{"line_number":160,"context_line":"DB query and response body could become huge, too."},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"5f7c97a3_ee50030d","line":158,"range":{"start_line":158,"start_character":9,"end_line":158,"end_character":25},"updated":"2018-06-21 01:37:12.000000000","message":"ditto","commit_id":"c6678a7e8fc88d9c4cab50652b8d2772bd3c14f6"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"7ed83226963bea4b482ebbffa981fefcc8488aaa","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Both APIs support some query parameters."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* lease_id: A parameter that filters allocations belonging to the lease_id"},{"line_number":141,"context_line":"* reservation_id: A parameter that filters allocations belonging to the lease_id"},{"line_number":142,"context_line":"* terminated: A flag that filters allocations already terminated or not"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_016b20b9","line":141,"range":{"start_line":141,"start_character":72,"end_line":141,"end_character":80},"updated":"2018-07-12 16:39:39.000000000","message":"I assume you meant reservation_id here?","commit_id":"983af9ff7f8b06b1479761e8aaab78f98d5c4260"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"b98874ed1da1990357b0f73d88c3ba5093c5e038","unresolved":false,"context_lines":[{"line_number":138,"context_line":"Both APIs support some query parameters."},{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* lease_id: A parameter that filters allocations belonging to the lease_id"},{"line_number":141,"context_line":"* reservation_id: A parameter that filters allocations belonging to the lease_id"},{"line_number":142,"context_line":"* terminated: A flag that filters allocations already terminated or not"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"Security impact"}],"source_content_type":"text/x-rst","patch_set":7,"id":"5f7c97a3_a0c25c01","line":141,"range":{"start_line":141,"start_character":72,"end_line":141,"end_character":80},"in_reply_to":"5f7c97a3_016b20b9","updated":"2018-07-13 03:05:12.000000000","message":"Done","commit_id":"983af9ff7f8b06b1479761e8aaab78f98d5c4260"}]}
