aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/odl_cluster/roles/setup-odl/tasks/control-servers-3.yml
blob: ced011bd052065a333de60719156e60721c4b222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---

- 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"