Re: python-libvirt domain.destroy() doesn't appear to be working for me

2020-08-24 Thread Jeremy Markle
M Michal Privoznik wrote: > On 8/24/20 11:38 AM, Jeremy Markle wrote: > > I was simply following the examples in the python-libvirt repo. If those > > methods raise exceptions I'll definitely change to try/catch. Thank you. > > The maintainer of the repo should update the

Re: python-libvirt domain.destroy() doesn't appear to be working for me

2020-08-24 Thread Jeremy Markle
iel P. Berrangé wrote: > On Sat, Aug 22, 2020 at 10:32:09AM -0400, Jeremy Markle wrote: > > I'm using the python-libvirt library and finding that I cannot get > > .destroy() or .shutdown() to work. > > > > > https://github.com/simora/docker-libvirt-flask/blob/cba6041b4

Re: python-libvirt domain.destroy() doesn't appear to be working for me

2020-08-24 Thread Jeremy Markle
I clearly did something wrong but now it appears to be operating as expected. Sorry and thank you. On Sat, Aug 22, 2020 at 10:32 AM Jeremy Markle wrote: > I'm using the python-libvirt library and finding that I cannot get > .destroy() or .shutdown() to work. > > > https

python-libvirt domain.destroy() doesn't appear to be working for me

2020-08-24 Thread Jeremy Markle
I'm using the python-libvirt library and finding that I cannot get .destroy() or .shutdown() to work. https://github.com/simora/docker-libvirt-flask/blob/cba6041b47bdf4ccb3b9506a0379cf8c788a9a57/root/app/mqtt.py#L96 That is the line in my code. .create() works fine and using virsh in the docker c