Bug 1322786 - [z-stream clone - 3.6.5] RHEVH-H TUI configure host alias instead of host FQDN
Summary: [z-stream clone - 3.6.5] RHEVH-H TUI configure host alias instead of host FQDN
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.6.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-3.6.5
: 3.6.5
Assignee: Ryan Barry
QA Contact: wanghui
URL:
Whiteboard:
Depends On: 1318992
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-31 10:44 UTC by rhev-integ
Modified: 2019-12-16 05:35 UTC (History)
15 users (show)

Fixed In Version: ovirt-node-3.6.1-12.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 1318992
Environment:
Last Closed: 2016-04-20 16:24:39 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2203801 0 None None None 2016-03-31 10:44:54 UTC
Red Hat Knowledge Base (Solution) 2203861 0 None None None 2016-03-31 10:44:54 UTC
Red Hat Product Errata RHBA-2016:0664 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update for RHEV 3.6.5 2016-04-20 20:23:40 UTC
oVirt gerrit 55487 0 None None None 2016-04-06 04:08:36 UTC

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


Note You need to log in before you can comment on or make changes to this bug.