)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d61ff5140b120da25f1b177373e5402b5a5fffee","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Eric Berglund \u003cesberglu@us.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-10-19 19:32:01 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Move host cpu stats to pypowervm"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This removes the host-level cpu utilization metrics from nova-powervm."},{"line_number":10,"context_line":"This code is being relocated to pypowervm to make the metrics available"},{"line_number":11,"context_line":"at that level."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I85798a8baa81e6737674ec819e9f147a4374050d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3f4b6375_53669c2b","line":11,"range":{"start_line":7,"start_character":0,"end_line":11,"end_character":14},"updated":"2017-10-20 22:48:48.000000000","message":"Let\u0027s phrase it more like we\u0027re exploiting a new pypowervm method that does a lot of the work for us.","commit_id":"cfc5c29c3b608d0245e29ee1151b670fa198d202"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"b576ec9a892303fdf5f248a0674cb508eec1da86","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Eric Berglund \u003cesberglu@us.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-10-19 19:32:01 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Move host cpu stats to pypowervm"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This removes the host-level cpu utilization metrics from nova-powervm."},{"line_number":10,"context_line":"This code is being relocated to pypowervm to make the metrics available"},{"line_number":11,"context_line":"at that level."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I85798a8baa81e6737674ec819e9f147a4374050d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"3f4b6375_12b429d0","line":11,"range":{"start_line":7,"start_character":0,"end_line":11,"end_character":14},"in_reply_to":"3f4b6375_53669c2b","updated":"2017-10-26 01:43:34.000000000","message":"Done","commit_id":"cfc5c29c3b608d0245e29ee1151b670fa198d202"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"354922bff11a031be0f5614201864132480e4b50","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     esberglu \u003cesberglu@us.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-10-25 20:39:21 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Move host cpu stats to pypowervm"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This removes the host-level cpu utilization metrics from nova-powervm."},{"line_number":10,"context_line":"Host-level cpu metrics are being gathered at the pypowervm level where"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f4b6375_384ffc93","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":32},"updated":"2017-10-26 10:52:50.000000000","message":"this too","commit_id":"eabd3a843b1212ae6ad27b869100a5bcbace5157"}],"nova_powervm/tests/virt/powervm/fixtures.py":[{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"b67d9a6ed69980d8926b01c466ec26f5325aab64","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        self.std_disk_adpt \u003d self.std_disk_adpt_fx.mock"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"class HostCPUMetricCache(fixtures.Fixture):"},{"line_number":52,"context_line":"    \"\"\"Mock out the HostCPUMetricCache.\"\"\""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f4b6375_75c8cea4","line":51,"updated":"2017-10-26 18:47:13.000000000","message":"this doesn\u0027t appear to be used anywhere, because we don\u0027t have any existing tests for get_host_cpu_stats. We need to add tests for that to ensure the conversion from pypowervm values to nova values works as expected.","commit_id":"1966f2a22e2dae1e53ae417037365292eb7b5586"}],"nova_powervm/virt/powervm/driver.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"d61ff5140b120da25f1b177373e5402b5a5fffee","unresolved":false,"context_lines":[{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    def get_host_cpu_stats(self):"},{"line_number":301,"context_line":"        \"\"\"Return the current CPU state of the host.\"\"\""},{"line_number":302,"context_line":"        return self.host_cpu_stats.get_host_cpu_stats()"},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"    def instance_on_disk(self, instance):"},{"line_number":305,"context_line":"        \"\"\"Checks access of instance files on the host."}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_1349448a","line":302,"range":{"start_line":302,"start_character":0,"end_line":302,"end_character":55},"updated":"2017-10-20 22:48:48.000000000","message":"This is going to have to do some translation from the powervm object to the format expected by Nova.","commit_id":"cfc5c29c3b608d0245e29ee1151b670fa198d202"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"b576ec9a892303fdf5f248a0674cb508eec1da86","unresolved":false,"context_lines":[{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    def get_host_cpu_stats(self):"},{"line_number":301,"context_line":"        \"\"\"Return the current CPU state of the host.\"\"\""},{"line_number":302,"context_line":"        return self.host_cpu_stats.get_host_cpu_stats()"},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"    def instance_on_disk(self, instance):"},{"line_number":305,"context_line":"        \"\"\"Checks access of instance files on the host."}],"source_content_type":"text/x-python","patch_set":2,"id":"3f4b6375_72a47dba","line":302,"range":{"start_line":302,"start_character":0,"end_line":302,"end_character":55},"in_reply_to":"3f4b6375_1349448a","updated":"2017-10-26 01:43:34.000000000","message":"Done","commit_id":"cfc5c29c3b608d0245e29ee1151b670fa198d202"},{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"354922bff11a031be0f5614201864132480e4b50","unresolved":false,"context_lines":[{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    def get_host_cpu_stats(self):"},{"line_number":301,"context_line":"        \"\"\"Return the current CPU state of the host.\"\"\""},{"line_number":302,"context_line":"        self.host_cpu_stats._refresh_if_needed()"},{"line_number":303,"context_line":"        return {"},{"line_number":304,"context_line":"            \u0027kernel\u0027: self.host_cpu_stats.total_fw_cycles,"},{"line_number":305,"context_line":"            \u0027user\u0027: self.host_cpu_stats.total_user_cycles,"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f4b6375_5853d839","line":302,"range":{"start_line":302,"start_character":28,"end_line":302,"end_character":46},"updated":"2017-10-26 10:52:50.000000000","message":"Okay, I don\u0027t love accessing a private method.  Let\u0027s make a public shim for this on the pypowervm side.","commit_id":"eabd3a843b1212ae6ad27b869100a5bcbace5157"},{"author":{"_account_id":10608,"name":"Matthew Edmonds","email":"edmondsw@us.ibm.com","username":"edmondsw"},"change_message_id":"b67d9a6ed69980d8926b01c466ec26f5325aab64","unresolved":false,"context_lines":[{"line_number":39,"context_line":"from pypowervm.helpers import vios_busy as vio_hlp"},{"line_number":40,"context_line":"from pypowervm.tasks import cna as pvm_cna"},{"line_number":41,"context_line":"from pypowervm.tasks import memory as pvm_mem"},{"line_number":42,"context_line":"from pypowervm.tasks.monitor import host_cpu"},{"line_number":43,"context_line":"from pypowervm.tasks import partition as pvm_par"},{"line_number":44,"context_line":"from pypowervm.tasks import power_opts as pvm_popts"},{"line_number":45,"context_line":"from pypowervm.tasks import scsi_mapper as pvm_smap"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f4b6375_f59ddebb","line":42,"updated":"2017-10-26 18:47:13.000000000","message":"should this follow the pattern and import \"as pvm_hcpu\"?","commit_id":"1966f2a22e2dae1e53ae417037365292eb7b5586"},{"author":{"_account_id":16710,"name":"Eric Berglund","email":"esberglu@us.ibm.com","username":"esberglu"},"change_message_id":"6dfc0298429e084941b2f1031ef3e252762701ab","unresolved":false,"context_lines":[{"line_number":39,"context_line":"from pypowervm.helpers import vios_busy as vio_hlp"},{"line_number":40,"context_line":"from pypowervm.tasks import cna as pvm_cna"},{"line_number":41,"context_line":"from pypowervm.tasks import memory as pvm_mem"},{"line_number":42,"context_line":"from pypowervm.tasks.monitor import host_cpu"},{"line_number":43,"context_line":"from pypowervm.tasks import partition as pvm_par"},{"line_number":44,"context_line":"from pypowervm.tasks import power_opts as pvm_popts"},{"line_number":45,"context_line":"from pypowervm.tasks import scsi_mapper as pvm_smap"}],"source_content_type":"text/x-python","patch_set":4,"id":"3f4b6375_45a13346","line":42,"in_reply_to":"3f4b6375_f59ddebb","updated":"2017-11-01 14:19:49.000000000","message":"Done","commit_id":"1966f2a22e2dae1e53ae417037365292eb7b5586"}]}
