)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"efb80a589de81e64d69638c099d3617198f143b3","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Check before add lun to QoS in Huawei driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Check whether the lun_id have already been"},{"line_number":10,"context_line":"added into the QoS before we add it."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ie0a2e4debe229d2f5ad8c66cfd1f0bf5522e4733"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da20952f_0e6b0086","line":9,"updated":"2015-09-01 13:24:40.000000000","message":"have -\u003e has","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"},{"author":{"_account_id":13203,"name":"Wilson Liu","email":"295988511@qq.com","username":"Bob-OpenStack"},"change_message_id":"8dc031acf8d2443db67414afe6591c1ed6c706fc","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Check before add lun to QoS in Huawei driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Check whether the lun_id have already been"},{"line_number":10,"context_line":"added into the QoS before we add it."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: Ie0a2e4debe229d2f5ad8c66cfd1f0bf5522e4733"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"da20952f_9ce509de","line":9,"in_reply_to":"da20952f_0e6b0086","updated":"2015-09-01 14:15:12.000000000","message":"Done, thanks!","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"}],"cinder/volume/drivers/huawei/rest_client.py":[{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"efb80a589de81e64d69638c099d3617198f143b3","unresolved":false,"context_lines":[{"line_number":535,"context_line":"                        raise"},{"line_number":536,"context_line":"        return host_lun_id"},{"line_number":537,"context_line":""},{"line_number":538,"context_line":"    def find_host(self, hostname):"},{"line_number":539,"context_line":"        \"\"\"Get the given host ID.\"\"\""},{"line_number":540,"context_line":"        url \u003d self.url + \"/host?range\u003d[0-65535]\""},{"line_number":541,"context_line":"        data \u003d json.dumps({\"TYPE\": \"21\"})"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_6edb9c7c","line":538,"updated":"2015-09-01 13:24:40.000000000","message":"Was there a reason for changing this? Just wondering cause I don\u0027t see how it relates to the rest of your change.","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"},{"author":{"_account_id":13203,"name":"Wilson Liu","email":"295988511@qq.com","username":"Bob-OpenStack"},"change_message_id":"8dc031acf8d2443db67414afe6591c1ed6c706fc","unresolved":false,"context_lines":[{"line_number":535,"context_line":"                        raise"},{"line_number":536,"context_line":"        return host_lun_id"},{"line_number":537,"context_line":""},{"line_number":538,"context_line":"    def find_host(self, hostname):"},{"line_number":539,"context_line":"        \"\"\"Get the given host ID.\"\"\""},{"line_number":540,"context_line":"        url \u003d self.url + \"/host?range\u003d[0-65535]\""},{"line_number":541,"context_line":"        data \u003d json.dumps({\"TYPE\": \"21\"})"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_1c76d906","line":538,"in_reply_to":"da20952f_6edb9c7c","updated":"2015-09-01 14:15:12.000000000","message":"This really have no relationship with the bug, just a little code clean along with the bug, thanks Kendall Nelson.","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"efb80a589de81e64d69638c099d3617198f143b3","unresolved":false,"context_lines":[{"line_number":542,"context_line":"        result \u003d self.call(url, data, \"GET\")"},{"line_number":543,"context_line":"        self._assert_rest_result(result, _(\u0027Find host in hostgroup error.\u0027))"},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"        return self._get_id_from_result(result, hostname, \u0027NAME\u0027)"},{"line_number":546,"context_line":""},{"line_number":547,"context_line":"    def add_host_with_check(self, host_name, host_name_before_hash):"},{"line_number":548,"context_line":"        host_id \u003d self.find_host(host_name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_eed56c42","line":545,"updated":"2015-09-01 13:24:40.000000000","message":"Ditto here.","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"efb80a589de81e64d69638c099d3617198f143b3","unresolved":false,"context_lines":[{"line_number":911,"context_line":""},{"line_number":912,"context_line":"    def _get_capacity(self, pool_name, result):"},{"line_number":913,"context_line":"        \"\"\"Get free capacity and total capacity of the pool.\"\"\""},{"line_number":914,"context_line":"        poolinfo \u003d self.find_pool_info(pool_name, result)"},{"line_number":915,"context_line":"        pool_capacity \u003d {\u0027total_capacity\u0027: 0.0,"},{"line_number":916,"context_line":"                         \u0027free_capacity\u0027: 0.0}"},{"line_number":917,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_8e3f1086","line":914,"updated":"2015-09-01 13:24:40.000000000","message":"Ditto","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"efb80a589de81e64d69638c099d3617198f143b3","unresolved":false,"context_lines":[{"line_number":915,"context_line":"        pool_capacity \u003d {\u0027total_capacity\u0027: 0.0,"},{"line_number":916,"context_line":"                         \u0027free_capacity\u0027: 0.0}"},{"line_number":917,"context_line":""},{"line_number":918,"context_line":"        if poolinfo:"},{"line_number":919,"context_line":"            total \u003d int(poolinfo[\u0027TOTALCAPACITY\u0027]) / constants.CAPACITY_UNIT"},{"line_number":920,"context_line":"            free \u003d int(poolinfo[\u0027CAPACITY\u0027]) / constants.CAPACITY_UNIT"},{"line_number":921,"context_line":"            pool_capacity[\u0027total_capacity\u0027] \u003d total"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_4e4ed83b","line":918,"updated":"2015-09-01 13:24:40.000000000","message":"Ditto","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"efb80a589de81e64d69638c099d3617198f143b3","unresolved":false,"context_lines":[{"line_number":916,"context_line":"                         \u0027free_capacity\u0027: 0.0}"},{"line_number":917,"context_line":""},{"line_number":918,"context_line":"        if poolinfo:"},{"line_number":919,"context_line":"            total \u003d int(poolinfo[\u0027TOTALCAPACITY\u0027]) / constants.CAPACITY_UNIT"},{"line_number":920,"context_line":"            free \u003d int(poolinfo[\u0027CAPACITY\u0027]) / constants.CAPACITY_UNIT"},{"line_number":921,"context_line":"            pool_capacity[\u0027total_capacity\u0027] \u003d total"},{"line_number":922,"context_line":"            pool_capacity[\u0027free_capacity\u0027] \u003d free"}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_6e495c30","line":919,"updated":"2015-09-01 13:24:40.000000000","message":"Ditto","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"},{"author":{"_account_id":16708,"name":"Kendall Nelson","display_name":"Kendall (diablo_rojo)","email":"kennelson11@gmail.com","username":"kjnelson"},"change_message_id":"efb80a589de81e64d69638c099d3617198f143b3","unresolved":false,"context_lines":[{"line_number":917,"context_line":""},{"line_number":918,"context_line":"        if poolinfo:"},{"line_number":919,"context_line":"            total \u003d int(poolinfo[\u0027TOTALCAPACITY\u0027]) / constants.CAPACITY_UNIT"},{"line_number":920,"context_line":"            free \u003d int(poolinfo[\u0027CAPACITY\u0027]) / constants.CAPACITY_UNIT"},{"line_number":921,"context_line":"            pool_capacity[\u0027total_capacity\u0027] \u003d total"},{"line_number":922,"context_line":"            pool_capacity[\u0027free_capacity\u0027] \u003d free"},{"line_number":923,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"da20952f_ce60a8a7","line":920,"updated":"2015-09-01 13:24:40.000000000","message":"Ditto","commit_id":"15f0f8879814c8f01ac0989f2cc73dcd9e2ff3e5"}]}
