Arnau Bria
2012-Mar-13 13:37 UTC
[Puppet Users] puppet-dashboard running on puppet-server (SL6)
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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.
Peter Bukowinski
2012-Mar-13 14:20 UTC
Re: [Puppet Users] puppet-dashboard running on puppet-server (SL6)
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 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.
Arnau Bria
2012-Mar-13 14:59 UTC
Re: [Puppet Users] puppet-dashboard running on puppet-server (SL6)
On Tue, 13 Mar 2012 10:20:37 -0400 Peter Bukowinski wrote: Hi Peter,> This is documented here: > http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workersThanks a lot, I can''t figure out how I did not see that part of the doc. Cheers, Arnau -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.