Project

General

Profile

Actions

Feature #1939

open

Foreman should fail gracefully when it can't reach a compute resource

Added by Romain Vrignaud over 11 years ago. Updated over 11 years ago.

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

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 #1

Updated by Sam Kottler over 11 years ago

  • Assignee deleted (Ohad Levy)
Actions

Also available in: Atom PDF