I'm using the python-libvirt library and finding that I cannot get .destroy() or .shutdown() to work.


That is the line in my code. .create() works fine and using virsh in the docker container works fine to destroy the domain as well.

This is based on ubuntu bionic in a docker container with the libvirt socket and such made available. .create() works, listing works and virsh works so permissions are not the issue. I'm confident I have failed to properly use the function or am missing the appropriate logging.

Any assistance would be greatly appreciated.