Skip to content

Commit

Permalink
Merge pull request #772 from trozet/nbctl_daemon_logging
Browse files Browse the repository at this point in the history
Bug 1874638: Fixes missing nbctl daemon logging
  • Loading branch information
openshift-merge-robot committed Nov 4, 2020
2 parents 65360e5 + 8aa3078 commit ad49849
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bindata/network/ovn-kubernetes/ovnkube-master.yaml
Expand Up @@ -833,7 +833,10 @@ 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
tail -f --retry /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 ad49849

Please sign in to comment.