From 1ad073f0d0b181fc3eaf9b3523c29d96302a356a Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 26 Nov 2020 15:41:37 +0000 Subject: [PATCH] Fix overcloud provisioning Affects master & Victoria only. Since Victoria, Bifrost added a play to gather facts for localhost at the beginning of deploy-dynamic.yaml. Kayobe executes the playbook with a limit, which does not include localhost. This causes fact gathering to be skipped for localhost: PLAY [Gather facts on localhost] *********************************** skipping: no hosts matched This change fixes the issue by adding localhost to the limit. Change-Id: I1264832398744c48a6f706efe91f084890a37772 Story: 2008388 Task: 41311 --- ansible/overcloud-provision.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/overcloud-provision.yml b/ansible/overcloud-provision.yml index f149f1caa..afe341ac0 100644 --- a/ansible/overcloud-provision.yml +++ b/ansible/overcloud-provision.yml @@ -27,7 +27,7 @@ - deploying - wait call-back # List of hosts to limit Bifrost deploy-dynamic.yaml playbook to. - bifrost_limit: [] + bifrost_limit: ['localhost'] # Retries to use when using Ironic API and hitting node locked errors. ironic_retries: 6 ironic_retry_interval: 5