Skip to content

Commit

Permalink
Fixes missing nbctl daemon logging
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Rozet <trozet@redhat.com>
  • Loading branch information
trozet committed Sep 1, 2020
1 parent 3179c1a commit 39553c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bindata/network/ovn-kubernetes/ovnkube-master.yaml
Expand Up @@ -521,7 +521,11 @@ spec:
export OVN_NB_DAEMON=$(ovn-nbctl --pidfile=/var/run/ovn/ovn-nbctl.pid \
--detach \
-p /ovn-cert/tls.key -c /ovn-cert/tls.crt -C /ovn-ca/ca-bundle.crt \
--db "{{.OVN_NB_DB_LIST}}")
--db "{{.OVN_NB_DB_LIST}} --log-file=/run/ovn/ovn-nbctl.log")
# include nbctl daemon logging, allow for ovn-nbctl to create the log file
sleep 1
tail -f /run/ovn/ovn-nbctl.log &
# REMOVEME once OVN path for control socket is fixed (right now uses /var/run/openvswitch)
ln -sf $OVN_NB_DAEMON /var/run/ovn/ || true
Expand Down

0 comments on commit 39553c1

Please sign in to comment.