Hide Forgot
Created attachment 1205102 [details] HE_error Description of problem: Deploy Hosted-Engine failed through ova with vlan tag. Version-Release number of selected component (if applicable): RHEV-H 7.3-20160923.2.el7ev ovirt-node-3.6.1-20.0.el7ev.noarch ovirt-hosted-engine-ha-1.3.5.8-1.el7ev.noarch ovirt-hosted-engine-setup-1.3.7.3-1.el7ev.noarch rhevm-appliance-20160721.0-1.el7ev.ova How reproducible: 100% Regression bug Keywords: Hosted-Engine Steps to Reproduce: 1.Install RHEVH7.3-3.6.10 2.Setup network with vlan tag 3.File Engine OVA path with remote rhevm ova address 4.Deploy hosted-engine 5.Check hosted-engine Actual results: 1. After step4,an error appeared:cannot automatically add the host to cluster Default.And the details on attachment HE_error. Expected results: 1. Deploy Hosted-engine can successful without error. Additional info: Duo to the bug didn't appear on 0920.1 version,so it is a regression bug.
Created attachment 1205103 [details] var_log,tmp_log,engine_log,sosreport
Can you please provide engine logs?
Created attachment 1205383 [details] engine.log
(In reply to Sandro Bonazzola from comment #4) > Can you please provide engine logs? Hi,Sandro the engine log is on attachment.If have other requests,please comment and reply. Thanks, Yihui
Hi Yihui, Looks like the logs you provided are empty. $ find . -name ovirt-hosted* ./early-logs/ovirt-hosted-engine-ha ./early-logs/ovirt-hosted-engine-setup $ du -sh ./early-logs/ovirt-hosted-engine-setup 0 ./early-logs/ovirt-hosted-engine-setup $ du -sh ./early-logs/ovirt-hosted-engine-ha 0 ./early-logs/ovirt-hosted-engine-ha However, in engine log I see: 2016-09-27 22:35:37,750 ERROR [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (ajp-/127.0.0.1:8702-5) [13f24c7e] Failed to authenticate session with host 'hosted_engine_1': SSH authentication to 'root@localhost' failed. Please verify provided credentials. Make sure key is authorized at host Could you please double check your settings and try a re-deploy setting hostname for the node? Looks like engine is trying to ssh to 'root@localhost' which will make a loop into the engine machine. Both hosts (engine and node) must have fqdn and be able to reach each other. Thanks!
(In reply to Douglas Schilling Landgraf from comment #7) > Hi Yihui, > > Looks like the logs you provided are empty. > > $ find . -name ovirt-hosted* > ./early-logs/ovirt-hosted-engine-ha > ./early-logs/ovirt-hosted-engine-setup > > $ du -sh ./early-logs/ovirt-hosted-engine-setup > 0 ./early-logs/ovirt-hosted-engine-setup > $ du -sh ./early-logs/ovirt-hosted-engine-ha > 0 ./early-logs/ovirt-hosted-engine-ha > > However, in engine log I see: > > 2016-09-27 22:35:37,750 ERROR > [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (ajp-/127.0.0.1:8702-5) > [13f24c7e] Failed to authenticate session with host 'hosted_engine_1': SSH > authentication to 'root@localhost' failed. Please verify provided > credentials. Make sure key is authorized at host > > Could you please double check your settings and try a re-deploy setting > hostname for the node? Looks like engine is trying to ssh to > 'root@localhost' which will make a loop into the engine machine. Both hosts > (engine and node) must have fqdn and be able to reach each other. > > Thanks! Hi Douglas, Thank you for your advice.I will tell you about details. Details: #1.HE-VM(192.168.20.31): /etc/hosts [root@rhca ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.20.27 used 192.168.20.31 rhca.redhat.com [root@rhca ~]# ping used PING used (192.168.20.27) 56(84) bytes of data. 64 bytes from used (192.168.20.27): icmp_seq=1 ttl=64 time=0.109 ms 64 bytes from used (192.168.20.27): icmp_seq=2 ttl=64 time=0.145 ms 64 bytes from used (192.168.20.27): icmp_seq=3 ttl=64 time=0.126 ms 64 bytes from used (192.168.20.27): icmp_seq=4 ttl=64 time=0.117 ms 64 bytes from used (192.168.20.27): icmp_seq=5 ttl=64 time=0.154 ms 64 bytes from used (192.168.20.27): icmp_seq=6 ttl=64 time=0.128 ms ^C --- used ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5681ms rtt min/avg/max/mdev = 0.109/0.129/0.154/0.021 ms #2.RHVH(node)(192.168.20.27) : /etc/hosts [root@localhost ~]# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.20.31 rhca.redhat.com 192.168.20.27 used [root@localhost ~]# ping rhca.redhat.com PING rhca.redhat.com (192.168.20.31) 56(84) bytes of data. 64 bytes from rhca.redhat.com (192.168.20.31): icmp_seq=1 ttl=64 time=0.147 ms 64 bytes from rhca.redhat.com (192.168.20.31): icmp_seq=2 ttl=64 time=0.113 ms 64 bytes from rhca.redhat.com (192.168.20.31): icmp_seq=3 ttl=64 time=0.115 ms --- rhca.redhat.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.113/0.125/0.147/0.015 ms #3.HE-VM fqdn: rhca.redhat.com 192.168.20.31 RHVH node: used 192.168.20.27 #4.Addtional: If deploy the hosted-engine via ova with no vlan tag,it can deploy successfully. Also,if have other requests,please comment or reply.
I would start requesting logs from node side: - In TUI press F2 - Check for: /var/log/ovirt-hosted-engine-setup/*.log Thanks!
Thanks for sharing the resource, as I said in the previous comment, the attached log was empty for the HE but here the findings: From your rhev-h host (you can check now): #1 - Hostname (fqdn) not set. You must be set in the host, not only in /etc/hosts. # hostname localhost #2 - Logging showing that you didn't setup the hostname of host before trigging the hosted-engine setup. See Host Address field: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160928021351-c6nsg2.log: 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND --== CONFIGURATION PREVIEW ==-- 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND Bridge interface : p3p1.20 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND Engine FQDN : rhca.**FILTERED**.com 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND Bridge name : ovirtmgmt 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND Host address : localhost 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND SSH daemon port : 22 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND Firewall manager : iptables 2016-09-28 02:18:29 DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:219 DIALOG:SEND Gateway address : 192.168.20.1 Based on the above, closing the bug for now.