Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contiv is starting ovsdb-server in Debug mode #1059

Closed
sbskas opened this issue Nov 12, 2017 · 3 comments
Closed

contiv is starting ovsdb-server in Debug mode #1059

sbskas opened this issue Nov 12, 2017 · 3 comments
Assignees

Comments

@sbskas
Copy link

sbskas commented Nov 12, 2017

Description

The ovsInit.sh is starting the ovsdb-server in debug mode.
Heres the line in the ovsInit.sh startup script:
ovsdb-server --remote=punix:/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch,manager_options \ --private-key=db:Open_vSwitch,SSL,private_key \ --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \ --log-file=/var/contiv/log/ovs-db.log \ -vsyslog:dbg -vfile:dbg --pidfile --detach /etc/openvswitch/conf.db

Expected Behavior

Logs should be rotated and compressed every day to keep the netplugin logs volume low.

Observed Behavior

The logs are filling up the /var/contiv directory at high rate, causing disk pressure and disabling completely the node when there is not any space left.
There is no easy way to change this behavior, most of the logs are useless in a production env.

Steps to Reproduce (for bugs)

N/A

Your Environment

  • netctl version : 1.1.6
  • Orchestrator version (e.g. kubernetes, mesos, swarm): 1.8.3
  • Operating System and version : Rhel 7.4 and Fedora 26
@kahou82 kahou82 self-assigned this Nov 15, 2017
@kahou82
Copy link
Member

kahou82 commented Nov 17, 2017

#1075

@sbskas
Copy link
Author

sbskas commented Nov 19, 2017

ok good enough for me.

@dseevr
Copy link
Contributor

dseevr commented Nov 21, 2017

Gonna close this as the change has been merged. This will go out in the 1.1.8 release

@dseevr dseevr closed this as completed Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants