Hi there, I installed puppet-dashboard, which works just fine, and trying to activate *inventory-services *but get this error on the agent: err: Could not retrieve catalog from remote server: Error 400 on SERVER:> Please install the mysql adapter: `gem install activerecord-mysql-adapter` > (Could not find RubyGem mysql (~> 2.8.1) >on the master, these are the packages I got installed: [root@sdas puppet-dashboard]# rpm -qa | sort | egrep ''gem|mysql''> mysql-5.1.61-1.el6_2.1.x86_64 > mysql-libs-5.1.61-1.el6_2.1.x86_64 > mysql-server-5.1.61-1.el6_2.1.x86_64 > rubygem-daemon_controller-0.2.6-1.el6.noarch > rubygem-fastthread-1.0.7-2.el6.x86_64 > rubygem-passenger-3.0.12-1.el6.x86_64 > rubygem-passenger-native-3.0.12-1.el6.x86_64 > rubygem-passenger-native-libs-3.0.12-1.el6_1.8.7.352.x86_64 > rubygem-rack-1.1.0-2.el6.noarch > rubygem-rake-0.8.7-2.1.el6.noarch > rubygems-1.3.7-1.el6.noarch > ruby-mysql-2.8.2-1.el6.x86_64 >and the number of installed GEMS: [root@sdas puppet-dashboard]# gem list> > *** LOCAL GEMS *** > > activemodel (3.2.6) > activerecord (3.2.6) > activesupport (3.2.6) > arel (3.0.2) > builder (3.0.0) > daemon_controller (0.2.6) > fastthread (1.0.7) > i18n (0.6.0) > multi_json (1.3.6) > passenger (3.0.12) > rack (1.1.0) > rake (0.8.7) > tzinfo (0.3.33) >anything obvious am I still missing? what''s might be the problem(s)? cheers, San -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/xgcCHRHVfNYJ. 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.
Matthew Burgess
2012-Jun-14 11:01 UTC
Re: [Puppet Users] inventory service in Puppet-dashboard
On Thu, Jun 14, 2012 at 11:47 AM, Sans <r.santanu.das@gmail.com> wrote:>> [root@sdas puppet-dashboard]# gem list >> >> *** LOCAL GEMS *** >> >> activemodel (3.2.6) >> activerecord (3.2.6) >> activesupport (3.2.6) >> arel (3.0.2) >> builder (3.0.0) >> daemon_controller (0.2.6) >> fastthread (1.0.7) >> i18n (0.6.0) >> multi_json (1.3.6) >> passenger (3.0.12) >> rack (1.1.0) >> rake (0.8.7) >> tzinfo (0.3.33) > > > anything obvious am I still missing? what''s might be the problem(s)?You''re missing the mysql rubygem. Regards, Matt.> > cheers, > San > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/xgcCHRHVfNYJ. > 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.
thanks Matt! I got ruby-mysql-2.8.2-1.el6.x86_64 installed - so. it''s not the same thing? Do I have to install that manually to make it work? Cheers!! On Thursday, June 14, 2012 12:01:33 PM UTC+1, Matthew Burgess wrote:> > > You''re missing the mysql rubygem. > > Regards, > > Matt. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/dNtH12abjG8J. 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.
Matthew Burgess
2012-Jun-14 12:37 UTC
Re: [Puppet Users] inventory service in Puppet-dashboard
On Thu, Jun 14, 2012 at 1:10 PM, Sans <r.santanu.das@gmail.com> wrote:> thanks Matt! > I got ruby-mysql-2.8.2-1.el6.x86_64 installed - so. it''s not the same thing? > Do I have to install that manually to make it work? Cheers!!Yeah, they''re different things, I think. Try doing a ''gem install mysql'' assuming you''re on an internet connected host. If not, get hold of the rubygem from http://rubygems.org/gems/mysql and install it via ''gem install --local mysql'' - you''ll need the mysql-devel package installed. Or you could try to find a ready made rubygem-mysql RPM somewhere, but it doesn''t look like EPEL has it yet. Regards, Matt. -- 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 finally managed to do *gem install mysql* and it''s now installed. Although I don''t any error(s) on the agent, but, I get: Could not retrieve facts from inventory service: 403 "Forbidden">error on the browser. I already have this in my auth.conf: path /facts> method find > auth any > allow * >as someone suggested in another forum but I don''t see any inventory data at all. Any idea how do I go around this issue? Cheers, San On Thursday, June 14, 2012 1:37:31 PM UTC+1, Matthew Burgess wrote:> > On Thu, Jun 14, 2012 at 1:10 PM, Sans <r.santanu.das@gmail.com> wrote: > > thanks Matt! > > I got ruby-mysql-2.8.2-1.el6.x86_64 installed - so. it''s not the same > thing? > > Do I have to install that manually to make it work? Cheers!! > > Yeah, they''re different things, I think. > > Try doing a ''gem install mysql'' assuming you''re on an internet connected > host. If not, get hold of the rubygem from > http://rubygems.org/gems/mysql and install it via ''gem install --local > mysql'' - you''ll need the mysql-devel package installed. Or you could > try to find a ready made rubygem-mysql RPM somewhere, but it doesn''t > look like EPEL has it yet. > > Regards, > > Matt. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/sZj9rqOUYBAJ. 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.
Forgot to mention that I''m also seeing these in the syslog: puppet-master[7035]: Denying access: Forbidden request:> dashboard(xx.xxx.xx.xx) access to /facts/xxxx.cloud.com [find] > authenticated at line 99 > puppet-master[7035]: Forbidden request: dashboard(xx.xxx.xx.xx) access to > /facts/xxxx.cloud.com [find] authenticated at line 99 >Any help would be greatly appreciated. Cheers!! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/oRbFR4crq3cJ. 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.
Hi guys, Just wondering, if any one can tell me it it''s a "certificate" related issue. Still can''t find any thing obvious. Cheers!! On Thursday, June 14, 2012 9:57:28 PM UTC+1, Sans wrote:> > Forgot to mention that I''m also seeing these in the syslog: > > puppet-master[7035]: Denying access: Forbidden request: >> dashboard(xx.xxx.xx.xx) access to /facts/xxxx.cloud.com [find] >> authenticated at line 99 >> puppet-master[7035]: Forbidden request: dashboard(xx.xxx.xx.xx) access to >> /facts/xxxx.cloud.com [find] authenticated at line 99 >> > > > Any help would be greatly appreciated. Cheers!! > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/f3bYz6fh6mMJ. 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.
Stefan Heijmans
2012-Jun-15 12:42 UTC
Re: [Puppet Users] inventory service in Puppet-dashboard
Op vrijdag 15 juni 2012 14:30:03 UTC+2 schreef Sans het volgende:> > Hi guys, > > Just wondering, if any one can tell me it it''s a "certificate" related > issue. Still can''t find any thing obvious. Cheers!did you check/follow this page? http://docs.puppetlabs.com/dashboard/inventory_support.html -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/-edERuY9jaYJ. 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.
Yes! That''s the page I followed in the first place. still can''t understand what possibly going wrong. Cheers!! On Friday, June 15, 2012 1:42:03 PM UTC+1, Stefan Heijmans wrote:> > > did you check/follow this page? > http://docs.puppetlabs.com/dashboard/inventory_support.html > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/IzSug7t1dT0J. 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.