summaryrefslogtreecommitdiff
path: root/docker/openvswitch/openvswitch-db-server
diff options
context:
space:
mode:
authorMichal Nasiadka <michal.nasiadka@nokia.com>2019-07-02 10:11:02 +0200
committerMichal Nasiadka <michal.nasiadka@nokia.com>2019-07-02 10:15:08 +0200
commit0ec7017f7a358553158dc927285ab9f4af1a641a (patch)
tree317578a9ffeab065922eb42e4ce7b64b0b7b2914 /docker/openvswitch/openvswitch-db-server
parent5ecb9107ea286bd0c1a45d4d95d064c764d33296 (diff)
downloadkolla-0ec7017f7a358553158dc927285ab9f4af1a641a.tar.gz
kolla-0ec7017f7a358553158dc927285ab9f4af1a641a.zip
Fix ovs-appctl by adding --pidfile to ovsdb command.
Change-Id: I8927ce98d669480866d6fcddaf7b08ef3cbbc37e Closes-Bug: #1697570
Diffstat (limited to 'docker/openvswitch/openvswitch-db-server')
-rwxr-xr-xdocker/openvswitch/openvswitch-db-server/start_ovsdb_server.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/openvswitch/openvswitch-db-server/start_ovsdb_server.sh b/docker/openvswitch/openvswitch-db-server/start_ovsdb_server.sh
index 5c92fba78..bb8bba65e 100755
--- a/docker/openvswitch/openvswitch-db-server/start_ovsdb_server.sh
+++ b/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