Merge "Remove Nova from undercloud during upgrades"

This commit is contained in:
Zuul 2022-02-28 12:59:08 +00:00 committed by Gerrit Code Review
commit 4f54d1c1f9
2 changed files with 38 additions and 1 deletions

View File

@ -74,6 +74,43 @@ outputs:
- step|int == 0
- ansible_facts['distribution_major_version'] is version('8', '==')
- dnf_module_list|length > 0
- name: Clean up Nova containers
when: step|int == 0
block:
- name: Stop nova containers
import_role:
name: tripleo_container_stop
vars:
tripleo_containers_to_stop: &nova_containers
- nova_api
- nova_api_cron
- nova_conductor
- nova_scheduler
- placement_api
- nova_compute
- name: Remove nova containers
import_role:
name: tripleo_container_rm
vars:
containers_to_rm: *nova_containers
- name: Remove one-off nova init-containers
import_role:
name: tripleo_container_rm
vars:
containers_to_rm:
- nova_api_db_sync
- nova_api_init_logs
- nova_api_map_cell0
- nova_api_ensure_default_cell
- nova_statedir_owner
- nova_wait_for_compute_service
- nova_wait_for_api_service
- nova_db_sync
- placement_api_db_sync
- placement_wait_for_service
- placement_init_log
- name: migrate existing introspection data
shell: >
{{ container_cli }} exec -u root ironic_inspector ironic-inspector-migrate-data

View File

@ -86,7 +86,7 @@ parameter_defaults:
KernelIpNonLocalBind: 1
EnablePackageInstall: true
StackAction: CREATE
UndercloudNetworkConfigUpdate: True
UndercloudNetworkConfigUpdate: True
NeutronTunnelTypes: []
NeutronBridgeMappings: ctlplane:br-ctlplane
NeutronAgentExtensions: []