Commit 81df9113 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Fix bug in allocating archipelago VMs

This commit fixes a bug that caused backend allocator to send
archipelago VMs backends to backends not in ARCHIPELAGO_BACKENDS
setting. The flavor disk template is parsed before the backend
allocation, so the disk_template at this point is ext and not ext_vlmc,
as it was expected.
parent 0471f129
......@@ -105,7 +105,7 @@ def get_available_backends():
def filter_archipelagos_backends(available_backends, disk_template):
if disk_template.startswith("ext_"):
if disk_template == "ext":
available_backends = filter(lambda x: in ARCHIPELAGO_BACKENDS,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment