Re: [Puppet Users] Dashboard not working (406 Not Acceptable)

James Tan
2012-06-21T13:04:13Z

Old thread, but I ran into the same problem so figured I''ll post my
solution here. In my case, I added more verbose logging which pointed me to
the missing "spool" directory. Running the following commands fixed
it:

  mkdir -p /usr/share/puppet-dashboard/spool
  chown puppet-dashboard:puppet-dashboard spool

Regards,
James T.

On Monday, November 21, 2011 2:13:27 PM UTC+1, Galed Friedmann
wrote:
>
> Anybody? Any ideas?
>
> Thanks again
>
> On Sun, Nov 13, 2011 at 2:45 PM, Galed Friedmann <
> galed.friedmann@onavo.com> wrote:
>
>> Hi all,
>> I''ve created a replication of my puppet environment in order
to set it up
>> in a new location.
>> I''ve created an exact replication of my master server which is
running
>> the puppet master, dashboard server, and mysql.
>>
>> Everything is working fine except for the dashboard. The master is
>> configured to send reports to dashboard and indeed is sending them, but
>> looking at production.log in dashboard I see this:
>>
>> Processing ReportsController#upload (for 127.0.0.1 at 2011-11-13
>> 12:43:26) [POST]
>>   Parameters: {"action"=>"upload",
"controller"=>"reports"}
>> Completed in 1ms (View: 0, DB: 0) | 406 Not Acceptable [
>> http://localhost/reports/upload]
>>
>> For every attempt of the master to send a report.
>> This is a working configuration so I guess I missed something when I
>> changed the setting of the new server, any idea what might be wrong
here?
>>
>> puppet master configuration:
>> [master]
>> storeconfigs = true
>> dbadapter = mysql
>> dbuser = ...
>> dbpassword = ...
>> dbserver = localhost
>> dbsocket = /var/run/mysqld/mysqld.sock
>>
>> reports = store, http
>> reporturl = http://localhost:3000/reports/upload
>>
>> Thanks!
>>
>> --
>> You received this message because you are subscribed to the Google
Groups
>> "Puppet Users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/puppet-users/-/mGPKjqlxWY0J.
>> To post to this group, send email to puppet-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> puppet-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>>
>
>

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit