Bug 1059804
| Summary: | [openshift-watchman] watchman dies immediately on start up | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Kenny Woodson <kwoodson> | ||||
| Component: | Containers | Assignee: | Jhon Honce <jhonce> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2.x | CC: | bmeng, pruan, tdawson, xtian | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-02-26 19:10:53 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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 |
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: