Use new kolla-ansible upgrade-bifrost command
This command slightly modifies the deploy operation to first stop the bifrost services and container if they are running. Change-Id: If0fe1115f01738254a61c0f5460548b0d6ae6b9a Depends-On: https://review.opendev.org/667630 Story: 2006050 Task: 34743
This commit is contained in:
parent
d1b51adb3d
commit
cd97a9d721
@ -679,8 +679,7 @@ class SeedServiceUpgrade(KollaAnsibleMixin, KayobeAnsibleMixin, VaultMixin,
|
||||
playbooks = _build_playbook_list(
|
||||
"seed-service-upgrade-prep")
|
||||
self.run_kayobe_playbooks(parsed_args, playbooks)
|
||||
|
||||
self.run_kolla_ansible_seed(parsed_args, "deploy-bifrost")
|
||||
self.run_kolla_ansible_seed(parsed_args, "upgrade-bifrost")
|
||||
playbooks = _build_playbook_list(
|
||||
"overcloud-host-image-workaround-resolv",
|
||||
"overcloud-host-image-workaround-cloud-init",
|
||||
|
@ -933,7 +933,7 @@ class TestCase(unittest.TestCase):
|
||||
expected_calls = [
|
||||
mock.call(
|
||||
mock.ANY,
|
||||
"deploy-bifrost",
|
||||
"upgrade-bifrost",
|
||||
),
|
||||
]
|
||||
self.assertEqual(expected_calls, mock_kolla_run.call_args_list)
|
||||
|
Loading…
Reference in New Issue
Block a user