Hi Team,
We are calling virDomainShutdown() API for shutting the VM. Sometime we see, this API is failing because of 'unknown' reason. It took almost 15 secs to bringdown the VM and at last failed. And the domain goes into shut off state. You can find the time stamp in below log. Could you please let us know in which case this API can fail, how to fix/debug this issue ? We are running 1.0.2 libvirtd version.

===========
20.53.48.532818176:  Shuting down domain...
20.54.03.539286528: Failure of libvirt library call:   Code: internal error
  Context: None
  Message: An error occurred, but the cause is unknown
  Level: ERROR
20.54.03.539291392: virDomainShutdown() call returned error -1 for CP—3
============

===========
[host:/var/log/libvirt/qemu]$ virsh list --all
 Id    Name                           State
----------------------------------------------------
 -    CP--3               shut off
===========

============
[host:/var/log/libvirt/qemu]$

[host:/var/log/libvirt/qemu]$ libvirtd --version
libvirtd (libvirt) 1.0.2
[host:/var/log/libvirt/qemu]$
============




Regards
Ritesh Sharma