Project

General

Profile

Actions

Bug #7570

closed

Bug #7031: Inventory <FQDN> content differs from hostname --fqdn and may lead to unauthorised nodes

If RUDDER_HOSTNAME is localhost we should fallback to FQDN

Added by Benoît PECCATTE almost 9 years ago. Updated over 8 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When the hostname command fails RUDDER_HOSTNAME may be absent, empty or 'localhost'.
We currently fall back to FQDN only when it is absent. We should fall back on other cases too.

We can since since #7568 FQDN should be properly filled.

Later we should consider making it the default value.

Actions

Also available in: Atom PDF