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

Peter Bukowinski
Tue, 13 Mar 2012 14:20:37 -0000

On Mar 13, 2012, at 9:37 AM, Arnau Bria wrote:

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

This high number of pending tasks mean the reports are coming in, but the
dashboard workers that ingest the reports are not started. Go into your
dashboard installation directory and run:

 env RAILS_ENV=production script/delayed_job -p dashboard -n 4 -m start

The ''-n 4'' argument is for a four core machine. You should use
a number that matches the number of cores in your own server.

This is documented here:
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workers

--
Peter M. Bukowinski
Sr. Systems Engineer
Janelia Farm Research Campus, HHMI