Last modified: 2014-03-27 15:32:28 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 T64757, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62757 - Syslog server in eqiad log to non existent /home/wikipedia/syslog/
Syslog server in eqiad log to non existent /home/wikipedia/syslog/
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-17 22:30 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-03-27 15:32 UTC (History)
6 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2014-03-17 22:30:19 UTC
The syslog-ng log receiver is setup on eqiad on the deployment-bastion.eqiad.wmflabs instance.

# grep wikipedia /etc/syslog-ng/syslog-ng.conf 
	file("/home/wikipedia/syslog/syslog" group(500));
	file("/home/wikipedia/syslog/apache.log" group(500));
	file("/home/wikipedia/syslog/swift" group(500));
#

Need to:

a) have puppet create a dir under /data/project/
b) use a named group (NFS on labs does not support numerical UID/GID by design)
c) parameterized syslog-ng conf in puppet
Comment 1 Antoine "hashar" Musso (WMF) 2014-03-18 10:21:28 UTC
Linting manifest:
 https://gerrit.wikimedia.org/r/119251

Conversion to basic templates:
 https://gerrit.wikimedia.org/r/119255
Comment 2 Gerrit Notification Bot 2014-03-18 10:22:26 UTC
Change 119256 had a related patch set uploaded by Hashar:
Make syslog-ng basepath a parameter

https://gerrit.wikimedia.org/r/119256
Comment 3 Gerrit Notification Bot 2014-03-18 10:32:42 UTC
Change 119257 had a related patch set uploaded by Hashar:
Create roles for syslog-ng

https://gerrit.wikimedia.org/r/119257
Comment 4 Antoine "hashar" Musso (WMF) 2014-03-18 10:33:33 UTC
> b) use a named group (NFS on labs does not support numerical UID/GID by design)

That is not needed. The syslog-ng configuration barcode GID 500 which is assigned to the wikidev group in the labs LDAP.
Comment 5 Gerrit Notification Bot 2014-03-27 14:43:40 UTC
Change 119256 merged by Andrew Bogott:
Make syslog-ng basepath a parameter

https://gerrit.wikimedia.org/r/119256
Comment 6 Gerrit Notification Bot 2014-03-27 14:44:24 UTC
Change 119257 merged by Andrew Bogott:
Create roles for syslog-ng

https://gerrit.wikimedia.org/r/119257
Comment 7 Antoine "hashar" Musso (WMF) 2014-03-27 15:32:28 UTC
Fixed. syslog logs are in /data/project/syslog

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


Navigation
Links