Re: AttributeError in virConnect.__del__ at program exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/11/2013 07:58 AM, Sandro Bonazzola wrote:
> Hi,
> using vdsm python code, I've the following error at program exit that
> seems to be related to libvirt python code, something wrong in a destructor:
> 
> Exception AttributeError: AttributeError("virConnect instance has  no
> attribute 'domainEventCallbacks'",) in <bound method  virConnect.__del__
> of <libvirt.virConnect instance at  0x4280f38>> ignored
> 
> I'm using libvirt 1.0.6
> 
> Is it a known issue? Is there any workaround / fix ?
> 

I've seen this too, sometimes via the virtinst test suite. Once upon a time I
tracked it down to whether the virtinst code did 'import selinux' or not, so
maybe it's a just some weird race, or a side effect of something other
libraries do in their cleanup path. By inspection alone the __del__ handler
doesn't seem to be doing anything wrong.

- Cole

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]