Project

General

Profile

Bug #10723

Updated by Loïc Dachary about 9 years ago

When setting up cinder with ceph, rados.Ioctx objects are leaked when creating and deleting volumes. 

 The problem is due to storing a reference to the callback functions __aio_safe_cb_c and __aio_complete_cb_c on the object. By storing the reference, a circular reference is inadvertently created which prevents the python garbage collector from destroying the rados.Ioctx objects that were created. 

 A graph of the circular reference is attached. 

 commit:60b019f69aa0e39d276c669698c92fc890599f50 commit:3bab47054dc77b9a00d3f47fa73f458ede7d4ab4 

Back