Project

General

Profile

Bug #17721

systems where 'hostname -f' returns an error fails registration

Added by Justin Sherrill over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Client/Agent
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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.

Associated revisions

Revision 1544376d (diff)
Added by Justin Sherrill over 5 years ago

Fixes #17721 - check for fqdn before adding custom fact

Revision 97ed1a06
Added by Justin Sherrill over 5 years ago

Merge pull request #116 from jlsherrill/17721

Fixes #17721 - check for fqdn before adding custom fact

Revision c5d967fc (diff)
Added by Justin Sherrill over 5 years ago

Fixes #17721 - ignore blank facts for hostname registration

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

#6 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) set to 214

Also available in: Atom PDF