Project

General

Profile

Actions

Bug #3245

open

Foreman can't report on hosts that has Upercase in its fqdn or certificate.

Added by Donovan Francesco over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
External Nodes
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Using foreman 1.3 and puppet 3.3.1 configured to use ENC.

The client sends the fqdn and foreman picks up the host to certificate match, the frontend displays the hostname as upercase then when you try an edit the host it gives a Host not found error.

Can foreman force all hosts/reports to be lowercase ?

Actions #1

Updated by Benjamin Papillon over 10 years ago

Hello,

I recommend to not have Certname with upercase characters, see http://projects.puppetlabs.com/issues/1168.
Here, for AIX uses, I had to patch facter fqdn to downcase the string before returning it. It was the simplest workaround I found at the time.

Actions #2

Updated by Ohad Levy over 10 years ago

while foreman does not allow to create a new host with upper case char (e.g. via the api/ui) it does allow to import report/facts with that, i suggest we fix that in foreman regardless.

Actions #3

Updated by Donovan Francesco over 10 years ago

Is there a simple fix I can implement for now, until this is fixed long term ? I have about 5 Hosts that I cannot control with Foreman.

Actions

Also available in: Atom PDF