bifrost: Populate bifrost host vars on deprovision
Closes-Bug: #2038889 Change-Id: I4609494d009c6e1f97d833a9a11529d107b3216f
This commit is contained in:
parent
65e8f09e23
commit
672d6fa24a
@ -1087,7 +1087,8 @@ class OvercloudDeprovision(KayobeAnsibleMixin, VaultMixin, Command):
|
|||||||
|
|
||||||
def take_action(self, parsed_args):
|
def take_action(self, parsed_args):
|
||||||
self.app.LOG.debug("Deprovisioning overcloud")
|
self.app.LOG.debug("Deprovisioning overcloud")
|
||||||
playbooks = _build_playbook_list("overcloud-deprovision")
|
playbooks = _build_playbook_list("kolla-bifrost-hostvars",
|
||||||
|
"overcloud-deprovision")
|
||||||
self.run_kayobe_playbooks(parsed_args, playbooks)
|
self.run_kayobe_playbooks(parsed_args, playbooks)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1184,6 +1184,8 @@ class TestCase(unittest.TestCase):
|
|||||||
mock.call(
|
mock.call(
|
||||||
mock.ANY,
|
mock.ANY,
|
||||||
[
|
[
|
||||||
|
utils.get_data_files_path(
|
||||||
|
"ansible", "kolla-bifrost-hostvars.yml"),
|
||||||
utils.get_data_files_path(
|
utils.get_data_files_path(
|
||||||
"ansible", "overcloud-deprovision.yml"),
|
"ansible", "overcloud-deprovision.yml"),
|
||||||
],
|
],
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes failure to run ``kayobe overcloud deprovision`` after Bifrost is
|
||||||
|
redeployed.
|
||||||
|
`LP#2038889 <https://bugs.launchpad.net/kolla-ansible/+bug/2038889>`__
|
||||||
|
|
Loading…
Reference in New Issue
Block a user