Issue #8228 has been updated by Michael Stahnke.

Status changed from In Topic Branch Pending Merge to Merged - Pending Release

Merged in 5ed57a5

----------------------------------------
Bug #8228: Reports fail to uplaod without error if spool directory does not 
exist
https://projects.puppetlabs.com/issues/8228

Author: Jeff McCune
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: reports upload error 406 debian
Branch: 
Affected URL: 
Affected Dashboard version: 1.2rc7


# Overview #

JEFF: Shave this yak later.

If the $RAILS_ROOT/spool directory does not exist and is not writable by the 
Dashboard process, then report uploads fail with an HTTP 406 error:

<pre>
127.0.0.2 - - [04/Jul/2011:17:55:03 -0400] "POST /reports/upload HTTP/1.1" 406 
120 "-" "-"
</pre>

However, creating the directory and giving ownership to puppet-dashboard with 
750 permissions allow reports to be uploaded correctly:

<pre>
127.0.0.2 - - [04/Jul/2011:17:58:01 -0400] "POST /reports/upload HTTP/1.1" 200 
46 "-" "-"
</pre>

# Error Messages #

There was no indication on the Puppet Master, Puppet Agent, or in the Dashboard 
that the report was discarded and not stored.

The only indication I had was that the report was not in the User Interface.

This may be more difficult to "see" with a Dashboard that already has reports.

There should be some error message displayed somewhere if report uploads to the 
Dashboard are failing with 406 errors.

Perhaps this should be a related bug in the Puppet project?


-- 
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