Add neutron service support for composable upgrades
Change-Id: I9c6116ddb4475b798876635cbb701214759fa33b Partially-Implements: blueprint overcloud-upgrades-per-service
This commit is contained in:
parent
9245880ae4
commit
04ed7e511d
@ -160,3 +160,14 @@ outputs:
|
||||
neutron::db::mysql::allowed_hosts:
|
||||
- '%'
|
||||
- "%{hiera('mysql_bind_host')}"
|
||||
upgrade_tasks:
|
||||
- name: Stop neutron_api service
|
||||
tags: step2
|
||||
service: name=neutron-server state=stopped
|
||||
- name: Sync neutron_api DB
|
||||
tags: step5
|
||||
command: neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini upgrade head
|
||||
- name: Start neutron_api service
|
||||
tags: step6
|
||||
service: name=neutron-server state=started
|
||||
|
||||
|
@ -74,3 +74,10 @@ outputs:
|
||||
dport: 68
|
||||
step_config: |
|
||||
include tripleo::profile::base::neutron::dhcp
|
||||
upgrade_tasks:
|
||||
- name: Stop neutron_dhcp service
|
||||
tags: step2
|
||||
service: name=neutron-dhcp-agent state=stopped
|
||||
- name: Start neutron_dhcp service
|
||||
tags: step6
|
||||
service: name=neutron-dhcp-agent state=started
|
||||
|
@ -72,10 +72,17 @@ outputs:
|
||||
tripleo.neutron_l3.firewall_rules:
|
||||
'106 neutron_l3 vrrp':
|
||||
proto: vrrp
|
||||
-
|
||||
-
|
||||
if:
|
||||
- external_network_bridge_empty
|
||||
- {}
|
||||
- neutron::agents::l3::external_network_bridge: {get_param: NeutronExternalNetworkBridge}
|
||||
step_config: |
|
||||
include tripleo::profile::base::neutron::l3
|
||||
upgrade_tasks:
|
||||
- name: Stop neutron_l3 service
|
||||
tags: step2
|
||||
service: name=neutron-l3-agent state=stopped
|
||||
- name: Start neutron_l3 service
|
||||
tags: step6
|
||||
service: name=neutron-l3-agent state=started
|
||||
|
@ -75,3 +75,10 @@ outputs:
|
||||
neutron::agents::metadata::metadata_ip: "%{hiera('nova_metadata_vip')}"
|
||||
step_config: |
|
||||
include tripleo::profile::base::neutron::metadata
|
||||
upgrade_tasks:
|
||||
- name: Stop neutron_metadata service
|
||||
tags: step2
|
||||
service: name=neutron-metadata-agent state=stopped
|
||||
- name: Start neutron_metadata service
|
||||
tags: step6
|
||||
service: name=neutron-metadata-agent state=started
|
||||
|
@ -113,3 +113,11 @@ outputs:
|
||||
proto: 'gre'
|
||||
step_config: |
|
||||
include ::tripleo::profile::base::neutron::ovs
|
||||
upgrade_tasks:
|
||||
- name: Stop neutron_ovs_agent service
|
||||
tags: step2
|
||||
service: name=neutron-openvswitch-agent state=stopped
|
||||
- name: Start neutron_ovs_agent service
|
||||
tags: step6
|
||||
service: name=neutron-openvswitch-agent state=started
|
||||
|
||||
|
@ -107,6 +107,6 @@ outputs:
|
||||
tags: step2
|
||||
service: name=rabbitmq-server state=stopped
|
||||
- name: Start rabbitmq service
|
||||
tags: step6
|
||||
tags: step4
|
||||
service: name=rabbitmq-server state=started
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user