Actions
Feature #1939
openForeman should fail gracefully when it can't reach a compute resource
Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Description
If I try to create a new vm on a compute resource that doesn't exists anymore,
foreman get a 500 error code but not error is displayed to user.
In logs :
Started POST "/hosts/compute_resource_selected" for 127.0.0.1 at 2012-11-14 10:49:58 +0100
Processing by HostsController#compute_resource_selected as
Parameters: {"architecture_id"=>"", "compute_resource_id"=>"28", "operatingsystem_id"=>""}
Rendered compute_resources_vms/form/_ovirt.html.erb (3013.2ms)
Rendered hosts/_compute.html.erb (3454.2ms)
Completed 500 Internal Server Error in 3584ms
ActionView::Template::Error (No route to host - connect(2)):
Actions