From f20cbf49580f1457db22346c413991cf60c90dba Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 7 Mar 2019 17:28:58 -0600 Subject: [PATCH] Fix Blazar Nova aggregate in multi-region setup The Nova aggregate was always defaulting to some region (usually first in the Keystone endpoint list) when registering the Nova aggregate for Blazar. Add in a region override to ensure we are always writing to the region being deployed. Change-Id: I3f921ac51acab1b1020a459c07c755af7023e026 --- ansible/roles/blazar/tasks/bootstrap.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/blazar/tasks/bootstrap.yml b/ansible/roles/blazar/tasks/bootstrap.yml index 999e888a48..2c3adfdd5a 100644 --- a/ansible/roles/blazar/tasks/bootstrap.yml +++ b/ansible/roles/blazar/tasks/bootstrap.yml @@ -41,6 +41,7 @@ --os-username admin --os-password {{ keystone_admin_password }} --os-user-domain-name default + --os-region-name {{ openstack_region_name }} aggregate create {{ blazar_aggregate_pool_name }} register: blazar_host_aggregate changed_when: blazar_host_aggregate is success