[ovs-git] [openvswitch/ovs] 59d759: ovn-ctl: Add -vfile:info option to OVN_NB/SB_LOG o...

GitHub noreply at github.com
Mon Nov 27 19:10:54 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 59d7599154d2346db3e9c8d3582e56c728b4002a
      https://github.com/openvswitch/ovs/commit/59d7599154d2346db3e9c8d3582e56c728b4002a
  Author: Numan Siddique <nusiddiq at redhat.com>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M ovn/utilities/ovn-ctl

  Log Message:
  -----------
  ovn-ctl: Add -vfile:info option to OVN_NB/SB_LOG options

In the RHEL environment, when OVN db servers are started using ovn-ctl,
log files are empty. Adding "-vfile:info" option to ovsdb-server is
resolving this issue. Running 'ovs-apptctl -t .. vlog/reopen" results in the
logs appearing in the log files. This issue is seen with 2.7.2.

"-vfile:info" option is passed to ovn-northd and ovn-controller when starting.
There is no harm in adding this to OVN db servers.

Signed-off-by: Numan Siddique <nusiddiq at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 0a36c7541116d7396fa4a15cbe8febd31f7bbc61
      https://github.com/openvswitch/ovs/commit/0a36c7541116d7396fa4a15cbe8febd31f7bbc61
  Author: Numan Siddique <nusiddiq at redhat.com>
  Date:   2017-11-27 (Mon, 27 Nov 2017)

  Changed paths:
    M debian/openvswitch-switch.logrotate
    M rhel/etc_logrotate.d_openvswitch

  Log Message:
  -----------
  OpenvSwitch logrotate: Use ctl file path as target in ovs-appctl to reset logs

Presently, logrotate script, searches for the pid files in /var/log/openvswitch
and passes the pid file name (without .pid) as target to ovs-appctl. This approach
doesn't work for OVN DB servers since the ctl files are generated as "ovnnb_db.ctl"
and "ovnsb_db.ctl". So search for the .ctl files instead and use them as target to
ovs-appctl.

Suggested-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Numan Siddique <nusiddiq at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Mark Michelson <mmichels at redhat.com>


Compare: https://github.com/openvswitch/ovs/compare/2421b6eb2bd9...0a36c7541116


More information about the git mailing list