Project

General

Profile

Actions

Bug #8230

closed

New host form errors after validation error

Added by Thomas McKay over 9 years ago. Updated about 8 years ago.

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

Description

While attempting to create a new host on Sat-6.0.4, I entered a Name "thomasmckay-sam" that had already been taken; proper validation red error box appeared. I then changed the name to "rpi-sam" in the form to a unique one and submitted again. The following appeared

Failed to create a compute rhevm1.satellite.lab.eng.rdu2.redhat.com (RHEV) instance rpi-sam.released-el7.satellite.lab.eng.rdu2.redhat.com: Name must be formed of alphanumeric characters, numbers or "-_.".

This leads, of course, to a situation where the entire new form must be reloaded and all values re-entered. After that the "rpi-sam" name works fine.

Actions #1

Updated by Thomas McKay over 9 years ago

  • Bugzilla link set to 1159304
Actions #2

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Need more information

Please provide logs, and/or foreman-debug from the time of the host creation requests.

Actions #3

Updated by Anonymous over 9 years ago

foreman-debug-h9lqo.tar.xz is the debug file name

Actions #4

Updated by Dominic Cleal over 9 years ago

"interfaces_attributes"=>{"new_interfaces"=>{"name"=>"", "network"=>"d846e2ca-b581-4725-aa5a-694481ac5181", "_delete"=>""}, "0"=>{"name"=>"Raspberry Pi - released el7", "network"=>"68ca82ba-6256-4cdf-8772-6c9db1c20377", "_delete"=>""}},

suggests you've entered an invalid name in the interfaces field under the VM tab, so RHEV is rejecting it. Try using the valid characters that it suggests, no spaces.

Actions #5

Updated by Tomer Brisker about 8 years ago

  • Status changed from Need more information to Rejected

Could not reproduce in current version.
Discussion above indicates problem might not be related to the original validation error but rather to a bad name given to an interface which was rejected by rhev.
Rejecting.

Actions

Also available in: Atom PDF