[libvirt] error: operation failed: domain save job: unexpectedly failed
Michal Privoznik
mprivozn at redhat.com
Tue Jan 2 08:36:47 UTC 2018
On 12/27/2017 11:00 PM, Oscar Segarra wrote:
> Hi,
>
> For any unkown reason the virsh save raises an error in my environment
> Centos 7.2:
>
> [root at vdicnode02 ~]# virsh list
> Id Name State
> ----------------------------------------------------
> 2 vdicsunstone01 running
> 3 one-27 running
>
> [root at vdicnode02 ~]# export LIBVIRT_DEBUG=0
> [root at vdicnode02 ~]# export LIBVIRT_LOG_OUTPUTS="1:file:virsh.log"
> [root at vdicnode02 ~]# virsh --debug 0 --connect qemu:///system save
> one-27 /var/lib/one//datastores/100/27/checkpoint
> save: domain(optdata): one-27
> save: file(optdata): /var/lib/one//datastores/100/27/checkpoint
> save: found option <domain>: one-27
> save: <domain> trying as domain NAME
> save: found option <domain>: one-27
> save: <domain> trying as domain NAME
> error: Failed to save domain one-27 to
> /var/lib/one//datastores/100/27/checkpoint
> error: operation failed: domain save job: unexpectedly failed
Virsh logs are useless. You need to look at domain log which can be
usually found under /var/log/libvirt/qemu/$domain.log. Smells like qemu
was unable to perform some action and thus the whole operation failed.
http://wiki.libvirt.org/page/DebugLogs
Michal
More information about the libvir-list
mailing list