Created attachment 1642320 [details] setup log Description of problem: When using localhost.localdomain as FQDN for my engine, I'm getting a warning that not everything will be working which is fine, but then after confirming firewall configuration I get the same warning 3 additional times. Version-Release number of selected component (if applicable): ovirt-engine-setup-4.4.0-0.6.master.el7.noarch How reproducible: always Steps to Reproduce: 1. install engine on a server without dns resolution 2. confirm localhost.localdomain or localhost as FQDN for engine (or just set it to such) 3. Actual results: warning appears once and then 3 times Expected results: warning appears only once Additional info: --== NETWORK CONFIGURATION ==-- Host fully qualified DNS name of this server [localhost.localdomain]: [WARNING] Failed to resolve localhost.localdomain using DNS, it can be resolved only locally [WARNING] Using the name 'localhost' is not recommended, and may cause problems later on. Are you sure? (Yes, No) [No]: yes Setup can automatically configure the firewall on this system. Note: automatic configuration of the firewall may overwrite current settings. NOTICE: iptables is deprecated and will be removed in future releases Do you want Setup to configure the firewall? (Yes, No) [Yes]: [ INFO ] firewalld will be configured as firewall manager. [WARNING] Using the name 'localhost' is not recommended, and may cause problems later on. [WARNING] Using the name 'localhost' is not recommended, and may cause problems later on. [WARNING] Using the name 'localhost' is not recommended, and may cause problems later on. --== DATABASE CONFIGURATION ==--
The reason that this warning appears 3 more times, is that we use the function that generates it 3 more times - for imageio-proxy, vmconsole-proxy, and websocket-proxy setup plugins. Each of them does its own (duplicate, in this case) tests for the fqdn, which emit this warning. I think it's fine to close, as this is a corner case, harmless, one might even claim desired. Thanks for the report!
Didi, why is this a corner case?
(In reply to Asaf Rachmani from comment #2) > Didi, why is this a corner case? Because people are not supposed to use 'localhost' for the fqdn.
Closing wontfix. localhost shouldn't be used for fqdn on engine.