Package: openvswitch-controller
Version: 1.9.3+git20131029-1
Severity: normal

Dear Maintainer,

Logrotate cronjob fails to run successfully:

/etc/cron.daily/logrotate:
Logging to file not configured
ovs-appctl: ovs-controller: server returned an error
Logging to file not configured
ovs-appctl: ovs-controller: server returned an error
Logging to file not configured
ovs-appctl: ovs-controller: server returned an error

Reproducing the error by hand:
# ovs-appctl -t ovs-controller vlog/reopen
Logging to file not configured
ovs-appctl: ovs-controller: server returned an error


The problem can be solved by enabling logging in
openvswitch-controller in /etc/default/openvswitch-controller

Can be done by including "--log-file" by default in DAEMON_OPTS
Restart openvswitch-controller after

The logfile is created at /var/log/openvswitch/ovs-controller.log
Now:
# ovs-appctl -t
ovs-controller vlog/reopen
# echo $?
0



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to