Merge "Prevent "server migrate --wait" from hanging"

This commit is contained in:
Zuul 2018-06-01 21:15:44 +00:00 committed by Gerrit Code Review
commit c18f93bafe
1 changed files with 1 additions and 0 deletions

View File

@ -1386,6 +1386,7 @@ class MigrateServer(command.Command):
if utils.wait_for_status(
compute_client.servers.get,
server.id,
success_status=['active', 'verify_resize'],
callback=_show_progress,
):
self.app.stdout.write(_('Complete\n'))