[et-mgmt-tools] Re: The gui should drop the connection if libvirt stops for any reason like service libvirt stop.

Cole Robinson crobinso at redhat.com
Mon Apr 20 17:53:12 UTC 2009


On 03/16/2009 02:59 PM, Daniel J Walsh wrote:
> diff -u virtManager/engine.py~ virtManager/engine.py
> --- virtManager/engine.py~    2009-03-16 14:49:16.000000000 -0400
> +++ virtManager/engine.py    2009-03-16 14:58:05.000000000 -0400
> @@ -158,6 +158,7 @@
>                  logging.error(("Could not refresh connection %s\n" %
> (uri)) + str(sys.exc_info()[0]) + \
>                                " " + str(sys.exc_info()[1]) + "\n" + \
>                                traceback.format_exc(sys.exc_info()[2]))
> +                self.connections[uri]["connection"].close()
>          return 1
> 
>      def change_timer_interval(self,ignore1,ignore2,ignore3,ignore4):

Sorry for the delay. Applied now with some additional logging:

http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/rev/32d53a01e595

- Cole




More information about the et-mgmt-tools mailing list