Hi Ryan, Because I didn't find any patch for this issue. So I need to ask you which part has been fixed in this bug. Then we can verified this issue according to the fix. Thanks, Hui Wang
Added. Not sure why the bot didn't catch it. The order in /etc/hosts should now be: 127.0.0.1 $set_hostname localhost ... hostname -f should work
According to comment#3, check the hostname after setup in TUI. [root@testhe admin]# cat /etc/hosts 127.0.0.1 localhost.localdomain testhe.redhat.com localhost localhost.localdomain ::1 localhost6.localdomain6 localhost6 [root@testhe admin]# hostname -f localhost.localdomain $set_hostname is not the first one. Hey Ryan, Can you pls help to have look about this issue? Thanks. Hui Wang
I just checked -- The python here works ok, but it appears that it may be an augeas problem... I'll investigate on a running system, but I'm dropping this from the errata for now.
Test Version: rhevh-7.2-20160413.0.el7ev ovirt-node-3.6.1-12.0.el7ev.noarch Test steps: 1. Setup hostname in TUI 2. check /etc/hosts 3. #hostname -f Test result: 1. # cat /etc/hosts 127.0.0.1 test.redhat.com localhost localhost.localdomain ::1 localhost6.localdomain6 localhost6 2. # hostname -f test.redhat.com So this issue is fixed as comment#3 said.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0664.html