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

Bernd Adamowicz
2011-11-21T13:51:59Z

Just an idea: Seems, Puppet is using the URL http://localhost/reports/upload
though you have specified ''reporturl =
http://localhost:3000/reports/upload''. Is it possible that there is
some command line argument overriding your puppet.conf?

However I don''t use the ''reporturl'' argument at all.
This is my configuration:

41 [master]
 42     user = puppet
 43     group = puppet
 44     reports = puppet_dashboard
 45     storeconfigs = true
 46     dbadapter = mysql
 47     dbuser = puppet
 48     dbpassword = xxx
 49     dbserver = localhost
 50     dbsocket = /var/lib/mysql/mysql.sock
 51
 52 [agent]
 53     server = my.derver.net
 54     environment=loc_b_build
 55     debug = true
 56     verbose = true
 57     runintervall = 600
 58     report = true

Bernd

Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im
Auftrag von Galed Friedmann
Gesendet: Montag, 21. November 2011 14:13
An: puppet-users@googlegroups.com
Betreff: Re: [Puppet Users] Dashboard not working (406 Not Acceptable)

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