Skip to content

Commit 785a381

Browse files
committed
fence_compute: Correctly locate all instances to be evacuated
1 parent a863c41 commit 785a381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fence/agents/compute/fence_compute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _get_evacuable_images():
103103

104104
def _host_evacuate(options):
105105
result = True
106-
servers = nova.servers.list(search_opts={'host': options["--plug"]})
106+
servers = nova.servers.list(search_opts={'host': options["--plug"], 'all_tenants': 1 })
107107
if options["--instance-filtering"] == "False":
108108
evacuables = servers
109109
else:

0 commit comments

Comments
 (0)