)]}'
{"blazar/plugins/oshosts/host_plugin.py":[{"author":{"_account_id":13192,"name":"Souville","display_name":"Bertrand Souville","email":"souville@docomolab-euro.com","username":"bertys"},"change_message_id":"ad23bdbd09e375a8a25c127fa96122965388d03e","unresolved":false,"context_lines":[{"line_number":617,"context_line":"        \"\"\"Get topics of notification to subscribe.\"\"\""},{"line_number":618,"context_line":"        return CONF[plugin.RESOURCE_TYPE].notification_topics"},{"line_number":619,"context_line":""},{"line_number":620,"context_line":"    def notification_callback(self, event_type, payload):"},{"line_number":621,"context_line":"        \"\"\"Handle a notification message."},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"        It is used as a callback of a notification based resource monitor."}],"source_content_type":"text/x-python","patch_set":2,"id":"df87a7cf_e76be4b3","line":620,"range":{"start_line":620,"start_character":48,"end_line":620,"end_character":55},"updated":"2017-12-12 10:48:15.000000000","message":"We shall also process payloads when compute node is being re-enabled (e.g. at the end of maintenance/upgrade) or forced_down flag has been set back to false (e.g. back to normal operation)","commit_id":"0500e533c3facd3bc59bd7ccb3a654fbb70d56fb"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"f72b3958afa13d1aa92f7fd8145f93984a6bdc56","unresolved":false,"context_lines":[{"line_number":617,"context_line":"        \"\"\"Get topics of notification to subscribe.\"\"\""},{"line_number":618,"context_line":"        return CONF[plugin.RESOURCE_TYPE].notification_topics"},{"line_number":619,"context_line":""},{"line_number":620,"context_line":"    def notification_callback(self, event_type, payload):"},{"line_number":621,"context_line":"        \"\"\"Handle a notification message."},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"        It is used as a callback of a notification based resource monitor."}],"source_content_type":"text/x-python","patch_set":2,"id":"df87a7cf_6797d4ed","line":620,"range":{"start_line":620,"start_character":48,"end_line":620,"end_character":55},"in_reply_to":"df87a7cf_e76be4b3","updated":"2017-12-12 11:19:14.000000000","message":"This patch does not support recovery of resources. I will deal with it in another patch.","commit_id":"0500e533c3facd3bc59bd7ccb3a654fbb70d56fb"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"eecc83031cc5a8ff6573f7bce737555c0816e1a2","unresolved":false,"context_lines":[{"line_number":628,"context_line":"                 e.g. {\u0027de27786d-bd96-46bb-8363-19c13b2c6657\u0027:"},{"line_number":629,"context_line":"                       {\u0027missing_resources\u0027: True}}"},{"line_number":630,"context_line":"        \"\"\""},{"line_number":631,"context_line":"        LOG.debug(\u0027Handling a notification...\u0027)"},{"line_number":632,"context_line":"        reservation_flags \u003d {}"},{"line_number":633,"context_line":""},{"line_number":634,"context_line":"        data \u003d payload.get(\u0027nova_object.data\u0027, None)"}],"source_content_type":"text/x-python","patch_set":2,"id":"df87a7cf_270d4ce7","line":631,"range":{"start_line":631,"start_character":8,"end_line":631,"end_character":47},"updated":"2017-12-12 10:55:39.000000000","message":"I am afraid this log statement will make debug logs harder to use because there might be many of them and they don\u0027t provide any information. Maybe move it to the trace level instead?","commit_id":"0500e533c3facd3bc59bd7ccb3a654fbb70d56fb"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"f72b3958afa13d1aa92f7fd8145f93984a6bdc56","unresolved":false,"context_lines":[{"line_number":628,"context_line":"                 e.g. {\u0027de27786d-bd96-46bb-8363-19c13b2c6657\u0027:"},{"line_number":629,"context_line":"                       {\u0027missing_resources\u0027: True}}"},{"line_number":630,"context_line":"        \"\"\""},{"line_number":631,"context_line":"        LOG.debug(\u0027Handling a notification...\u0027)"},{"line_number":632,"context_line":"        reservation_flags \u003d {}"},{"line_number":633,"context_line":""},{"line_number":634,"context_line":"        data \u003d payload.get(\u0027nova_object.data\u0027, None)"}],"source_content_type":"text/x-python","patch_set":2,"id":"df87a7cf_27e8ec79","line":631,"range":{"start_line":631,"start_character":8,"end_line":631,"end_character":47},"in_reply_to":"df87a7cf_270d4ce7","updated":"2017-12-12 11:19:14.000000000","message":"Agree. I\u0027ll change it.","commit_id":"0500e533c3facd3bc59bd7ccb3a654fbb70d56fb"},{"author":{"_account_id":8878,"name":"Masahito Muroi","email":"masahito.muroi@g.softbank.co.jp","username":"masa"},"change_message_id":"57f50f6ac052779cda0804ff7971adf320431d95","unresolved":false,"context_lines":[{"line_number":642,"context_line":"        data \u003d payload.get(\u0027nova_object.data\u0027, None)"},{"line_number":643,"context_line":"        if data:"},{"line_number":644,"context_line":"            if data[\u0027disabled\u0027] or data[\u0027forced_down\u0027]:"},{"line_number":645,"context_line":"                failed_hosts \u003d db_api.host_get_all_by_queries("},{"line_number":646,"context_line":"                    [\u0027reservable \u003d\u003d 1\u0027,"},{"line_number":647,"context_line":"                     \u0027hypervisor_hostname \u003d\u003d \u0027 + data[\u0027host\u0027]])"},{"line_number":648,"context_line":"                if failed_hosts:"}],"source_content_type":"text/x-python","patch_set":10,"id":"7f96bb07_ce0e8f3a","line":645,"range":{"start_line":645,"start_character":38,"end_line":645,"end_character":62},"updated":"2018-01-15 10:01:23.000000000","message":"reservable_host_get_all_by_queries?","commit_id":"063df7663e55af734d3428d230b783ecc424529f"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"484e0f4f4e0787a6e327bd3a122fb8fa10a5843c","unresolved":false,"context_lines":[{"line_number":642,"context_line":"        data \u003d payload.get(\u0027nova_object.data\u0027, None)"},{"line_number":643,"context_line":"        if data:"},{"line_number":644,"context_line":"            if data[\u0027disabled\u0027] or data[\u0027forced_down\u0027]:"},{"line_number":645,"context_line":"                failed_hosts \u003d db_api.host_get_all_by_queries("},{"line_number":646,"context_line":"                    [\u0027reservable \u003d\u003d 1\u0027,"},{"line_number":647,"context_line":"                     \u0027hypervisor_hostname \u003d\u003d \u0027 + data[\u0027host\u0027]])"},{"line_number":648,"context_line":"                if failed_hosts:"}],"source_content_type":"text/x-python","patch_set":10,"id":"7f96bb07_d785a65b","line":645,"range":{"start_line":645,"start_character":38,"end_line":645,"end_character":62},"in_reply_to":"7f96bb07_ce0e8f3a","updated":"2018-01-16 04:28:15.000000000","message":"Done","commit_id":"063df7663e55af734d3428d230b783ecc424529f"}]}
