-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HostOS] [4.17] Migration fails with "error: unable to connect to server at 'ltc-fire4:49152': Connection timed out" #17
Comments
target var/log/message during failure: |
Resolving the IP address was successful only after adding the hostname and its IP address mapped in /etc/hosts but virsh could not resolve automatically it through DNS.
But this connection timeout error occurred after the entry for hostname IP mapped in /etc/hosts and the MultiVM migration with stress was triggered in parallel threads, Test setup:
|
libvirtd debug log: |
------- Comment From [email protected] 2018-07-03 06:41:00 EDT------- > here I have two issues, source and target /etc/resollv.conf doesn't have 'aus.stglabs.ibm.com' search aus.stglabs.ibm.com ------- Comment From [email protected] 2018-07-03 06:42:11 EDT------- root@pkvmhab008 ~]# cat /etc/resolv.conf Generated by NetworkManagersearch pok.stglabs.ibm.com nameserver 9.3.1.200 [root@pkvmhab008 ~]# cat /etc/hosts [root@pkvmhab008 ~]# ping -c 2 ltc-fire4 --- ltc-fire4.aus.stglabs.ibm.com ping statistics --- ------- Comment From [email protected] 2018-07-03 06:45:01 EDT------- >> error: unable to connect to server at 'ltc-fire4:49152': Connection timed out Let know if you are still seeing issue 2 with /etc/resolv.conf fixed and |
------- Comment From [email protected] 2018-07-03 09:25:07 EDT------- I observed core issue 2 and submitted the Bugzilla only after ensuring virsh could able to resolve the IP and ping test is working fine before migration. Because the test will run multiple migration scenarios with same environment and it went fine. I have reported the issue 1 to let know developers about it and get inputs whether it is how libvirt is designed or we have to consider it as a separate issue. |
------- Comment From [email protected] 2018-07-04 02:24:01 EDT------- As commented before, /etc/resolv.conf wasn't configured correctly and thus Hi Shiva, Can you please look into it ? |
------- Comment From [email protected] 2018-09-14 12:48:27 EDT------- |
cde:info Mirrored with LTC bug https://bugzilla.linux.ibm.com/show_bug.cgi?id=169385 </cde:info>
Migration fails Libvirt fails to resolve the hostname even though IP address is used in the migration commandline, additionally DNS is configured appropriately in resolv.conf where Libvirt even fails to retrieve it.
Migration fails with "error: unable to connect to server at 'ltc-fire4:49152': Connection timed out"
/var/log/messages in the target host have the log of it
System configuration:
The text was updated successfully, but these errors were encountered: