Browse Source

Fix ovs-appctl by adding --pidfile to ovsdb command.

Change-Id: I8927ce98d669480866d6fcddaf7b08ef3cbbc37e
Closes-Bug: #1697570
(cherry picked from commit 0ec7017f7a)
changes/85/677385/1
Michal Nasiadka 2 years ago
committed by Michal Nasiadka
parent
commit
0e78cbb84c
  1. 2
      docker/openvswitch/openvswitch-db-server/start_ovsdb_server.sh

2
docker/openvswitch/openvswitch-db-server/start_ovsdb_server.sh

@ -26,5 +26,5 @@ if [ ! -e $ovs_bridge ] && [ ! -e $ovs_ext_intf ]; then
/usr/sbin/ovsdb-server /var/lib/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --remote=ptcp:6640 --log-file=/var/log/kolla/openvswitch/ovsdb-server.log
else
# NOTE: (sbezverk) This part is executed only by kolla-ansible deployment.
/usr/sbin/ovsdb-server /var/lib/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/run/openvswitch/db.sock --remote=ptcp:6640:$ovsdb_ip --log-file=/var/log/kolla/openvswitch/ovsdb-server.log
/usr/sbin/ovsdb-server /var/lib/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --remote=punix:/run/openvswitch/db.sock --remote=ptcp:6640:$ovsdb_ip --log-file=/var/log/kolla/openvswitch/ovsdb-server.log
fi
Loading…
Cancel
Save