Issue #20146 has been reported by Alex Jurkiewicz.

----------------------------------------
Bug #20146: rrdgraph report handler fails on first run
https://projects.puppetlabs.com/issues/20146

* Author: Alex Jurkiewicz
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
We run 3.1.1 with the following master config (snipped everything not rrd*):
    [master]
    reports=tagmail,rrdgraph
    rrddir = $vardir/rrd
    rrdinterval = $runinterval
    rrdgraph = true

I clean rrd directory: `rm -rf /var/lib/puppet/rrd/*`

Then we run puppet on the client and on master see errors like this in syslog:
    Apr  9 10:51:09 master01 puppet-master[10343]: Not sending tagmail report; 
no changes
    Apr  9 10:51:09 master01 puppet-master[10343]: Failed to set owner to '0': 
Operation not permitted - /var/lib/puppet/rrd/app01.fqdn
    Apr  9 10:51:09 master01 puppet-master[10343]: 
(/File[/var/lib/puppet/rrd/app01.fqdn]/ensure) change from absent to directory 
failed: Failed to set owner to '0': Operation not permitted - 
/var/lib/puppet/rrd/app01.fqdn
    Apr  9 10:51:09 master01 puppet-master[10343]: Report processor failed: Got 
2 failure(s) while initializing: Failed to set owner to '0': Operation not 
permitted - /var/lib/puppet/rrd/app01.fqdn; change from absent to directory 
failed: Failed to set owner to '0': Operation not permitted - 
/var/lib/puppet/rrd/app01.fqdn

However, on the master the directory is created:
    /var/lib/puppet/rrd # cd app01.fqdn
    /var/lib/puppet/rrd/app01.fqdn # ls -ld
    drwxr-xr-x 2 puppet puppet 4096 Apr  9 11:02 ./

But the directory is empty. Running the client again populates it with 
rrd/png/html files as expected.

BTW I found two maybe related tickets: #9166 and #4204.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to