Merge "Need up-to-date server info before get_empty_hosts"

This commit is contained in:
Zuul 2018-10-03 08:22:01 +00:00 committed by Gerrit Code Review
commit 6dbd69ed8e
1 changed files with 1 additions and 0 deletions

View File

@ -550,6 +550,7 @@ class Workflow(BaseWorkflow):
return
# TBD it takes time to have proper infromation updated about free
# capacity. Should make sure instances removed has also VCPUs removed
self.update_server_info()
maintenance_empty_hosts = self.session_data.get_empty_hosts()
if len(maintenance_empty_hosts) == 0: