internap / virtualpdu

A virtual power distribution unit (PDU) for controlling libvirt virtual machines via SNMP commands.
Apache License 2.0
3 stars 6 forks source link

Fixes internap/virtualpdu#30 #32

Closed idjaw closed 7 years ago

idjaw commented 7 years ago

Exception handling has been added to the libvirt driver's power_off feature. This fixes the issue where an uncaught exception would raise when a power_off command would be issued when the PDU is already off.

fbouliane commented 7 years ago

BTW, test driver does not offer us the capability to test this behavior. A bugfix [1] has been submitted to libvirt to fix this.

[1] https://www.redhat.com/archives/libvir-list/2016-November/msg00352.html

mat128 commented 7 years ago

Thanks fbouliane. I am fine without the integration test.