Project

General

Profile

Actions

Bug #30726

closed

Discovery settings 'Hostname_facts' should not be allowed to set empty

Added by Rahul Bajaj over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If settings like hostname_facts and hostname_prefix are set to empty then discovery will fail w/ error:
Exception: Invalid_facts: hash doesn't contain valid value for any of the facts in discovery_hostname

So as per above error, user shouldn't allow to set any of the above setting as "empty", ideally, hostname_facts shouldn't set as empty. On setting it empty, user should get an error message.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #30727: settings_type 'string' should not have empty valueClosedRahul BajajActions
Actions

Also available in: Atom PDF