Bug #406
closed
Added by Mohamed Lrhazi about 14 years ago.
Updated about 14 years ago.
Description
using foreman-0.1.6-rc1
A report that includes modifications is displayed with the wrong icon /images/true.png
Please see attached screenshots
Files
the error should be logged, can you paste there relevant output from your foreman log?
thanks
- File production.log added
Ohad Levy wrote:
the error should be logged, can you paste there relevant output from your foreman log?
There were no logs at all in production.log
I edited /usr/share/foreman/config/environments/production.rb
an set: config.log_level = :debug
run: sudo /etc/init.d/httpd reload
then logged out, then back in, then clicked Reports.
NO errors showed up. I am attaching the resulting log file.
Thanks.
Mohamed Lrhazi wrote:
Ohad Levy wrote:
the error should be logged, can you paste there relevant output from your foreman log?
There were no logs at all in production.log
I edited /usr/share/foreman/config/environments/production.rb
an set: config.log_level = :debug
run: sudo /etc/init.d/httpd reload
then logged out, then back in, then clicked Reports.
NO errors showed up. I am attaching the resulting log file.
Thanks.
sorry, the error should be written when the report is sent to foreman (e.g. when you run your client)
Ohad Levy wrote:
sorry, the error should be written when the report is sent to foreman (e.g. when you run your client)
I deleted the file under puppet control from the client, rerun puppet, and I did not see an error per say. All I saw was this:
Processing ReportsController#create to yml (for X.Y.245.109 at 2010-10-16 15:40:05) [POST]
Parameters: {"format"=>"yml", "action"=>"create", "controller"=>"reports", "report"=>"[FILTERED]"}
processing report for chapeau.uis.dom.ain
Host Load (0.2ms) SELECT * FROM `hosts` WHERE (`hosts`.`name` = 'chapeau.uis.dom.ain') LIMIT 1
Host Update (2.5ms) UPDATE `hosts` SET `last_report` = '2010-10-16 19:40:03', `updated_at` = '2010-10-16 19:40:05' WHERE `id` = 1
SQL (0.0ms) BEGIN
Report Load (0.2ms) SELECT `reports`.id FROM `reports` WHERE (`reports`.`reported_at` = '2010-10-16 19:40:03' AND `reports`.host_id = 1) LIMIT 1
Report Create (0.3ms) INSERT INTO `reports` (`status`, `updated_at`, `log`, `host_id`, `reported_at`, `created_at`) VALUES
SQL (1.1ms) COMMIT
Completed in 26ms (View: 0, DB: 21) | 200 OK [https://puppet.uis.dom.ain/reports/create?format=yml]
- File deleted (
production.log)
- Status changed from New to Duplicate
What is this a duplicate of?
Thanks a lot.
Mohamed Lrhazi wrote:
What is this a duplicate of?
Thanks a lot.
Please ignore. I just saw it.
Also available in: Atom
PDF