Project

General

Profile

Bug #10809

ceph-objectstore-tool can exit and lose logging output

Added by David Zafman almost 8 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We aren't destructing the CephContext.


Related issues

Copied to Ceph - Backport #14897: hammer: ceph-objectstore-tool can exit and lose logging output Resolved

Associated revisions

Revision 409328ba (diff)
Added by David Zafman over 7 years ago

ceph-objectstore-tool: On any exit release CephContext so logging can flush

Add myexit() which will put() the g_ceph_context if present before exit
Must umount() once the objectstore has been mounted

Fixes: #10809

Signed-off-by: David Zafman <>

Revision aaff4d7b (diff)
Added by David Zafman almost 7 years ago

ceph-objectstore-tool: On any exit release CephContext so logging can flush

Add myexit() which will put() the g_ceph_context if present before exit
Must umount() once the objectstore has been mounted

Fixes: #10809

Signed-off-by: David Zafman <>
(cherry picked from commit 409328bace0ffb3a457c0d384377bbbf37a2962d)

History

#1 Updated by David Zafman almost 8 years ago

  • Status changed from 12 to Fix Under Review

#2 Updated by David Zafman over 7 years ago

  • Status changed from Fix Under Review to In Progress

#3 Updated by David Zafman over 7 years ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by David Zafman over 7 years ago

  • Status changed from Fix Under Review to Resolved
  • Regression set to No

#5 Updated by Loïc Dachary almost 7 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to hammer

#6 Updated by Loïc Dachary almost 7 years ago

  • Copied to Backport #14897: hammer: ceph-objectstore-tool can exit and lose logging output added

#7 Updated by Loïc Dachary almost 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF