Project

General

Profile

Actions

Bug #34

closed

Foreman GUI fails on puppet client failure

Added by Moty Lavi over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

I have a Solaris server and I recently added to his puppet.conf "report=true"

I had a problem with my time manifest and for some reason my ntp service on the server got into maintenance mode.

The thing is that it made my Foreman interface not operational . The minute I did "svcadm clear network/ntp" and restarted puppet
forman interface got back to work.

Here is the error log I got in production.log

ActionView::TemplateError (can't convert true into String) on line #11 of vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb:
8:
9: <tr class="record <%= tr_class %>" id="<%= element_row_id(:action => :list, :id => record.id) %>">
10:   <% active_scaffold_config.list.columns.each do |column| %>
11:     <% column_value = get_column_value(record, column) -%>
12:
13:     <td class="<%= column_class(column, column_value) %>" >
14:       <%= record.authorized_for?(:action => :read, :column => column.name) ? render_list_column(column_value, column, record) : '' %>

    app/helpers/hosts_helper.rb:7:in `last_report_column'
    vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb:11
    vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb:10
    vendor/plugins/active_scaffold/frontends/default/views/_list.html.erb:24
    vendor/plugins/active_scaffold/frontends/default/views/list.html.erb:30

Rendering /usr/share/puppet/rack/foreman/public/500.html (500 Internal Server Error)

I think that no client error from all kinds should damage foreman ....

Moty


Files

bad.yaml bad.yaml 1.71 KB yaml report when the service was in maintenance mode Moty Lavi, 09/30/2009 08:43 AM
good.yaml good.yaml 1.38 KB yaml report when service was ok Moty Lavi, 09/30/2009 08:43 AM
Actions

Also available in: Atom PDF