Project

General

Profile

Actions

Bug #1807

closed

Host not found when editing a host

Added by Jason Ashby almost 12 years ago. Updated almost 3 years ago.

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

Description

Foreman 1.0.0
Puppet 2.7.18
Puppetmaster and Foreman are served by Apache Passenger
All are running on the puppetmaster server which is CentOS 6.3

When editing certain hosts (http://foreman.domain.com/hosts/foohost/edit) and then clicking the Submit button, I briefly see:

Host Not Found
Please try to update your request

Then it goes to a blank page that just displays the text "2012" in the very top left corner of the browser. Here is the log of the web request:

Started POST "/hosts/foohost" for 172.22.17.182 at Fri Aug 03 08:30:38 -0400 2012
  Processing by HostsController#update as
  Parameters: {"utf8"=>"รข", "host"=>{"enabled"=>"1", "puppetclass_ids"=>[""], "managed"=>"", "progress_report_id"=>"[FILTERED]", "environment_id"=>"2", "hostgroup_id"=>"2", "model_id"=>"1", "puppet_proxy_id"=>"1", "name"=>"foohost", "comment"=>"", "overwrite"=>"false"}, "authenticity_token"=>"13+RbJb/YmcD/Ux/8RTViLAIaxk2tMjg6B347y2j+FI=", "id"=>"foohost"}
Rendered bookmarks/_list.html.erb (2.4ms)
Rendered bookmarks/_list.html.erb (0.5ms)
Rendered home/_settings.html.erb (8.3ms)
Rendered home/_topbar.rhtml (19.2ms)
Rendered common/404.rhtml within layouts/application (26.6ms)
Completed 404 Not Found in 577ms (Views: 26.9ms | ActiveRecord: 239.0ms)

This happens on certain hosts, but no pattern to it. Let me know if you need more info.

Actions

Also available in: Atom PDF