Merge "Ovn upgrade - test if db already exist" into stable/train
This commit is contained in:
commit
9d053519de
|
@ -136,7 +136,7 @@ outputs:
|
|||
- /var/lib/openvswitch/ovn:/var/lib/openvswitch:shared,z
|
||||
- /var/lib/openvswitch/ovn:/run/openvswitch:shared,z
|
||||
- /var/log/containers/openvswitch:/var/log/openvswitch:z
|
||||
command: "ovsdb-tool create /var/lib/openvswitch/ovnnb.db /usr/share/openvswitch/ovn-nb.ovsschema"
|
||||
command: bash -c $* -- eval if [ ! -z $(ovsdb-tool db-name) ]; then exec ovsdb-tool create "/var/lib/openvswitch/ovnnb.db" "/usr/share/openvswitch/ovn-nb.ovsschema"; fi
|
||||
ovn_south_db_init:
|
||||
image: &south_db_image {get_param: ContainerOvnSbDbImage}
|
||||
net: host
|
||||
|
@ -152,7 +152,7 @@ outputs:
|
|||
- /var/lib/openvswitch/ovn:/var/lib/openvswitch:shared,z
|
||||
- /var/lib/openvswitch/ovn:/run/openvswitch:shared,z
|
||||
- /var/log/containers/openvswitch:/var/log/openvswitch:z
|
||||
command: "ovsdb-tool create /var/lib/openvswitch/ovnsb.db /usr/share/openvswitch/ovn-sb.ovsschema"
|
||||
command: bash -c $* -- eval if [ ! -z $(ovsdb-tool db-name) ]; then exec ovsdb-tool create "/var/lib/openvswitch/ovnsb.db" "/usr/share/openvswitch/ovn-sb.ovsschema"; fi
|
||||
step_4:
|
||||
ovn_north_db_server:
|
||||
start_order: 0
|
||||
|
|
Loading…
Reference in New Issue