varun bhatnagar
2013-Jan-24 16:07 UTC
[libvirt-users] not able to stop vmware player node through libvirt API
Hi, I have started one node through libvirt API using its start method. I am trying to stop that node using the *destroy *method provided by the API but I am not able to do so. Instead, I am getting one message saying: *libvir: error: internal error Child process (vmrun -T player stop /root/test_folder/myImage.vmx soft) unexpected exit status 255* Can anybody tell me why I am not able to stop the node. Thanks in advance. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130124/f9ec1a03/attachment.htm>
Pierre Schweitzer
2013-Jan-24 17:05 UTC
[libvirt-users] not able to stop vmware player node through libvirt API
Hi, from my own experience, I spotted that libvirt, when interfaced with vmware always attempt to issue soft reboots for destroy action (as you can see from CL). Whereas it appears that they are likely to fail. Switching to hard shutdown works. As you can't fix libvirt (unless you want), I'd recommend you use a boostrap script for this, that switch soft to hard. As for example: http://www.pschweitzer.fr/?p=22#more-22 With my best regards, Pierre Schweitzer On 01/24/2013 05:07 PM, varun bhatnagar wrote:> Hi, > > I have started one node through libvirt API using its start method. I > am trying to stop that node using the *destroy *method provided by the > API but I am not able to do so. Instead, I am getting one message saying: > > *libvir: error: internal error Child process (vmrun -T player stop > /root/test_folder/myImage.vmx soft) unexpected exit status 255* > > Can anybody tell me why I am not able to stop the node. > > Thanks in advance. :) > > > _______________________________________________ > libvirt-users mailing list > libvirt-users at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130124/e54ec4e6/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3968 bytes Desc: S/MIME Cryptographic Signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130124/e54ec4e6/attachment.p7s>
Apparently Analagous Threads
- [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
- VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
- Re: VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
- Error while adding volume through virsh
- Not able to do ssh with libvirt