cinder rbd driver backup/restore segfault

Bug #1198271 reported by Edward Hope-Morley on 2013-07-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Edward Hope-Morley

Bug Description

The RBD driver will segfault when doing a backup or restore since the RBD IO wrapper does not get closed properly. The result is that Python does autoclean once the object goes out of scope and by this point the underlrying image has been closed so when Python calls close() and implicilty flush(), librbd segafault wince the rbd object has already been freed.

This issue has been fixed in https://review.openstack.org/#/c/35216/ so will be fixed if/once that is approved/merged.

Changed in cinder:
assignee: nobody → Edward Hope-Morley (hopem)
summary: - ceph backup driver segfault
+ cinder rbd driver backup/restore segfault
Changed in cinder:
status: New → In Progress

Reviewed: https://review.openstack.org/36707
Committed: http://github.com/openstack/cinder/commit/e830c8d3fa0abc64e5ff75dfd0729d053f26971a
Submitter: Jenkins
Branch: master

commit e830c8d3fa0abc64e5ff75dfd0729d053f26971a
Author: Edward Hope-Morley <email address hidden>
Date: Thu Jul 11 18:26:22 2013 +0100

    Fixed Ceph backup librbd segfault

    Change-Id: I1a6b9935eb7da9fca5b572ea4823bae3def99ea0
    Fixes: bug #1198271

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-07-17
Changed in cinder:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-2 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers