Actions
Bug #19989
closedcannot edit hosts with names starting with "new"
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
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.
Actions