hosted-Engine setup: hostname 'node01.example.com' doesn't uniquely match the interface selected for the management bridge

------=_Part_2_979368253.1467733736034 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I'm trying to install Ovirt 4 on a new set of hosts. During "hosted-engine --deploy" I get the following error: (personal information is replaced with generic placeholders) [ INFO=C2=A0 ] Stage: Setup validation [ ERROR ] Failed to execute stage 'Setup validation': hostname 'node01.example.com' doesn't uniquely match the interface 'ens802f1' selected for the management bridge; it matches also interface with IP set(['192.168.99.10']). Please make sure that the hostname got from the interface for the management network resolves only there. [ INFO=C2=A0 ] Stage: Clean up [ INFO=C2=A0 ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160705144908.conf' [ INFO=C2=A0 ] Stage: Pre-termination [ INFO=C2=A0 ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160705144711-tl98lx.log That IP "192.168.99.10" doesn't resolve to anything, because I haven't added it to the DNS server. It's also not in /etc/hosts. It's just the IP for the storage network that doesn't use DNS at all.
From the log:
2016-07-05 14:49:08 DEBUG otopi.plugins.gr_he_common.network.bridge bridge._get_hostname_from_bridge_if:274 Network info: {'netmask': u'255.255.255.0', 'ipaddr': u'192.168.10.194', 'gateway': u'192.168.10.2'} 2016-07-05 14:49:08 DEBUG otopi.plugins.gr_he_common.network.bridge bridge._get_hostname_from_bridge_if:310 hostname: 'node01.example.com', aliaslist: '[]', ipaddrlist: '['192.168.99.10', '192.168.10.194']' 2016-07-05 14:49:08 DEBUG otopi.context context._executeMethod:142 method exception Traceback (most recent call last): =C2=A0 File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod =C2=A0=C2=A0=C2=A0 method['method']() =C2=A0 File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/network/bridge.py", line 327, in _get_hostname_from_bridge_if =C2=A0=C2=A0=C2=A0 o=3Dother_ip, RuntimeError: hostname 'node01.example.comh' doesn't uniquely match the interface 'ens802f1' selected for the management bridge; it matches also interface with IP set(['192.168.99.10']). Please make sure that the hostname got from the interface for the management network resolves only there. 2016-07-05 14:49:08 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': hostname 'node01.example.com' doesn't uniquely match the interface 'ens802f1' selected for the management bridge; it matches also interface with IP set(['192.168.99.10']). Please make sure that the hostname got from the interface for the management network resolves only there. The output for dig: [root@node01 ~]# dig node01.example.com ; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> node01.example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45269 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;node01.example.com.=C2=A0=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 A ;; ANSWER SECTION: node01.example.com. 3600 IN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 192.168.10.194 ;; AUTHORITY SECTION: example.com=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 900=C2=A0=C2=A0=C2=A0=C2=A0 IN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 NS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dns.example.com. ;; ADDITIONAL SECTION: dns.example.com. 900 IN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 A=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 192.168.10.61 ;; Query time: 3 msec ;; SERVER: 192.168.10.61#53(192.168.10.61) ;; WHEN: Die Jul 05 15:14:48 CEST 2016 ;; MSG SIZE=C2=A0 rcvd: 110 Output for nslookup: [root@node01 ~]# nslookup 192.168.99.10 Server:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 192.168.10.61 Address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 192.168.10.61#53 ** server can't find 10.99.168.192.in-addr.arpa.: NXDOMAIN Why does the setup script think that my hostname resolves to 192.168.99.10=3F ------=_Part_2_979368253.1467733736034 Content-Type: application/pgp-signature; name=signature.asc Content-Transfer-Encoding: 7bit Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: CIPHERMAIL (2.9.0-0) iQIcBAEBCAAGBQJXe9bnAAoJEJ44dql+IcLKeg8P+wXgIuFNS+3GKl5C6eQOFXJk ixC2CA5KYLRVsW618wLxlgke/7tORuu4UJhY01yHlqcv379BitNnDHny03Kw1pf3 J3TijehtphBUbzdPTQmd1olwNM1sdq972YGzAtOalwEKIJEA8jrrryJF1ZdHA81M h38Gl5Xfe8FjJpHhBuAVhjRFhpPEKKrtubeZlolU4qiQ/bc+5KZASfBgUKFDHvW3 GD/QjNcFKlxQYkp8p/qQgURXOhmVNSvJ/6Trvsze4W4ynY2aG/4njYqe7sYo7BQH /Fa+J84lgFZ0EgcCkgXjT0WAG4BBxHV88KVsM2M5TlJcY/gODOyQYudcezG+lDNg AtrUsg/DYfuEjKs1qNTEP5mQsZbfMFQHU2u5R/PcxFvCfXYiHJvRRkNoFeqOL9af plHk0+kW8uxpHJ/ffrDWQGSzE+ByNq3Z891xB4IoEfb1nyW410scC9ykzK5n2Dp9 1BebCDFRPm6owL5qakh25+jJX4UgZO1OhIqAaVc5ebV1WTw0Ww94302sSiQ+q5kY 0jHgIR49G1VEcW05Llps7eZHPARm1KisaIZB5k0vomPHtw9xhVe+X6RdSocKTYZv k9te5abvnl/A0FPoHSIPsWA4/WVhlf6GOu9adrSts3BaSVG5WVdneyWdm0eSX9Ee SkS3MJgj7QmyEg481vF5 =0EhF -----END PGP SIGNATURE----- ------=_Part_2_979368253.1467733736034--

On Tue, Jul 5, 2016 at 5:56 PM, mots <mots@nepu.moe> wrote:
Hello,
I'm trying to install Ovirt 4 on a new set of hosts. During "hosted-engine --deploy" I get the following error: (personal information is replaced with generic placeholders)
[ INFO ] Stage: Setup validation [ ERROR ] Failed to execute stage 'Setup validation': hostname 'node01.example.com' doesn't uniquely match the interface 'ens802f1' selected for the management bridge; it matches also interface with IP set(['192.168.99.10']). Please make sure that the hostname got from the interface for the management network resolves only there. [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160705144908.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and redeploy Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160705144711-tl98lx.log
That IP "192.168.99.10" doesn't resolve to anything, because I haven't added it to the DNS server. It's also not in /etc/hosts. It's just the IP for the storage network that doesn't use DNS at all.
From the log:
2016-07-05 14:49:08 DEBUG otopi.plugins.gr_he_common.network.bridge bridge._get_hostname_from_bridge_if:274 Network info: {'netmask': u'255.255.255.0', 'ipaddr': u'192.168.10.194', 'gateway': u'192.168.10.2'}
Meaning the interface ens802f1 has address 192.168.10.194
2016-07-05 14:49:08 DEBUG otopi.plugins.gr_he_common.network.bridge bridge._get_hostname_from_bridge_if:310 hostname: 'node01.example.com', aliaslist: '[]', ipaddrlist: '['192.168.99.10', '192.168.10.194']'
This is the result of: python -c 'import socket; print(socket.gethostbyaddr("192.168.10.194"));'
2016-07-05 14:49:08 DEBUG otopi.context context._executeMethod:142 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/network/bridge.py", line 327, in _get_hostname_from_bridge_if o=other_ip, RuntimeError: hostname 'node01.example.comh' doesn't uniquely match the interface 'ens802f1' selected for the management bridge; it matches also interface with IP set(['192.168.99.10']). Please make sure that the hostname got from the interface for the management network resolves only there. 2016-07-05 14:49:08 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': hostname 'node01.example.com' doesn't uniquely match the interface 'ens802f1' selected for the management bridge; it matches also interface with IP set(['192.168.99.10']). Please make sure that the hostname got from the interface for the management network resolves only there.
The output for dig:
[root@node01 ~]# dig node01.example.com
; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> node01.example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45269 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;node01.example.com. IN A
;; ANSWER SECTION: node01.example.com. 3600 IN A 192.168.10.194
;; AUTHORITY SECTION: example.com 900 IN NS dns.example.com.
;; ADDITIONAL SECTION: dns.example.com. 900 IN A 192.168.10.61
;; Query time: 3 msec ;; SERVER: 192.168.10.61#53(192.168.10.61) ;; WHEN: Die Jul 05 15:14:48 CEST 2016 ;; MSG SIZE rcvd: 110
Output for nslookup:
[root@node01 ~]# nslookup 192.168.99.10 Server: 192.168.10.61 Address: 192.168.10.61#53
** server can't find 10.99.168.192.in-addr.arpa.: NXDOMAIN
Why does the setup script think that my hostname resolves to 192.168.99.10?
Please run above python command and see for yourself. Perhaps you have other means it uses for name resolution. Check /etc/nsswitch.conf, getent, mdns, /etc/hosts, etc. Best, -- Didi
participants (2)
-
mots
-
Yedidyah Bar David