Hi all. I''m unable to integrate puppet dashboard as I keep getting the following error: No report named ''puppet_dashboard'' Relevant configuration (names changed to protect the innocent).. ==== /etc/puppet/puppet.conf [puppetd] libdir=$vardir/lib libdir=/var/www/puppet-dashboard/lib/puppet [puppetmasterd] reports = puppet_dashboard storeconfigs = true dbadapter = mysql dbuser = XXX dbpassword = XXX dbserver = localhost dbsocket = /var/lib/mysql/mysql.sock [user@host /var/lib/puppet/reports]# ls -l puppet_dashboard.rb lrwxrwxrwx 1 root root 56 Nov 1 11:20 puppet_dashboard.rb -> /var/www/ puppet-dashboard/ext/puppet/puppet_dashboard.rb [user@host /var/lib/puppet/reports]# tail /var/log/messages Nov 1 11:20:59 XXX puppetmasterd[1180]: Compiled catalog for XXX in 0.18 seconds Nov 1 11:20:59 XXX puppetmasterd[1180]: No report named ''puppet_dashboard'' -- 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.
On Nov 1, 2010, at 4:27 AM, theirpuppet wrote:> Hi all. I''m unable to integrate puppet dashboard as I keep getting the > following error: No report named ''puppet_dashboard'' > > > Relevant configuration (names changed to protect the innocent).. > > ==== /etc/puppet/puppet.conf > [puppetd] > libdir=$vardir/lib > libdir=/var/www/puppet-dashboard/lib/puppet > > [puppetmasterd] > reports = puppet_dashboard > storeconfigs = true > dbadapter = mysql > dbuser = XXX > dbpassword = XXX > dbserver = localhost > dbsocket = /var/lib/mysql/mysql.sock > > > [user@host /var/lib/puppet/reports]# ls -l puppet_dashboard.rb > lrwxrwxrwx 1 root root 56 Nov 1 11:20 puppet_dashboard.rb -> /var/www/ > puppet-dashboard/ext/puppet/puppet_dashboard.rb > > [user@host /var/lib/puppet/reports]# tail /var/log/messages > Nov 1 11:20:59 XXX puppetmasterd[1180]: Compiled catalog for XXX in > 0.18 seconds > Nov 1 11:20:59 XXX puppetmasterd[1180]: No report named > ''puppet_dashboard''What puppetmaster version? -- 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.
Justin Brehm
2010-Nov-01 17:57 UTC
Re: [Puppet Users] No report named ''puppet_dashboard''
You might want to check your paths again. The example that you sent has two "libdir" set under the [puppetd] section. That could be overwriting your original setting and making the path not valid. -- Justin On Mon, Nov 1, 2010 at 7:27 AM, theirpuppet <theirpuppet@gmail.com> wrote:> Hi all. I''m unable to integrate puppet dashboard as I keep getting the > following error: No report named ''puppet_dashboard'' > > > Relevant configuration (names changed to protect the innocent).. > > ==== /etc/puppet/puppet.conf > [puppetd] > libdir=$vardir/lib > libdir=/var/www/puppet-dashboard/lib/puppet > > [puppetmasterd] > reports = puppet_dashboard > storeconfigs = true > dbadapter = mysql > dbuser = XXX > dbpassword = XXX > dbserver = localhost > dbsocket = /var/lib/mysql/mysql.sock > > > [user@host /var/lib/puppet/reports]# ls -l puppet_dashboard.rb > lrwxrwxrwx 1 root root 56 Nov 1 11:20 puppet_dashboard.rb -> /var/www/ > puppet-dashboard/ext/puppet/puppet_dashboard.rb > > [user@host /var/lib/puppet/reports]# tail /var/log/messages > Nov 1 11:20:59 XXX puppetmasterd[1180]: Compiled catalog for XXX in > 0.18 seconds > Nov 1 11:20:59 XXX puppetmasterd[1180]: No report named > ''puppet_dashboard'' > > -- > 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. > >-- 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.
On Nov 1, 5:22 pm, Patrick <kc7...@gmail.com> wrote:> > What puppetmaster version?thanks, the package is from EPEL # rpm -qi puppet-server Name : puppet-server Relocations: (not relocatable) Version : 0.25.5 Vendor: Fedora Project Release : 1.el5 Build Date: Thu 20 May 2010 03:07:09 PM BST Install Date: Fri 29 Oct 2010 03:17:57 PM BST Build Host: x86-10.phx2.fedoraproject.org Group : System Environment/Base Source RPM: puppet-0.25.5-1.el5.src.rpm Size : 17358 License: GPLv2+ Signature : DSA/SHA1, Thu 20 May 2010 10:44:16 PM BST, Key ID 119cc036217521f6 Packager : Fedora Project URL : http://puppetlabs.com Summary : Server for the puppet system management tool Description : Provides the central puppet server daemon which provides manifests to clients. The server can also function as a certificate authority and file server. -- 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.
On Nov 1, 5:57 pm, Justin Brehm <jhbr...@gmail.com> wrote:> You might want to check your paths again. The example that you sent > has two "libdir" set under the [puppetd] section. That could be > overwriting your original setting and making the path not valid. > > -- > Justin >The libdir issue was documented in a bug report ''3094'' I think. Basically it didn''t support '':'' separation character, but specifying libdir twice was the temp solution until the bug was fixed. The bug report was closed and marked solved, it still didn''t work for me. I have commented out the each libdir setting in turn, but still get the same error message "No report named ''puppet_dashboard''". There must be a way to track it down and find what the correct setting should be. I tried strace, with -f and -v, and grep''ed for lib. Didn''t find anything other than the standard /var/lib/puppet/yaml/node/''host'' and /var/lib/puppet/facts/''host'' -- 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.
I even tried moving the symlink for puppet_dashboard.rb from /var/lib/ puppet/reports to /var/lib/puppet/lib; no change. -- 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.
Igal Koshevoy
2010-Nov-03 16:41 UTC
Re: [Puppet Users] Re: No report named ''puppet_dashboard''
On Wed, Nov 3, 2010 at 9:04 AM, theirpuppet <theirpuppet@gmail.com> wrote:> I''m unable to integrate puppet dashboard as I keep getting the > following error: No report named ''puppet_dashboard'' > [...] > I even tried moving the symlink for puppet_dashboard.rb from /var/lib/ >puppet/reports to /var/lib/puppet/lib; no change.If you `cat` the symlinked file as the `puppet` user, can you see its contents to confirm that your symlink and permissions are correct? Are you sure that you''re putting the file into the right directory? For me, the directory is `/var/lib/puppet/lib/puppet/reports/`. The "Live report aggregation" section of the Puppet Dashboard README describes how to identify the right directory and put the file there: http://github.com/puppetlabs/puppet-dashboard/blob/master/README.markdown If you''re using pluginsync, you may want to look at this ticket for a workaround: http://projects.puppetlabs.com/issues/4345 -igal -- 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.
On Nov 3, 4:41 pm, Igal Koshevoy <i...@pragmaticraft.com> wrote:> On Wed, Nov 3, 2010 at 9:04 AM, theirpuppet <theirpup...@gmail.com> wrote: > > I''m unable to integrate puppet dashboard as I keep getting the > > following error: No report named ''puppet_dashboard'' > > [...] > > I even tried moving the symlink for puppet_dashboard.rb from /var/lib/ > >puppet/reports to /var/lib/puppet/lib; no change. > > If you `cat` the symlinked file as the `puppet` user, can you see its > contents to confirm that your symlink and permissions are correct? Are > you sure that you''re putting the file into the right directory? For > me, the directory is `/var/lib/puppet/lib/puppet/reports/`. The "Live > report aggregation" section of the Puppet Dashboard README describes > how to identify the right directory and put the file there: > http://github.com/puppetlabs/puppet-dashboard/blob/master/README.mark... > > If you''re using pluginsync, you may want to look at this ticket for a > workaround: > http://projects.puppetlabs.com/issues/4345 > > -igalVery good advice and you got me there in the end. Thanks to you and everyone else that helped! The puppet user could definitely read the puppet_dashboard.rb file, even through the symlink. Tried copying the file instead of symlink, no change. Followed the advice at URL 1 (below), cp to site_ruby, still no change. Followed the advice of URL 2 (below), creating reports directory in /var/lib/puppet/lib and copied file there, no good. Followed the advice of URL 3 (below) and used /var/lib/puppet/ lib/puppet/reports, and it worked!!!! URL 1 = http://www.craigdunn.org/2010/08/part-3-installing-puppet-dashboard-on-centos-puppet-2-6-1/ URL 2 http://www.google.com/url?sa=D&q=http://github.com/puppetlabs/puppet-dashboard/blob/master/README.markdown&usg=AFQjCNHr5E3h-Z0J3X8K30ZjF3dT_C1z_g URL 3 = http://projects.puppetlabs.com/issues/4345 -- 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.