Last modified: 2013-07-26 21:28:38 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 T38748, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36748 - [OPS] syslog::server (in test) unusuable
[OPS] syslog::server (in test) unusuable
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
: ops
Depends on:
Blocks: 37081
  Show dependency treegraph
 
Reported: 2012-05-10 22:02 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-07-26 21:28 UTC (History)
6 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-10 22:02:08 UTC
We have rsyslog installed with the base package on all servers. That also trigger the installation of misc::remote-syslog which use rsyslog to send logs to a central box.

When setting up the central box, one has to use the syslog::server class which try to install syslog-ng instead of rsyslog but still has misc::remote-syslog.

The end result is that each time puppet run on the host, whatever syslog system runs at that time is replaced by a the other one.

How to reproduce:

 Log on deployment-syslog
 Run twice:  puppetd -tv
Comment 1 Antoine "hashar" Musso (WMF) 2012-05-15 11:00:56 UTC
Moving to beta project. Raising priority since that means we have no log!

From a quick discussion with Ryan, instances indeed include base class and thus always have misc::remote-syslog.
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-24 05:57:32 UTC
Moving bug back to pool and tagging for ops to look at. 

While I am there, the correct puppet classes are:

 base::remote-syslog (installs rsyslog)
 misc::syslog-server (installs syslog-ng)

We need a way to conditionally disable the inclusion of base::remote-syslog to let misc::syslog-server install syslog-ng.
Comment 3 Antoine "hashar" Musso (WMF) 2012-07-25 19:34:16 UTC
https://gerrit.wikimedia.org/r/16661
Comment 4 Antoine "hashar" Musso (WMF) 2012-10-17 21:25:05 UTC
Gerrit change has been abandoned. Ops do not want the hack that is based on a labs instance name and would like the whole syslog system to be rethought.  Not going to happen anytime soon unfortunately.
Comment 5 Antoine "hashar" Musso (WMF) 2013-03-06 00:01:04 UTC
Bringing back the topic again on ops list and with a new change:
https://gerrit.wikimedia.org/r/#/c/51668
Comment 6 Antoine "hashar" Musso (WMF) 2013-07-26 21:28:38 UTC
Change https://gerrit.wikimedia.org/r/#/c/51668 got merged.

On deployment-bastion, I have applied the class misc::syslog-server and created a symlink /home/wikipedia/syslog to /data/project/logs/syslog.

The file is now getting messages from all the instances :-]

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


Navigation
Links