My Oracle Support Banner

On OVM 3.3.2 Guest Migration Fails and xm list command shows ID as Domain-Unnamed (Doc ID 1996517.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle VM - Version 3.3.2 and later
Linux x86-64

Symptoms

On OVM 3.3.2 live migration of a guest machine fails with no response from guest and "xm list" command shows the guest as 'Domain-Unnamed'. The same behavior is observed on OVM 3.2.9 version too.

The AdminServer.log shows the below error where its says the the resource is busy.  

OVMAPI_5001E Job: 1427708006332/Migrate Vm: Oracle Linux Desktop to Server: ovs-XXX.domain.local/Migrate Vm: Oracle Linux Desktop to Server: ovs-XXX.domain.local, failed. Job Failure Event: 1427708010737/Server Async Command Failed/OVMEVT_00C014D_001 Async command failed on server: ovs-XXX1.domain.local. Object: Oracle Linux Desktop, PID: 9140, Server error: Command: ['xm', 'migrate', '--live', '0004fb00000600000c180c59a18a91ac', '172.XX.XX.15'] failed (1): stderr: Error: 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. , on server: ovs-XXX1.domain.local, associated with object: 0004fb00000600000c180c59a18a91ac [Mon Mar 30 12:33:31 EEST 2015]

OVMAPI_6000E Internal Error: OVMAPI_5001E Job: 1426084615911/Migrate Vm: idm-db to Server: ovs-XXX.domain.local/Migrate Vm: idm-db to Server: ovs-XXX.domain.local, failed. Job Failure Event: 1426084760985/Job Failed to Complete/Due to Event vm.error.migration. summary: Virtual Machine Migrate Failed, on server: NULL, associated with object: [Wed Mar 11 16:39:20 EET 2015] [Wed Mar 11 16:39:51 EET 2015] 

xend.log shows:  

[2015-03-11 16:41:51 3766] DEBUG (XendDomainInfo:1812) Storing domain details: {'console/ring-ref': '59594455', 'image/entry': '18446744071589159440', 'console/port': '2', 'cpu/3/availability': 'online', 'store/ring-ref': '59594456', 'image/loader': 'generic', 'image/features/writable-page-tables': '0', 'vm': '/vm/0004fb00-0006-0000-c26b-c0ec8d089cc2', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'linux', 'cpu/1/availability': 'online', 'cpu/7/availability': 'offline', 'image/virt-base': '18446744071562067968', 'memory/target': '16777216', 'image/guest-version': '2.6', 'control/platform-feature-xs_reset_watches': '1', 'image/pae-mode': 'yes', 'description': '', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '18446744071578849280', 'cpu/2/availability': 'online', 'image/suspend-cancel': '1', 'cpu/5/availability': 'offline', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'cpu/6/availability': 'offline', 'console/type': 'ioemu', 'image/supported-features': '2049', 'name': '0004fb0000060000c26bc0ec8d089cc2', 'domid': '27', 'cpu/4/availability': 'offline', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2015-03-11 16:41:51 3766] INFO (XendDomainInfo:2096) Domain has shutdown: name=Domain-Unnamed id=12 reason=suspend.
[2015-03-11 16:41:52 3766] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/27/0'} to /local/domain/27/device/console/0.
[2015-03-11 16:41:52 3766] DEBUG (DevController:97) DevController: writing {'domain': '0004fb0000060000c26bc0ec8d089cc2', 'frontend': '/local/domain/27/device/console/0', 'uuid': '780f374d-8998-ab19-4ed1-a5005f46f39b', 'frontend-id': '27', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/27/0.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices tap2.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices vif.
[2015-03-11 16:41:52 3766] DEBUG (DevController:144) Waiting for 0.
[2015-03-11 16:41:52 3766] DEBUG (XendDomainInfo:1899) XendDomainInfo.handleShutdownWatch
[2015-03-11 16:41:52 3766] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/27/0/hotplug-status.
[2015-03-11 16:41:52 3766] DEBUG (DevController:642) hotplugStatusCallback 1.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices vkbd.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices ioports.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices tap.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices vif2.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices console.
[2015-03-11 16:41:52 3766] DEBUG (DevController:144) Waiting for 0.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices vscsi.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices vbd.
[2015-03-11 16:41:52 3766] DEBUG (DevController:144) Waiting for 51712.
[2015-03-11 16:41:52 3766] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/27/51712/hotplug-status.
[2015-03-11 16:41:52 3766] DEBUG (DevController:642) hotplugStatusCallback 1.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices irq.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices vfb.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices pci.
[2015-03-11 16:41:52 3766] DEBUG (DevController:139) Waiting for devices vusb.
[2015-03-11 16:41:52 3766] INFO (XendDomain:1226) Domain 0004fb0000060000c26bc0ec8d089cc2 (27) unpaused.
[2015-03-11 16:41:59 3766] INFO (XendDomainInfo:2096) Domain has shutdown: name=Domain-Unnamed id=12 reason=suspend.
[2015-03-11 16:45:28 3766] ERROR (xmlrpclib2:181) Internal error handling xend.domain.sched_credit_get
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/xen/util/xmlrpclib2.py", line 134, in _marshaled_dispatch
response = self._dispatch(method, params)
File "/usr/lib64/python2.6/SimpleXMLRPCServer.py", line 418, in _dispatch
return func(*params)
File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 1729, in domain_sched_credit_get
return {'weight' : dominfo.getWeight(),
File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2025, in getWeight
return self.info['vcpus_params']['weight']
KeyError: 'weight 

xm list shows Domain-Unnamed:

# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 6143 20 r----- 343.0
Domain-Unnamed 1 4099 2 --ps-- 13.9

 

Changes

The environment is upgraded to the OVM 3.3.2 environment.

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
Changes
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.