Bug 1322786

Summary: [z-stream clone - 3.6.5] RHEVH-H TUI configure host alias instead of host FQDN
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: wanghui <huiwa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.6.3CC: cshao, fdeutsch, gchakkar, gklein, huiwa, leiwang, lsurette, mgoldboi, mkalinin, nsednev, rbarry, rhodain, stirabos, ycui, ykaul
Target Milestone: ovirt-3.6.5Keywords: ZStream
Target Release: 3.6.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-3.6.1-12.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1318992 Environment:
Last Closed: 2016-04-20 16:24:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1318992    
Bug Blocks:    

Comment 2 wanghui 2016-04-06 02:55:55 UTC
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

Comment 3 Ryan Barry 2016-04-06 04:08:37 UTC
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

Comment 4 wanghui 2016-04-06 06:22:51 UTC
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

Comment 5 Ryan Barry 2016-04-06 13:41:00 UTC
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.

Comment 8 wanghui 2016-04-14 08:52:11 UTC
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.

Comment 11 errata-xmlrpc 2016-04-20 16:24:39 UTC
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