My Oracle Support Banner

Oracle VM: Live Migration Fails with Error 'can't connect: timed out ' (Doc ID 2520759.1)

Last updated on JUNE 26, 2020

Applies to:

Oracle VM - Version 3.4.4 and later
Information in this document applies to any platform.

Symptoms

When attempting to live migrate VM ,the following errors report in Oracle VM ovs-agent log :

[2019-03-13 23:13:06 17033] DEBUG (base:263) async call complete: func: migrate_vm pid: 17033 status: 1 output: Command: ['xm', 'migrate', '--live', '0004fb0000060000c280efccdba48f36', '<IP ADDR>'] failed (1): stderr: Error: can't connect: timed out
stdout: Usage: xm migrate <Domain> <Host>

Migrate a domain to another machine.

Options:

-h, --help           Print this help.
-l, --live           Use live migration.
-p=portnum, --port=portnum
                    Use specified port for migration.
-n=nodenum, --node=nodenum
                    Use specified NUMA node on target.
-s, --ssl            Use ssl connection for migration.
-c, --change_home_server
                    Change home server for managed domains.
--vmfiles="src:dst,src:dst,..."
                    Files for use with storage migration utility
[2019-03-13 23:13:07 6177] DEBUG (notificationserver:225) sent events: [('{ASYNC_PROC} exit PID 17033', {'status': 1, 'output': 'Command: [\'xm\', \'migrate\', \'--live\', \'0004fb0000060000c280efccdba48f36\', \'<IP>\'] failed (1): stderr: Error: can\'t connect: timed out\n stdout: Usage: xm migrate <Domain> <Host>\n\nMigrate a domain to another machine.\n\nOptions:\n\n-h, --help           Print this help.\n-l, --live           Use live migration.\n-p=portnum, --port=portnum\n                     Use specified port for migration.\n-n=nodenum, --node=nodenum\n                     Use specified NUMA node on target.\n-s, --ssl            Use ssl connection for migration.\n-c, --change_home_server\n                     Change home server for managed domains.\n--vmfiles="src:dst,src:dst,..."\n                     Files for use with storage migration utility\n\n'})]


Error in Oracle VM Manager log:

OVMAPI_6000E Internal Error: OVMAPI_5001E Job: 1552489914917/Migrate VM: XXX to Server: <HOSTNAME>/Migrate VM: XXX to Server: <HOSTNAME>, failed. Job Failure Event: 1552489946249/Server Async Command Failed/OVMEVT_00C014D_001 Async command failed on server: <HOSTNAME>. Object: XXX, PID: 17033, Server error: Command: ['xm', 'migrate', '--live', '0004fb0000060000c280efccdba48f37', '<IP ADDR'] failed (1): stderr: Error: can't connect: timed outstdout: Usage: xm migrate Migrate a domain to another machine. Options: -h, --help Print this help. -l, --live Use live migration. -p=portnum, --port=portnumUse specified port for migration. -n=nodenum, --node=nodenumUse specified NUMA node on target. -s, --ssl Use ssl connection for migration. -c, --change_home_serverChange home server for managed domains. --vmfiles="src:dst,src:dst,..."Files for use with storage migration utility , on server: <HOSTNAME>, associated with object: 0004fb0000060000c280efccdba48f37 [Wed Mar 13 23:12:26 MYT 2019]

 
Port 8002 and 8003 are pingable but can not being connected by nc command :
# nc -zv <IP ADDR> 8002
^C
# nc -zv <IP ADDR> 8003
^C
# ping  <IP ADDR>
PING <IP ADDR>(<IP ADDR>) 56(84) bytes of data.
64 bytes from <IP ADDR>: icmp_seq=1 ttl=63 time=0.095 ms
^C
---  <IP ADDR> ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 30367ms
rtt min/avg/max/mdev = 0.095/0.095/0.095/0.000 ms

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.