)]}'
{"nova/compute/manager.py":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"2503e1df681655e9ffc86ad074a1086950dc3a8c","unresolved":false,"context_lines":[{"line_number":5681,"context_line":"        \"\"\"Notify hypervisor of change (for hypervisor pools).\"\"\""},{"line_number":5682,"context_line":"        # isolate scheduler db, update list of IDs of aggregates"},{"line_number":5683,"context_line":"        # the host belongs to, as a JSON in extra resources."},{"line_number":5684,"context_line":"        self.update_available_resource(context)"},{"line_number":5685,"context_line":"        try:"},{"line_number":5686,"context_line":"            self.driver.add_to_aggregate(context, aggregate, host,"},{"line_number":5687,"context_line":"                                         slave_info\u003dslave_info)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_a120524a","line":5684,"updated":"2014-07-02 12:16:10.000000000","message":"awesome, i forgot about that.\n\nwe really should not have just a big comment here though, I feel.","commit_id":"03b3736f82667d3d99b3567d6dd9acda9fe54f20"}],"nova/compute/resource_tracker.py":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"2503e1df681655e9ffc86ad074a1086950dc3a8c","unresolved":false,"context_lines":[{"line_number":286,"context_line":"        \"\"\"Get the list of IDs of aggregates the host belongs to.\"\"\""},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"        aggregates \u003d {}"},{"line_number":289,"context_line":"        aggrs_obj \u003d aggregate_obj.AggregateList.get_by_host(context, host)"},{"line_number":290,"context_line":"        if aggrs_obj:"},{"line_number":291,"context_line":"            aggregate_ids \u003d []"},{"line_number":292,"context_line":"            for aggr in aggrs_obj:"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_410936dc","line":289,"updated":"2014-07-02 12:16:10.000000000","message":"this has quite a performance impact, we shouldn\u0027t fetch this every time by default. this has massive scalability issues.\n\nwe can probably just fetch this when we fetch a new compute node on start up, and leave the updates to your other code.","commit_id":"03b3736f82667d3d99b3567d6dd9acda9fe54f20"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"2503e1df681655e9ffc86ad074a1086950dc3a8c","unresolved":false,"context_lines":[{"line_number":359,"context_line":"        resources[\u0027metrics\u0027] \u003d jsonutils.dumps(metrics)"},{"line_number":360,"context_line":"        # Save the list of IDs of aggregates the host belongs to"},{"line_number":361,"context_line":"        aggregates \u003d self._get_aggregates_by_host(context, self.host)"},{"line_number":362,"context_line":"        resources[\u0027extra_resources\u0027] \u003d jsonutils.dumps(aggregates)"},{"line_number":363,"context_line":"        self._sync_compute_node(context, resources)"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"    def _sync_compute_node(self, context, resources):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_21d1a257","line":362,"updated":"2014-07-02 12:16:10.000000000","message":"should this not go inside the current stats dictionary? there are plans to remove extra_resources, I thought.","commit_id":"03b3736f82667d3d99b3567d6dd9acda9fe54f20"}]}
