[Puppet Users] puppet-dashboard running on puppet-server (SL6)

Arnau Bria
Tue, 13 Mar 2012 13:37:44 -0000

Hi all,

I''ve installed a new puppet-server and I wanted to add
puppet-dash-board for reports (only).

# rpm -qa|grep puppet|sort
puppet-2.7.11-2.el6.noarch
puppet-dashboard-1.2.6-1.el6.noarch
puppet-server-2.7.11-2.el6.noarch

So, I''ve followed
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html
+
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#configuring-puppet

but I don''t see any report in my dash-board.

Logs periodically show:

Processing ReportsController#upload (for X.Y.Z.W at 2012-03-13 14:38:09) [POST]
  Parameters: {"controller"=>"reports",
"action"=>"upload"}
Completed in 104ms (View: 0, DB: 100) | 200 OK
[http://puppet-server-alias.domain.com/reports/upload]

and dashboard shows:

456 pending tasks.


My database.tml looks like:

production:
  database: dashboard
  username: X
  password: Y
  encoding: utf8
  adapter: mysql


Mysql databases has the correct tables;

mysql> show tables
    -> ;
+------------------------------+
| Tables_in_dashboard          |
+------------------------------+
| delayed_job_failures         |
| delayed_jobs                 |
[...]
| timeline_events              |
+------------------------------+
18 rows in set (0.00 sec)

Puppet.conf at master:

[master]
[...]
    reports = http, store
    reporturl = http://puppet-server-alias.domain.com:3000/reports/upload

and clients have reports enabled (but they run puppet 2.6.X).


I can see reports in the master:

# ls -lsa /var/lib/puppet/reports/
Display all 101 possibilities? (y or n)



Could someone help me to find what I''m missing in this conf?


TIA,
Arnau