)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c0ae095d8edc7a472c295a55e98b62871f416b94","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Remove the current host from cold migration target host list"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the current host on which the vm resides is very resource-rich,"},{"line_number":10,"context_line":"nova filters return this host each time when user executes cold migration"},{"line_number":11,"context_line":"even if other hosts can meet the vm requirements, the vm can not be"},{"line_number":12,"context_line":"migrated; and the vm is set to ERROR state if allow_resize_to_same_host"},{"line_number":13,"context_line":"is set to TRUE."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7faddb67_30cd3ab7","line":10,"updated":"2019-08-12 15:56:33.000000000","message":"As a workaround you could use microversion 2.56 and request a specific host for the cold migration.\n\nhttps://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id51","commit_id":"69fa30be20b95866b40f0117d1ccb0b31ef46af5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c0ae095d8edc7a472c295a55e98b62871f416b94","unresolved":false,"context_lines":[{"line_number":9,"context_line":"If the current host on which the vm resides is very resource-rich,"},{"line_number":10,"context_line":"nova filters return this host each time when user executes cold migration"},{"line_number":11,"context_line":"even if other hosts can meet the vm requirements, the vm can not be"},{"line_number":12,"context_line":"migrated; and the vm is set to ERROR state if allow_resize_to_same_host"},{"line_number":13,"context_line":"is set to TRUE."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Iffee71fdf7c4044e6333056f5c8310ea6b40f2e3"},{"line_number":16,"context_line":"Closes-Bug: 1748697"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7faddb67_106efec8","line":13,"range":{"start_line":12,"start_character":10,"end_line":13,"end_character":15},"updated":"2019-08-12 15:56:33.000000000","message":"I think this has been fixed:\n\nIe4f9177f4d54cbc7dbcf58bd107fd5f24c60d8bb","commit_id":"69fa30be20b95866b40f0117d1ccb0b31ef46af5"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c0ae095d8edc7a472c295a55e98b62871f416b94","unresolved":false,"context_lines":[{"line_number":11,"context_line":"even if other hosts can meet the vm requirements, the vm can not be"},{"line_number":12,"context_line":"migrated; and the vm is set to ERROR state if allow_resize_to_same_host"},{"line_number":13,"context_line":"is set to TRUE."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Iffee71fdf7c4044e6333056f5c8310ea6b40f2e3"},{"line_number":16,"context_line":"Closes-Bug: 1748697"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7faddb67_f0900299","line":14,"updated":"2019-08-12 15:56:33.000000000","message":"There are other ways to fix this to intelligently filter the host based on the capabilities of the compute service on which the instance is running, see:\n\nhttps://review.opendev.org/#/c/666604/\n\nClearly there are several bugs related to this same issue:\n\n- bug 1811235\n- bug 1819216\n- bug 1748697\n\nIf we thought through this with what the most flexible solution would be then we don\u0027t have to deal with one-off solutions like the one proposed in this patch. Doing that properly requires some discussion in the mailing list though to get people aligned on the direction to take.","commit_id":"69fa30be20b95866b40f0117d1ccb0b31ef46af5"}],"nova/conductor/tasks/migrate.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"c0ae095d8edc7a472c295a55e98b62871f416b94","unresolved":false,"context_lines":[{"line_number":242,"context_line":"                if selection.service_host \u003d\u003d self.instance.host:"},{"line_number":243,"context_line":"                    # Remove current host from selection list"},{"line_number":244,"context_line":"                    LOG.info(\"Remove current host: %s\", self.instance.host)"},{"line_number":245,"context_line":"                    selection_list.remove(selection)"},{"line_number":246,"context_line":"                    break"},{"line_number":247,"context_line":"            if not selection_list:"},{"line_number":248,"context_line":"                reason \u003d (\"No other host available to migrate \""}],"source_content_type":"text/x-python","patch_set":2,"id":"7faddb67_f039e2ce","line":245,"updated":"2019-08-12 15:56:33.000000000","message":"This is a change in behavior for allow_resize_to_same_host.","commit_id":"69fa30be20b95866b40f0117d1ccb0b31ef46af5"}]}
