Actions
Bug #10723
closedrados python binding leaks Ioctx objects
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librados
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
giant, firefly
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
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.
Files
Updated by Josh Durgin about 9 years ago
- Category set to librados
- Status changed from New to Pending Backport
- Backport set to giant, firefly, dumpling
Nice catch!
Updated by Josh Durgin about 9 years ago
When this is backported, the fix for http://tracker.ceph.com/issues/10775 should be as well.
Updated by Loïc Dachary about 9 years ago
- Description updated (diff)
- firefly backport https://github.com/ceph/ceph/pull/3935
Updated by Loïc Dachary about 9 years ago
- giant backport https://github.com/ceph/ceph/pull/4046
Updated by Loïc Dachary about 9 years ago
- Backport changed from giant, firefly, dumpling to giant, firefly
dumpling is end of life
Updated by Loïc Dachary about 9 years ago
Updated by Loïc Dachary about 9 years ago
- Status changed from Pending Backport to Resolved
Actions