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
This commit is contained in:
parent
9f92afc383
commit
c7ab69b38b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user