Bug #17721
systems where 'hostname -f' returns an error fails registration
Status:
Closed
Priority:
Normal
Assignee:
Category:
Client/Agent
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Description
It is possible to configure a system (potentially only earlier than rhel7).
In such situations registration will fail with 'name cannot be blank'.
The reason is that:
{"network.hostname-override":""}
is written to /etc/rhsm/facts. because 'hostname -f' returns an error.
History
#1
Updated by Justin Sherrill over 5 years ago
- Description updated (diff)
#2
Updated by Justin Sherrill over 5 years ago
- Bugzilla link set to 1405614
#3
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6503 added
#4
Updated by Justin Sherrill over 5 years ago
- Pull request https://github.com/Katello/puppet-certs/pull/116 added
#5
Updated by Justin Sherrill over 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-certs|1544376db06fbe9b73e412758f67b00bd4870915.
#6
Updated by Justin Sherrill over 5 years ago
- Legacy Backlogs Release (now unused) set to 214
Fixes #17721 - check for fqdn before adding custom fact