Project

General

Profile

Actions

Bug #13322

closed

Impossible to select OS and media on discovered hosts

Added by Daniel Lobato Garcia about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

config/routes.rb matches hosts#architecture_selected and other routes as GET. These routes are POST in Foreman core, so when javascript contacts 'GET architecture_selected_discovered_hosts', Foreman 404s.
The solution is simple, just actually match the requests as POST. I am guessing this worked before Rails 4 because it used the method of the matched route.

I'd say this one is important as currently provisioning a discovered system isn't possible unless you select a hostgroup with the OS/media/etc.


Related issues 1 (0 open1 closed)

Related to Discovery - Bug #16750: *_selected methods expect params[:host] to existClosedDaniel Lobato Garcia09/30/2016Actions
Actions

Also available in: Atom PDF