blob: c4451ca2f610e10910f4719b9c1c515531503ef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
---
- name: Perform a Neutron DB online upgrade
command: |
/openstack/venvs/neutron-{{ os_ver }}/bin/neutron-db-manage
--config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini
upgrade --expand
become: "yes"
become_user: "neutron"
- name: Perform a Neutron DB offline upgrade
command: |
/openstack/venvs/neutron-{{ os_ver }}/bin/neutron-db-manage
--config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/plugins/ml2/ml2_conf.ini
upgrade --contract
become: "yes"
become_user: "neutron"
- name: SFC DB upgrade
command: |
/openstack/venvs/neutron-{{ os_ver }}/bin/neutron-db-manage
--subproject networking-sfc
upgrade head
become: "yes"
become_user: "neutron"
when: odl_sfc == "Enable"
|