Last modified: 2013-07-25 19:38:40 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.
(That also applies to the instances tools-mc (?) and tools-tyrant.)
Change 75976 had a related patch set uploaded by Ori.livneh: ensure => directory on GlusterFS log dir https://gerrit.wikimedia.org/r/75976
This should only happen if glusterfs-server is installed. Is that installed?
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.
Change 75976 merged by Ryan Lane: ensure => directory on GlusterFS log dir https://gerrit.wikimedia.org/r/75976