)]}'
{"releasenotes/notes/node-resource-consolidation-73bc0c0abfeb0b03.yaml":[{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"6bedb8d2edd7bd91c523d50e73bdb66666dfdd4d","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Added strategy \"node resource consolidation\". This"},{"line_number":5,"context_line":"    strategy is used to centralize VMs to as few nodes"},{"line_number":6,"context_line":"    as possible by VM migration. User can set a input"},{"line_number":7,"context_line":"    parameter to decide how to select the destination node."}],"source_content_type":"text/x-yaml","patch_set":4,"id":"7faddb67_58c18de3","line":6,"range":{"start_line":6,"start_character":46,"end_line":6,"end_character":47},"updated":"2019-09-06 07:59:02.000000000","message":"an","commit_id":"675cdbc92af9afc3b2dad4d16b6903aa07fe0c6e"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"6bedb8d2edd7bd91c523d50e73bdb66666dfdd4d","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Added strategy \"node resource consolidation\". This"},{"line_number":5,"context_line":"    strategy is used to centralize VMs to as few nodes"},{"line_number":6,"context_line":"    as possible by VM migration. User can set a input"},{"line_number":7,"context_line":"    parameter to decide how to select the destination node."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5faad753_ae76f63d","line":6,"range":{"start_line":6,"start_character":46,"end_line":6,"end_character":47},"updated":"2019-09-06 07:59:02.000000000","message":"nit:an","commit_id":"771acd69b04895fce1b01d613c8e71984eacd9f5"},{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"c123e7d6007c6e5332a827797344069f9ad1c7e9","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Added strategy \"node resource consolidation\". This"},{"line_number":5,"context_line":"    strategy is used to centralize VMs to as few nodes"},{"line_number":6,"context_line":"    as possible by VM migration. User can set a input"},{"line_number":7,"context_line":"    parameter to decide how to select the destination node."}],"source_content_type":"text/x-yaml","patch_set":8,"id":"5faad753_64049fc7","line":6,"range":{"start_line":6,"start_character":46,"end_line":6,"end_character":47},"in_reply_to":"5faad753_ae76f63d","updated":"2019-09-06 09:28:39.000000000","message":"Done","commit_id":"771acd69b04895fce1b01d613c8e71984eacd9f5"}],"watcher/decision_engine/strategy/strategies/node_resource_consolidation.py":[{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"6bedb8d2edd7bd91c523d50e73bdb66666dfdd4d","unresolved":false,"context_lines":[{"line_number":258,"context_line":"        free_nodes, source_nodes, dest_nodes \u003d self.group_nodes(nodes)"},{"line_number":259,"context_line":"        self.compute_nodes_count \u003d len(nodes)"},{"line_number":260,"context_line":"        self.number_of_released_nodes \u003d len(source_nodes)"},{"line_number":261,"context_line":"        LOG.info(\"free nodes: %s\", free_nodes)"},{"line_number":262,"context_line":"        LOG.info(\"source nodes: %s\", source_nodes)"},{"line_number":263,"context_line":"        LOG.info(\"destination nodes: %s\", dest_nodes)"},{"line_number":264,"context_line":"        if not source_nodes:"}],"source_content_type":"text/x-python","patch_set":8,"id":"5faad753_6e055e7a","line":261,"range":{"start_line":261,"start_character":18,"end_line":261,"end_character":19},"updated":"2019-09-06 07:59:02.000000000","message":"upper case","commit_id":"771acd69b04895fce1b01d613c8e71984eacd9f5"},{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"c123e7d6007c6e5332a827797344069f9ad1c7e9","unresolved":false,"context_lines":[{"line_number":258,"context_line":"        free_nodes, source_nodes, dest_nodes \u003d self.group_nodes(nodes)"},{"line_number":259,"context_line":"        self.compute_nodes_count \u003d len(nodes)"},{"line_number":260,"context_line":"        self.number_of_released_nodes \u003d len(source_nodes)"},{"line_number":261,"context_line":"        LOG.info(\"free nodes: %s\", free_nodes)"},{"line_number":262,"context_line":"        LOG.info(\"source nodes: %s\", source_nodes)"},{"line_number":263,"context_line":"        LOG.info(\"destination nodes: %s\", dest_nodes)"},{"line_number":264,"context_line":"        if not source_nodes:"}],"source_content_type":"text/x-python","patch_set":8,"id":"5faad753_240ea7e5","line":261,"range":{"start_line":261,"start_character":18,"end_line":261,"end_character":19},"in_reply_to":"5faad753_6e055e7a","updated":"2019-09-06 09:28:39.000000000","message":"Done","commit_id":"771acd69b04895fce1b01d613c8e71984eacd9f5"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"984f1a69b7390e6cc7b49951843df3f59f03ec52","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    This strategy checks the resource usages of compute nodes, if the used"},{"line_number":35,"context_line":"    resources are less than total, it will try to migrate server to"},{"line_number":36,"context_line":"    consolidate the use of resource."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    *Requirements*"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"5faad753_6d9c4d5d","line":36,"range":{"start_line":36,"start_character":36,"end_line":36,"end_character":36},"updated":"2019-09-10 03:18:54.000000000","message":"If we can describe the main steps of the strategy here will be excellent, like[1].\n[1]. https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/vm_workload_consolidation.py#L43-L46","commit_id":"f1fe4b6c623be93ffc6f05ffe77ad69bdb626a0a"},{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"b8ca0cfdc5347be2cdccd50f8a486676929142f0","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    This strategy checks the resource usages of compute nodes, if the used"},{"line_number":35,"context_line":"    resources are less than total, it will try to migrate server to"},{"line_number":36,"context_line":"    consolidate the use of resource."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    *Requirements*"},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":11,"id":"5faad753_a9963eef","line":36,"range":{"start_line":36,"start_character":36,"end_line":36,"end_character":36},"in_reply_to":"5faad753_6d9c4d5d","updated":"2019-09-16 02:41:53.000000000","message":"will update later","commit_id":"f1fe4b6c623be93ffc6f05ffe77ad69bdb626a0a"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"984f1a69b7390e6cc7b49951843df3f59f03ec52","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"        return nodes_failed"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    def group_nodes(self, nodes):"},{"line_number":208,"context_line":"        free_nodes \u003d []"},{"line_number":209,"context_line":"        source_nodes \u003d []"},{"line_number":210,"context_line":"        dest_nodes \u003d []"}],"source_content_type":"text/x-python","patch_set":11,"id":"5faad753_8d8f4922","line":207,"range":{"start_line":207,"start_character":8,"end_line":207,"end_character":33},"updated":"2019-09-10 03:18:54.000000000","message":"Suggest that add docs string about the param and the description about this function like[1].\n[1]. https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/vm_workload_consolidation.py#L294","commit_id":"f1fe4b6c623be93ffc6f05ffe77ad69bdb626a0a"},{"author":{"_account_id":21692,"name":"licanwei","email":"li.canwei2@zte.com.cn","username":"licanwei"},"change_message_id":"b8ca0cfdc5347be2cdccd50f8a486676929142f0","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"        return nodes_failed"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    def group_nodes(self, nodes):"},{"line_number":208,"context_line":"        free_nodes \u003d []"},{"line_number":209,"context_line":"        source_nodes \u003d []"},{"line_number":210,"context_line":"        dest_nodes \u003d []"}],"source_content_type":"text/x-python","patch_set":11,"id":"5faad753_c99b7a15","line":207,"range":{"start_line":207,"start_character":8,"end_line":207,"end_character":33},"in_reply_to":"5faad753_8d8f4922","updated":"2019-09-16 02:41:53.000000000","message":"will update later","commit_id":"f1fe4b6c623be93ffc6f05ffe77ad69bdb626a0a"}]}
