[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Could not transaction encrypted image
From: |
18781374080 |
Subject: |
[Qemu-devel] Could not transaction encrypted image |
Date: |
Fri, 6 Sep 2019 11:47:00 +0800 (GMT+08:00) |
hi ,everyone!
I am a newcomer to QEMU, and I don't know if it's a native question
I create snapshots of virtual machines that use encrypted disk, The console
gave me the following error:
2019-09-06 10:13:41,902+0800 ERROR (jsonrpc/0) [virt.vm]
(vmId='ebdb8b82-b8c0-46b1-bb2a-678873d46d2f') Unable to take snapshot (vm:4616)
Traceback(most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py",line 4613, in
snapshot
self._dom,snapshotCreateXML(snapxml, snapFlags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", in line 98,
in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py",
line 130, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, 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 'transaction':
Parameter 'encrypt.key-secret' is required for cipher
I know I need to add encrypt in 'transacton' command. The key - secret
information, through the search after I found the QEMU command is through QMP,
but I don't know how to compile and add the required information。
Any help or reminder is appreciated! thank you!
| |
18781374080
|
|
address@hidden
|
签名由网易邮箱大师定制