Bug 1379446

Summary: [RFE] Generated names for host should be disabled by default
Product: Red Hat Satellite Reporter: Perry Gagne <pgagne>
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, dlobatog
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 15:34:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Perry Gagne 2016-09-26 18:48:10 UTC
Description of problem:
It seems Satellite picked up a feature that has been added to foreman to auto-generate suggested names for hosts. This seems like a useful feature, however the names it generates are based on the 100 most common first/last names of people. Here are some examples:

elisa-dostie
emma-dansby
ora-seling

These seem to be odd names for hosts, and could be confusing to customers. 

Version-Release number of selected component (if applicable): Satellite 6.3


How reproducible: All the time


Steps to Reproduce:
1. In the WebUI open the "New Host" dialog

Actual results:
A random name is autogenerated.


Expected results:
No name is generated and the user is expected to supply one.

Additional info:

Comment 1 Brad Buckingham 2016-09-27 18:26:43 UTC
Hi Daniel, It looks like the behavior raised by this bugzilla was introduced upstream by http://projects.theforeman.org/issues/13768.  What are your thoughts regarding the concern being raised?

Comment 2 Daniel Lobato Garcia 2016-12-20 15:34:52 UTC
The random name generator is a feature we meant for to create for 2 things:

1. Save time (when your hosts are cattle, you should not care about names)
2. Provide a default name that links hardware with hosts in Foreman.  The entire rationale is written in https://github.com/lzap/deacon

I do not believe we will be changing the default (we asked a good number of people upstream if you see the PR) and the response was overwhelmingly positive. We do have similar name generators in Openshift and Cloudforms, which can't even be disabled.

This one can be easily disabled with a simple or changed via Administer > Settings - Provisioning tab - "Type of name generator" 

I'll close for the moment, please reopen if you have other concerns