Merge pull request #102 from markgoddard/host-upgrade-commands
Fix host upgrade commands, create kolla-ansible virtualenv in host configure
This commit is contained in:
commit
208cced7c5
@ -412,7 +412,8 @@ class SeedHostConfigure(KollaAnsibleMixin, KayobeAnsibleMixin, VaultMixin,
|
||||
extra_vars=extra_vars)
|
||||
|
||||
# Run final kayobe playbooks.
|
||||
playbooks = _build_playbook_list("kolla-host", "docker")
|
||||
playbooks = _build_playbook_list(
|
||||
"kolla-target-venv", "kolla-host", "docker")
|
||||
self.run_kayobe_playbooks(parsed_args, playbooks, limit="seed")
|
||||
|
||||
|
||||
@ -700,7 +701,8 @@ class OvercloudHostConfigure(KollaAnsibleMixin, KayobeAnsibleMixin, VaultMixin,
|
||||
extra_vars=extra_vars)
|
||||
|
||||
# Further kayobe playbooks.
|
||||
playbooks = _build_playbook_list("kolla-host", "docker")
|
||||
playbooks = _build_playbook_list(
|
||||
"kolla-target-venv", "kolla-host", "docker")
|
||||
self.run_kayobe_playbooks(parsed_args, playbooks, limit="overcloud")
|
||||
|
||||
|
||||
|
@ -186,6 +186,7 @@ class TestCase(unittest.TestCase):
|
||||
mock.call(
|
||||
mock.ANY,
|
||||
[
|
||||
"ansible/kolla-target-venv.yml",
|
||||
"ansible/kolla-host.yml",
|
||||
"ansible/docker.yml",
|
||||
],
|
||||
@ -427,6 +428,7 @@ class TestCase(unittest.TestCase):
|
||||
mock.call(
|
||||
mock.ANY,
|
||||
[
|
||||
"ansible/kolla-target-venv.yml",
|
||||
"ansible/kolla-host.yml",
|
||||
"ansible/docker.yml",
|
||||
],
|
||||
|
2
setup.py
2
setup.py
@ -82,7 +82,9 @@ setup(
|
||||
'seed_container_image_build = kayobe.cli.commands:SeedContainerImageBuild',
|
||||
'seed_deployment_image_build = kayobe.cli.commands:SeedDeploymentImageBuild',
|
||||
'seed_host_configure = kayobe.cli.commands:SeedHostConfigure',
|
||||
'seed_host_upgrade = kayobe.cli.commands:SeedHostUpgrade',
|
||||
'seed_hypervisor_host_configure = kayobe.cli.commands:SeedHypervisorHostConfigure',
|
||||
'seed_hypervisor_host_upgrade = kayobe.cli.commands:SeedHypervisorHostUpgrade',
|
||||
'seed_service_deploy = kayobe.cli.commands:SeedServiceDeploy',
|
||||
'seed_vm_deprovision = kayobe.cli.commands:SeedVMDeprovision',
|
||||
'seed_vm_provision = kayobe.cli.commands:SeedVMProvision',
|
||||
|
Loading…
x
Reference in New Issue
Block a user