Project

General

Profile

Actions

Bug #19989

closed

cannot edit hosts with names starting with "new"

Added by Daniel Kraemer over 7 years ago. Updated over 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi, we are running Foreman 1.14.2

I just tried to edit a host named newsletter.dev.solutetech.net and when i hit the submit button i get the error:
"The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved."

The corresponding logs:

2017-06-13T07:47:51 6ce0cd20 [app] [I] Started PATCH "/hostssletter.dev.solutetech.net/edit" for 10.42.64.24 at 2017-06-13 07:47:51 +0000
2017-06-13T07:47:51 6ce0cd20 [app] [F] 
 | ActionController::RoutingError (No route matches [PATCH] "/hostssletter.dev.solutetech.net/edit"):
 |   lib/middleware/tagged_logging.rb:18:in `call'
 | 
 | 

I was able to reproduce this behavior with several hosts, all names began with "new":

user@foreman01:/var/log/foreman$ grep -F '[PATCH]'  production.log
 | ActionController::RoutingError (No route matches [PATCH] "/hostssletterfe.staging.solutetech.net/edit"):
 | ActionController::RoutingError (No route matches [PATCH] "/hostssletter.dev.solutetech.net/edit"):
 | ActionController::RoutingError (No route matches [PATCH] "/hostssletter.dev.solutetech.net/edit"):
 | ActionController::RoutingError (No route matches [PATCH] "/hosts1.dev.solutetech.net/edit"):
 | ActionController::RoutingError (No route matches [PATCH] "/hostssletter.dev.solutetech.net/edit"):
 | ActionController::RoutingError (No route matches [PATCH] "/hostssletter.dev.solutetech.net/edit"):

I'm not aware if you have a template for this kind of ticket. I hope you got all information you need.


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Feature #18064: Ability to import and provision existing VMsClosedTimo Goebel01/13/2017Actions
Actions

Also available in: Atom PDF