Last modified: 2013-07-25 19:38:40 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 T54048, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52048 - generic::gluster-client's logrotate.d file relies on directory but doesn't ensure its existence
generic::gluster-client's logrotate.d file relies on directory but doesn't en...
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized trivial
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-25 19:24 UTC by Tim Landscheidt
Modified: 2013-07-25 19:38 UTC (History)
3 users (show)

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


Attachments

Description Tim Landscheidt 2013-07-25 19:24:23 UTC
YuviPanda created the instance tools-redis some days ago which since then complains daily via mail:

| /etc/cron.daily/logrotate:
| error: error accessing /var/log/glusterfs/bricks: No such file or directory
| error: glusterlogs:20 glob failed for /var/log/glusterfs/bricks/*.log
| error: found error in /var/log/glusterfs/bricks/*.log , skipping

It looks as if manifests/generic-definitions.pp's:

|         file { "/etc/logrotate.d/glusterlogs":
|                 ensure => present,
|                 mode => '0664',
|                 source => "puppet:///files/logrotate/glusterlogs",
|                 owner => 'root',
|         }

needs a dependency on /var/log/glusterfs/bricks.
Comment 1 Tim Landscheidt 2013-07-25 19:26:32 UTC
(That also applies to the instances tools-mc (?) and tools-tyrant.)
Comment 2 Gerrit Notification Bot 2013-07-25 19:31:56 UTC
Change 75976 had a related patch set uploaded by Ori.livneh:
ensure => directory on GlusterFS log dir

https://gerrit.wikimedia.org/r/75976
Comment 3 Ryan Lane 2013-07-25 19:37:07 UTC
This should only happen if glusterfs-server is installed. Is that installed?
Comment 4 Ryan Lane 2013-07-25 19:38:28 UTC
Ah, it's the way puppet is done that causes the issue. Meh. I'll just merge this. We'll be getting rid of gluster soon anyway.
Comment 5 Gerrit Notification Bot 2013-07-25 19:38:40 UTC
Change 75976 merged by Ryan Lane:
ensure => directory on GlusterFS log dir

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

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


Navigation
Links