Red Hat Bugzilla – Bug 1272820
Hostname is inconsistent between rhevh and rhevm after auto-install with management_server
Last modified: 2016-02-10 14:17:29 EST
Created attachment 1084237 [details]
screenshot rhevh hostname
Description of problem:
After auto-install with management_server, rhevh register to rhevm successful, but the "Hostname" on rhevh is inconsistent with "name" on rhevm (FYI, screenshot in attach)
Version-Release number of selected component (if applicable):
test 2 times on machine dell-per510-01.qe.lab.eng.nay.redhat.com, both can reproduce.
Steps to Reproduce:
1. Auto install rhev-hypervisor-6-6.7-20151015.1.el6ev with parameters as follows:
storage_init=/dev/sda BOOTIF=em1 management_server=10.66.72.99:443 adminpw=OKr05SbCu3D3g firstboot
2. Check the Hostname on rhevh TUI, check the Name on rhevm.
After step2, the Hostname on rhevh TUI is "dell-per510-01.qe.lab.eng.nay.redhat.com",
the Name on rhevm is "localhost.localdomain".
Hostname on rhevh TUI should be same with the Name on rhevm.
Created attachment 1084238 [details]
screenshot rhevm name
Created attachment 1084239 [details]
log hostname inconsistent
To me this looks like it could be a dupe of bug 1241712
The vdsm-reg log shows that your system registered to RHEVM as hostname: localhost.localdomain.
=== vdsm.reg log ===
MainThread::DEBUG::2015-10-16 07:48:09,497::vdsm-reg-setup::140::root::registerVDS URI= /RHEVManagerWeb/VdsAutoRegistration.aspx?vds_ip=10.66.110.242&__VIEWSTATE=&vds_unique_id=4C4C4544-0058-3810-8033-B2C04F363358_00%3A1b%3A21%3A36%3A79%3Af0&vds_name=localhost.localdomain&ticket=&port=54321
=== vdsm.reg log ===
Could you please share the output of command below?
# cat /proc/sys/kernel/hostname
During my tests with the iso rhev-hypervisor-6-6.7-20151015.1.el6ev the hostname didn't change from localhost.localdomain. It seems we are affect to bz#1241712
Douglas, I tested 4 times on the same machine: dell-per510-01.qe.lab.eng.nay.redhat.com, and 2 times on another machine, but can not reproduce this issue now. When I reported bug, I encountered this issue one more times.
I think this issue is probabilistic/race condition issue，I will lower the severity to low, and reserve for a period of time to see whether it can reproduce.
(In reply to Huijuan Zhao from comment #5)
> Douglas, I tested 4 times on the same machine:
> dell-per510-01.qe.lab.eng.nay.redhat.com, and 2 times on another machine,
> but can not reproduce this issue now. When I reported bug, I encountered
> this issue one more times.
> I think this issue is probabilistic/race condition issue，I will lower the
> severity to low, and reserve for a period of time to see whether it can
I am closing this bug for now, please re-open in case you see it again so we can research. The original bug in platform bz#1241712 was closed today by PM as well.