Foreman not Consuming Reports

I'm trying to setup Foreman on my system, I've already had
puppetmaster and puppet dashboard running before. It looks like
Foreman doesn't like how I've configured the puppetmaster reporting to
it. I'm getting the following error in the Foreman production.log
file:

Processing ReportsController#upload (for 127.0.0.1 at 2012-01-12
09:54:22) [POST]
Parameters: {"action"=>"upload", "controller"=>"reports"}
No action responded to upload. Actions: auto_complete_search, create,
destroy, index, invalid_search_query, show, and welcome

Rendering template within layouts/application
Rendering common/500 (500)

What I'm running:
Ubuntu Maverick
ii foreman
0.4.1-1 Systems management web interface
ii foreman-mysql
0.4.1-1 metapackage providing MySQL
dependencies for Foreman
ii foreman-proxy
0.3.1-1 RESTful proxies for DNS, DHCP,
TFTP, and Puppet

I copied /usr/share/foreman/extras/puppet/foreman/templates/foreman-
report.rb.erb to /usr/lib/ruby/1.8/puppet/reports/foreman.rb so I'm
not sure what gives. I also set "reports=log, foreman" in
puppet.conf. I'm pretty sure the problem is on the Foreman side since
it seems to be getting something, can someone at least confirm that?
Thanks.

> I'm trying to setup Foreman on my system, I've already had
> puppetmaster and puppet dashboard running before. It looks like
> Foreman doesn't like how I've configured the puppetmaster reporting to
> it. I'm getting the following error in the Foreman production.log
> file:
>
> Processing ReportsController#upload (for 127.0.0.1 at 2012-01-12
> 09:54:22) [POST]
> Parameters: {"action"=>"upload", "controller"=>"reports"}
> No action responded to upload. Actions: auto_complete_search, create,
> destroy, index, invalid_search_query, show, and welcome
>
> Rendering template within layouts/application
> Rendering common/500 (500)
>
>
> What I'm running:
> Ubuntu Maverick
> ii foreman
> 0.4.1-1 Systems management web interface
> ii foreman-mysql
> 0.4.1-1 metapackage providing MySQL
> dependencies for Foreman
> ii foreman-proxy
> 0.3.1-1 RESTful proxies for DNS, DHCP,
> TFTP, and Puppet
>
> I copied /usr/share/foreman/extras/puppet/foreman/templates/foreman-
> report.rb.erb to /usr/lib/ruby/1.8/puppet/reports/foreman.rb so I'm
> not sure what gives. I also set "reports=log, foreman" in
> puppet.conf. I'm pretty sure the problem is on the Foreman side since
> it seems to be getting something, can someone at least confirm that?
> Thanks.

the report file you are using is wrong, are you using the dashboard
report file? the keyword upload is not part of foreman…

Ohad

··· On Thu, Jan 12, 2012 at 6:06 PM, Neil M. wrote: > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en. >

Whoops. Thanks for the pointer. It turns out I still had the old
report setting in [master] and that was overriding the new one!

Neil

··· On 1/13/2012 6:47 AM, Ohad Levy wrote: > On Thu, Jan 12, 2012 at 6:06 PM, Neil M. wrote: >> I'm trying to setup Foreman on my system, I've already had >> puppetmaster and puppet dashboard running before. It looks like >> Foreman doesn't like how I've configured the puppetmaster reporting to >> it. I'm getting the following error in the Foreman production.log >> file: >> >> Processing ReportsController#upload (for 127.0.0.1 at 2012-01-12 >> 09:54:22) [POST] >> Parameters: {"action"=>"upload", "controller"=>"reports"} >> No action responded to upload. Actions: auto_complete_search, create, >> destroy, index, invalid_search_query, show, and welcome >> >> Rendering template within layouts/application >> Rendering common/500 (500) >> >> >> What I'm running: >> Ubuntu Maverick >> ii foreman >> 0.4.1-1 Systems management web interface >> ii foreman-mysql >> 0.4.1-1 metapackage providing MySQL >> dependencies for Foreman >> ii foreman-proxy >> 0.3.1-1 RESTful proxies for DNS, DHCP, >> TFTP, and Puppet >> >> I copied /usr/share/foreman/extras/puppet/foreman/templates/foreman- >> report.rb.erb to /usr/lib/ruby/1.8/puppet/reports/foreman.rb so I'm >> not sure what gives. I also set "reports=log, foreman" in >> puppet.conf. I'm pretty sure the problem is on the Foreman side since >> it seems to be getting something, can someone at least confirm that? >> Thanks. > > the report file you are using is wrong, are you using the dashboard > report file? the keyword upload is not part of foreman.. > > Ohad >> >> -- >> You received this message because you are subscribed to the Google Groups "Foreman users" group. >> To post to this group, send email to foreman-users@googlegroups.com. >> To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. >> For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en. >> >