Project

General

Profile

Actions

Bug #20119

closed

Be more descriptive when validating hostname

Added by Ivan Necas almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Inventory
Target version:
Fixed in Releases:
Found in Releases:

Description

Currently, we validate hostname with a regular expression. If the regular expression
doesn't match, the host name is considred as invalid, printing an info that
name is invalid. In some environments, it's not that uncommon to include
the '_' in the host name, and it's hard to user to figure out what exactly is wrong with
the name.

The new behaviour should be to explicitly mention that the host can't include
`_`, before using the regular expression.

Actions #1

Updated by Ivan Necas almost 7 years ago

  • Subject changed from Be more descriptive when validating hostname to Be more descriptive when validating hostname
  • Target version set to 1.14.2
Actions #2

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4651 added
Actions #3

Updated by Anonymous almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Marek Hulán almost 7 years ago

  • translation missing: en.field_release set to 240
Actions #5

Updated by The Foreman Bot almost 7 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4663 added
Actions

Also available in: Atom PDF