Comment 2 for bug 1941819

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Do you have a way to reliably reproduce the issue? That would help a lot to fix the issue.

Just to avoid confusion in general nova uses eventlet for parallelism (there are some exceptions). Eventlet / greenlet implements cooperate parallelism. So there is no preemption between threads. There are certain points in the execution when eventlet schedules threads. Mostly around external IO operations. As obj_load_attr potentially calls RPC back to controller node to read data from the database, and that RPC is an IO, thread switching can happen in a place you described. So I do think what you described is a potential bug. But we would need a reproduction to actually fix it. And probably such reproduction would be then useful to find other similar parallel issues.