From c7ab69b38b8eebda2620f53366e4a9156d431f3a Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Fri, 17 May 2019 15:00:53 +0100 Subject: [PATCH] Fix overcloud introspection data save If running 'kayobe overcloud introspection data save' in an environment where nodes have been registered in the seed's ironic service manually (rather than through auto-discovery), previously the bifrost ansible inventory would not have been populated. This change ensures the bifrost ansible inventory exists prior to collecting introspection data. Change-Id: I2ad53aa0db3bab8db6d6d9de4b00c5dac756fb15 --- kayobe/cli/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kayobe/cli/commands.py b/kayobe/cli/commands.py index c95c4544e..2ec1ebda6 100644 --- a/kayobe/cli/commands.py +++ b/kayobe/cli/commands.py @@ -752,7 +752,8 @@ class OvercloudIntrospectionDataSave(KayobeAnsibleMixin, VaultMixin, Command): extra_vars['output_dir'] = parsed_args.output_dir if parsed_args.output_format: extra_vars['output_format'] = parsed_args.output_format - playbooks = _build_playbook_list("overcloud-introspection-data-save") + playbooks = _build_playbook_list("kolla-bifrost-hostvars", + "overcloud-introspection-data-save") self.run_kayobe_playbooks(parsed_args, playbooks, extra_vars=extra_vars)