My Oracle Support Banner

OLVM: Live Snapshot fails with 'Snapshot failed, code = 48' in Nested VMX virtualization (Doc ID 2716121.1)

Last updated on OCTOBER 06, 2020

Applies to:

Linux OS - Version Oracle Linux 7.6 and later
Linux x86-64

Symptoms

When taking a live snapshot with 'save memory', it fails with the below error:

Engine log:

2020-10-01 14:55:58,271+13 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [493ef152-bf97-4fd2-80c4-004d407b06fc] 
Command 'SnapshotVDSCommand(HostName = kvmxxx, SnapshotVDSCommandParameters:{hostId='7a7f7a0b-cd42-4f5a-adcf-8074895bd8f5', vmId='e6359cdb-9c42-4763-b85d-f9d80309a7eb'})' execution failed: 
VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 
2020-10-01 14:55:58,271+13 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [493ef152-bf97-4fd2-80c4-004d407b06fc] FINISH, 
SnapshotVDSCommand, return: , log id: 1fa2821d
2020-10-01 14:55:58,272+13 WARN [org.ovirt.engine.core.bll.snapshots.CreateSnapshotForVmCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [493ef152-bf97-4fd2-80c4-004d407b06fc] Could 
not perform live snapshot due to error, VM will still be configured to the new created snapshot: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: 
VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 
(Failed with error SNAPSHOT_FAILED and code 48)

vdsm.log:

2020-10-01 14:57:56,880+1300 INFO (jsonrpc/4) [virt.vm] (vmId='e6359cdb-9c42-4763-b85d-f9d80309a7eb') Taking a live snapshot (drives=sda, memory=True) (
vm:4502)
2020-10-01 14:57:56,968+1300 ERROR (jsonrpc/4) [virt.vm] (vmId='e6359cdb-9c42-4763-b85d-f9d80309a7eb') Unable to take snapshot (vm:4506)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 4503, in snapshot
self._dom.snapshotCreateXML(snapxml, snapFlags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 100, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 131, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 94, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2620, in snapshotCreateXML
if ret is None:raise libvirtError('virDomainSnapshotCreateXML() failed', dom=self)
libvirtError: internal error: unable to execute QEMU command 'migrate': Nested VMX virtualization does not support live migration yet
2020-10-01 14:57:56,968+1300 INFO (jsonrpc/4) [virt.vm] (vmId='e6359cdb-9c42-4763-b85d-f9d80309a7eb') Enabling drive monitoring (drivemonitor:56)
2020-10-01 14:57:56,968+1300 INFO (jsonrpc/4) [vdsm.api] START teardownImage(sdUUID=u'2a863227-47ef-4b1c-b089-281a8088f0ae', spUUID=u'47b48a02-873c-11e9
-acc0-0021f63fa0ea', imgUUID=u'3d570ae4-a746-4cb4-ba5a-055b69dbe7dc', volUUID=None) from=::ffff:192.168.252.121,41604, flow_id=493ef152-bf97-4fd2-80c4-00
4d407b06fc, task_id=a63fa283-c05d-4cc7-915f-4dda6cfe4553 (api:48)
2020-10-01 14:57:56,969+1300 INFO (jsonrpc/4) [storage.StorageDomain] Removing image rundir link u'/var/run/vdsm/storage/2a863227-47ef-4b1c-b089-281a8088f0ae/3d570ae4-a746-4cb4-ba5a-055b69dbe7dc' (fileSD:592)
2020-10-01 14:57:56,969+1300 INFO (jsonrpc/4) [vdsm.api] FINISH teardownImage return=None from=::ffff:192.168.252.121,41604, flow_id=493ef152-bf97-4fd2-80c4-004d407b06fc, task_id=a63fa283-c05d-4cc7-915f-4dda6cfe4553 (api:54)
2020-10-01 14:57:56,969+1300 INFO (jsonrpc/4) [api.virt] FINISH snapshot return={'status': {'message': 'Snapshot failed', 'code': 48}} from=::ffff:192.168.252.121,41604, flow_id=493ef152-bf97-4fd2-80c4-004d407b06fc, 
vmId=e6359cdb-9c42-4763-b85d-f9d80309a7eb (api:54)
2020-10-01 14:57:56,969+1300 INFO (jsonrpc/4) [jsonrpc.JsonRpcServer] RPC call VM.snapshot failed (error 48) in 0.28 seconds (__init__:312)

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.