)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"17809fcaa5351b7ef0c1f767c9b1d652b42a16ad","unresolved":false,"context_lines":[{"line_number":13,"context_line":"on_start method adds a flavor access right to the reserving user and"},{"line_number":14,"context_line":"allocated hosts into the reserved aggregate."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"on_end method removes the aacess right to avoid creating a new"},{"line_number":17,"context_line":"instances with the reserved flavor first. Then it deletes all"},{"line_number":18,"context_line":"instances created by the flavor an removes hosts in the reserved"},{"line_number":19,"context_line":"aggregate."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3f1d235d_87cbf470","line":16,"range":{"start_line":16,"start_character":26,"end_line":16,"end_character":32},"updated":"2017-07-10 05:36:48.000000000","message":"access","commit_id":"cf8a57f56b7cdc7b034a0c698e6a9d0ca4c28d43"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"1d0415bab3de728cfbc49b0e93702a8b0fd73a92","unresolved":false,"context_lines":[{"line_number":13,"context_line":"on_start method adds a flavor access right to the reserving user and"},{"line_number":14,"context_line":"allocated hosts into the reserved aggregate."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"on_end method removes the aacess right to avoid creating a new"},{"line_number":17,"context_line":"instances with the reserved flavor first. Then it deletes all"},{"line_number":18,"context_line":"instances created by the flavor an removes hosts in the reserved"},{"line_number":19,"context_line":"aggregate."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f1a1f67_54c90176","line":16,"range":{"start_line":16,"start_character":26,"end_line":16,"end_character":32},"in_reply_to":"3f1d235d_87cbf470","updated":"2017-07-13 08:33:06.000000000","message":"Done","commit_id":"cf8a57f56b7cdc7b034a0c698e6a9d0ca4c28d43"}],"blazar/plugins/instances/instance_plugin.py":[{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"931c706df302f495b5e03f14ee8c9ec46d84ba22","unresolved":false,"context_lines":[{"line_number":271,"context_line":"        instance_reservation \u003d db_api.instance_reservation_get(resource_id)"},{"line_number":272,"context_line":"        ctx \u003d context.current()"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"        self.nova.flavor_access.remove_tenant_access("},{"line_number":275,"context_line":"            instance_reservation[\u0027reservation_id\u0027], ctx.project_id)"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"        allocations \u003d db_api.host_allocation_get_all_by_values("},{"line_number":278,"context_line":"            reservation_id\u003dinstance_reservation[\u0027reservation_id\u0027])"}],"source_content_type":"text/x-python","patch_set":6,"id":"ff346bd7_f9e6ab44","line":275,"range":{"start_line":274,"start_character":0,"end_line":275,"end_character":67},"updated":"2017-07-25 04:27:39.000000000","message":"The on_end() method can be called by end_lease() and delete_lease() of the manager. At the second time it is called, a related flavor had been already deleted and here raises an NotFound exception. A handler for the exception should be added here.","commit_id":"1044fb69ac8cb2636a705bd99654add8d93b2db7"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"a48cd14a214eba437e8c2a3334f5254455b21a9e","unresolved":false,"context_lines":[{"line_number":271,"context_line":"        instance_reservation \u003d db_api.instance_reservation_get(resource_id)"},{"line_number":272,"context_line":"        ctx \u003d context.current()"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"        self.nova.flavor_access.remove_tenant_access("},{"line_number":275,"context_line":"            instance_reservation[\u0027reservation_id\u0027], ctx.project_id)"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"        allocations \u003d db_api.host_allocation_get_all_by_values("},{"line_number":278,"context_line":"            reservation_id\u003dinstance_reservation[\u0027reservation_id\u0027])"}],"source_content_type":"text/x-python","patch_set":6,"id":"ff346bd7_833c9ac8","line":275,"range":{"start_line":274,"start_character":0,"end_line":275,"end_character":67},"in_reply_to":"ff346bd7_f9e6ab44","updated":"2017-07-26 07:29:46.000000000","message":"Done","commit_id":"1044fb69ac8cb2636a705bd99654add8d93b2db7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"ca7bd449c6aebd3864298f998d990497e9435086","unresolved":false,"context_lines":[{"line_number":265,"context_line":"            self.nova.flavor_access.add_tenant_access(reservation_id,"},{"line_number":266,"context_line":"                                                      ctx.project_id)"},{"line_number":267,"context_line":"        except nova_exceptions.ClientException:"},{"line_number":268,"context_line":"            LOG.info(\u0027Fails to associate flavor %s to project %s\u0027 %"},{"line_number":269,"context_line":"                     (reservation_id, ctx.project_id))"},{"line_number":270,"context_line":"            raise mgr_exceptions.EventError()"},{"line_number":271,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"bf3e73b7_fd559e1e","line":268,"updated":"2017-08-07 10:17:15.000000000","message":"s/Fails/Failed/","commit_id":"febaee15eea1a864c5ef79051219c53692c693de"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"ca7bd449c6aebd3864298f998d990497e9435086","unresolved":false,"context_lines":[{"line_number":284,"context_line":"            self.nova.flavor_access.remove_tenant_access("},{"line_number":285,"context_line":"                instance_reservation[\u0027reservation_id\u0027], ctx.project_id)"},{"line_number":286,"context_line":"        except nova_exceptions.NotFound:"},{"line_number":287,"context_line":"            pass"},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"        allocations \u003d db_api.host_allocation_get_all_by_values("},{"line_number":290,"context_line":"            reservation_id\u003dinstance_reservation[\u0027reservation_id\u0027])"}],"source_content_type":"text/x-python","patch_set":10,"id":"bf3e73b7_bd1ef66d","line":287,"updated":"2017-08-07 10:17:15.000000000","message":"Is this error supposed to happen? Should we log a warning?","commit_id":"febaee15eea1a864c5ef79051219c53692c693de"}]}
