<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi Team,</div>
<div>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.</div>
<div><br>
</div>
<div>
<div>===========</div>
<div>20.53.48.532818176:  Shuting down domain...</div>
<div>20.54.03.539286528: Failure of libvirt library call:   Code: internal error</div>
<div>  Context: None</div>
<div>  Message: An error occurred, but the cause is unknown</div>
<div>  Level: ERROR</div>
<div>20.54.03.539291392: virDomainShutdown() call returned error -1 for CP—3</div>
</div>
<div>============</div>
<div><br>
</div>
<div>===========</div>
<div>
<div>[host:/var/log/libvirt/qemu]$ virsh list --all</div>
<div> Id    Name                           State</div>
<div>----------------------------------------------------</div>
<div> -    CP--3               shut off</div>
<div>===========</div>
<div><br>
</div>
<div>============</div>
<div>[host:/var/log/libvirt/qemu]$</div>
</div>
<div><br>
</div>
<div>
<div>[host:/var/log/libvirt/qemu]$ libvirtd --version</div>
<div>libvirtd (libvirt) 1.0.2</div>
<div>[host:/var/log/libvirt/qemu]$</div>
</div>
<div>============</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards</div>
<div>Ritesh Sharma</div>
<div><br>
</div>
</body>
</html>