qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Could not transaction encrypted image
@ 2019-09-06  2:28 18781374080
  0 siblings, 0 replies; 2+ messages in thread
From: 18781374080 @ 2019-09-06  2:28 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1523 bytes --]



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", 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
|
|
18781374080@163.com
|
签名由网易邮箱大师定制

[-- Attachment #2: 85a830792360212f133268996e17a74.png --]
[-- Type: image/png, Size: 30275 bytes --]

[-- Attachment #3: 5e4514a7fc3d48fddc1caad1ee2322b.png --]
[-- Type: image/png, Size: 18479 bytes --]

[-- Attachment #4: df143eeeb8dfb530349984abbf7493e.png --]
[-- Type: image/png, Size: 14078 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] Could not transaction encrypted image
@ 2019-09-06  3:47 18781374080
  0 siblings, 0 replies; 2+ messages in thread
From: 18781374080 @ 2019-09-06  3:47 UTC (permalink / raw)
  To: qemu-devel



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
|
|
18781374080@163.com
|
签名由网易邮箱大师定制

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-06  3:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06  2:28 [Qemu-devel] Could not transaction encrypted image 18781374080
2019-09-06  3:47 18781374080

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).