Project

General

Profile

Actions

Bug #1196

closed

show FQDN in the hosts listing to prevent misunderstanding

Added by Gustavo Soares over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

show FQDN hostname in the hosts listing to prevent misunderstanding from the operator.

Patch:

https://github.com/gustavosoares/foreman/commit/f76cce98de94a8953df1599455a4b07c8cd6ee61

Actions #1

Updated by Ohad Levy over 12 years ago

A long time ago there was a requirement to remove the fqdn from the list, I guess we can try to figure out how many domains we have in the list, and if we have only one, we can keep the shortname, otherwise have the fqdn.. what do you think?

Actions #2

Updated by Gustavo Soares over 12 years ago

Ohad Levy wrote:

A long time ago there was a requirement to remove the fqdn from the list, I guess we can try to figure out how many domains we have in the list, and if we have only one, we can keep the shortname, otherwise have the fqdn.. what do you think?

I don't know if it is a particular behaviour of my puppet instalation or maybe misconfigureted file that I don't remember, but when adding a new host in Foreman it must be configured using fqdn. Because of that, some operators (and early adopters) get confused.. because in host's listing the hosts will be WITHOUT fqdn, but when they configure a new host they must input the hostname WITH fqdn.

IMHO, it would just be matter of let the operator infer how the information should be inputed.

what do you think? :)

Actions #3

Updated by Ohad Levy over 12 years ago

Gustavo Soares wrote:

Ohad Levy wrote:

A long time ago there was a requirement to remove the fqdn from the list, I guess we can try to figure out how many domains we have in the list, and if we have only one, we can keep the shortname, otherwise have the fqdn.. what do you think?

I don't know if it is a particular behaviour of my puppet instalation or maybe misconfigureted file that I don't remember, but when adding a new host in Foreman it must be configured using fqdn. Because of that, some operators (and early adopters) get confused.. because in host's listing the hosts will be WITHOUT fqdn, but when they configure a new host they must input the hostname WITH fqdn.

IMHO, it would just be matter of let the operator infer how the information should be inputed.

what do you think? :)

You are correct, when foreman runs without unattended mode (e.g. provisioning) enabled, then you don't see the dropdown for a domain.

in that mode, foreman would take the hostname + domain and build the fqdn (if its in short form).

Actions #4

Updated by Joshua Hoblitt over 12 years ago

I'm on 0.4rc4 and I find the behavior of the fqdn box very confusing. Every time I edited any host parameter it would revert from the fqdn to just the local name when I clicked submit, through an error, and force me to reenter the fqdn, and resubmit. If you edited the host again, the fqdn had reverted. It was also writing provisioning templates with the short name. I just finally figured out that it was taking the puppet master fqdn from the smart proxy in use (which I had specified using a local name). In fact, no mater what value I input as the puppet master fqdn, it reverts to the hostname of the smart-proxy. This field needs to be either removed or made non-editable when you've selected a smart proxy that manages puppet.

Actions #5

Updated by Ohad Levy over 12 years ago

  • Target version set to 0.4
Actions #6

Updated by Ohad Levy over 12 years ago

  • Category set to Web Interface
  • Assignee set to Amos Benari
Actions #7

Updated by Amos Benari over 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF