Libvirt native thread used for "forbidden" purposes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
John Warren |
Bug Description
In the nova.virt.
This is a native thread which runs the default
libvirt event loop implementation. This processes
any incoming async events from libvirtd and queues
them for later dispatch. This thread is only
permitted to use libvirt python APIs, and the
of logging is forbidden, since it will confuse
eventlet's greenthread integration
while this rule is adhered to by the _event_
The _close_callback method needs to be altered so that it does not execute any logic that may interfere with eventlet's greenthread integration.
tags: | added: libvirt |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
milestone: | none → icehouse-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-rc1 → 2014.1 |
Correction: the _close_callback is not being called by the native thread that is running _native_thread. It is being called by the native thread that is spawned by tpool.proxy_call which is used to instantiate the connection.