Issue #5578 has been updated by kristof willaert.

I was looking into this, and it seems to be fixed (well, the faulty code has 
been removed :)
by this commit: 
https://github.com/puppetlabs/puppet/commit/8aa8b9dbc2437cea8109e4d272018437afe13794
which is included in 2.6.5.

If somebody could take a quick look at it? It certainly fixes the problem for 
me.
----------------------------------------
Bug #5578: puppet master throws error first time that it creates a store report 
for a client
https://projects.puppetlabs.com/issues/5578

Author: Dan Bode
Status: Accepted
Priority: Normal
Assignee: 
Category: reports
Target version: 2.6.x
Affected Puppet version: 2.6.4
Keywords: reports directory 
Branch: 


When the master is configured for store reports

<pre>
  [master]
    reports=store
</pre>

The first time that a client sends a report, puppet master fails to create the 
yaml file.

Error:

<pre>
err: /File[/var/lib/puppet/reports/puppetclient]/ensure: change from absent to 
directory failed: Failed to set owner to '0': Operation not permitted - 
/var/lib/puppet/reports/puppetclient
err: Report store failed: Got 1 failure(s) while initializing: change from 
absent to directory failed: Failed to set owner to '0': Operation not permitted 
- /var/lib/puppet/reports/puppetclient
</pre>
it does create the clients report directory on this run, but does not add the 
store report.

On subsequent runs, the store reports are created.


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to