Created attachment 857587 [details] watchman.log Description of problem: After the latest production release we noticed that openshift-watchman was failing to start on some nodes. Attached to this bug is the log file. Version-Release number of selected component (if applicable): Latest How reproducible: Very. openshift-origin-node-util-1.18.7-1.el6oso.noarch Steps to Reproduce: 1. 2. 3. Actual results: watchman fails to start/run. Expected results: watchman works. Additional info:
I also noticed the following comments in /var/log/watchman.log /usr/sbin/oo-watchman:91:in `logger': wrong number of arguments (0 for 1) (ArgumentError) from /usr/sbin/oo-watchman:71:in `rescue in block (2 levels) in apply' from /usr/sbin/oo-watchman:66:in `block (2 levels) in apply' from /usr/sbin/oo-watchman:65:in `each' from /usr/sbin/oo-watchman:65:in `block in apply' from /usr/sbin/oo-watchman:64:in `loop' from /usr/sbin/oo-watchman:64:in `apply' from /usr/sbin/oo-watchman:300:in `<top (required)>' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `load' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons/application.rb:176:in `start_load' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons/application.rb:257:in `start' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons/controller.rb:69:in `run' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons.rb:139:in `block in run' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `call' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `catch_exceptions' from /opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.0.10/lib/daemons.rb:138:in `run' from /etc/init.d/openshift-watchman:44:in `<main>' I believe this is caused by line 71. Line 71 calls logger.debug but logger is a function with a single config parameter. This error goes away when you call it like the following: logger(@config).debug(%Q{#{msg}\n#{e.backtrace.join("\n")}}) I then observed that watchman continued to run.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/5679cd8681224b91d64e520c46e0056cf006a4ee Bug 1059804 - Watchman support for UTF-8
This has been built and is on STG, ready for testing.
verified with devenv-stage_673