https://bugzilla.wikimedia.org/show_bug.cgi?id=52048

       Web browser: ---
            Bug ID: 52048
           Summary: generic::gluster-client's logrotate.d file relies on
                    directory but doesn't ensure its existence
           Product: Wikimedia Labs
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: Infrastructure
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to