Last modified: 2014-10-22 23:04:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74202, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72202 - Logstash package installs both /etc/init.d/logstash and /etc/init/logstash.conf scripts
Logstash package installs both /etc/init.d/logstash and /etc/init/logstash.co...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Logstash (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Bryan Davis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-18 00:23 UTC by Bryan Davis
Modified: 2014-10-22 23:04 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bryan Davis 2014-10-18 00:23:29 UTC
{:timestamp=>"2014-10-17T15:15:54.242000+0000", :message=>"syslog udp listener died", :address=>"0.0.0.0:10514", :exception=>#<SocketError: initialize: name or service not known>, :backtrace=>["org/jruby/ext/socket/RubyUDPSocket.java:106:in `initialize'", "org/jruby/ext/socket/RubyUDPSocket.java:115:in `initialize'", "org/jruby/RubyIO.java:852:in `new'", "/opt/logstash/lib/logstash/inputs/syslog.rb:115:in `udp_listener'", "/opt/logstash/lib/logstash/inputs/syslog.rb:76:in `run'"], :level=>:warn}
{:timestamp=>"2014-10-17T15:15:54.242000+0000", :message=>"syslog tcp listener died", :address=>"0.0.0.0:10514", :exception=>#<SocketError: initialize: name or service not known>, :backtrace=>["org/jruby/ext/socket/RubyTCPServer.java:126:in `initialize'", "org/jruby/RubyIO.java:852:in `new'", "/opt/logstash/lib/logstash/inputs/syslog.rb:135:in `tcp_listener'", "/opt/logstash/lib/logstash/inputs/syslog.rb:90:in `run'"], :level=>:warn}
Comment 1 Bryan Davis 2014-10-22 21:41:12 UTC
This seems to be logged only when multiple logstash service instances are running at the same time. Now the question is what is causing multiple services to be started in the first place?
Comment 2 Bryan Davis 2014-10-22 21:46:36 UTC
Apparently we have two logstash init files?
* /etc/init/logstash.conf
* /etc/init.d/logstash
Comment 3 Bryan Davis 2014-10-22 21:51:31 UTC
$ dpkg -S /etc/init.d/logstash
logstash: /etc/init.d/logstash

$ dpkg -S /etc/init/logstash.conf
logstash: /etc/init/logstash.conf

$ dpkg -L logstash | grep /etc
/etc
/etc/init.d
/etc/init.d/logstash
/etc/init.d/logstash-web
/etc/default
/etc/default/logstash
/etc/default/logstash-web
/etc/logstash
/etc/logstash/conf.d
/etc/logrotate.d
/etc/logrotate.d/logstash
/etc/init
/etc/init/logstash.conf
/etc/init/logstash-web.conf
Comment 4 Bryan Davis 2014-10-22 21:55:06 UTC
Looks like we will need to add some puppet logic to clean up the crappy upstream packaging. :( I guess that's what we get for importing a package that isn't blessed by Debian.
Comment 5 Gerrit Notification Bot 2014-10-22 22:14:31 UTC
Change 168199 had a related patch set uploaded by BryanDavis:
logstash: Remove upstart jobs

https://gerrit.wikimedia.org/r/168199
Comment 6 Gerrit Notification Bot 2014-10-22 22:34:26 UTC
Change 168199 merged by RobH:
logstash: Remove upstart jobs

https://gerrit.wikimedia.org/r/168199

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links