From b05fc00dcf059ce961eb1355b359b443883cb17f Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 7 Oct 2019 13:50:35 +0100 Subject: [PATCH] Fix validation of locally built IPA when ironic is disabled In an environment where ironic is disabled, but IPA images are built locally for the seed, the following task will fail in a number of commands, e.g. kayobe overcloud service deploy: Validate the presence of locally built Ironic Python Agent (IPA) images We need to only execute this task when ironic is enabled. Change-Id: I61067164a003bcdf6079cdaca36f0e1755186f60 Story: 2006669 Task: 36935 --- ansible/kolla-openstack.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/kolla-openstack.yml b/ansible/kolla-openstack.yml index eac66e5c5..a0e378192 100644 --- a/ansible/kolla-openstack.yml +++ b/ansible/kolla-openstack.yml @@ -76,7 +76,9 @@ dest: "{{ ipa_images_kernel_name }}" - src: "{{ ipa_images[1] }}" dest: "{{ ipa_images_ramdisk_name }}" - when: ipa_build_images | bool + when: + - kolla_enable_ironic | bool + - ipa_build_images | bool tags: - config