[AIM] Pass in limit=-1 to work around a Nova bug

This way we will get all the VMs back when we query Nova.

Change-Id: Ib98a09bdafbe24a1e97be5eb789c852938f85f24
This commit is contained in:
Kent Wu 2019-04-25 13:52:55 -07:00
parent 253be6d1ed
commit da052cb15c
1 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ class NovaClient(object):
'deleted': 'false'}
try:
return self.client.servers.list(detailed=False,
search_opts=search_opts)
search_opts=search_opts,
limit=-1)
except Exception as e:
LOG.exception(e)