Project

General

Profile

Bug #17307

ceph-objectstore-tool crashes if --journal-path <a-directory>

Added by Kefu Chai 11 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph cli
Target version:
-
Start date:
09/20/2016
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
hammer jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

ceph-objectstore-tool  --data-path dev/osd0/ --journal-path dev/osd0 --op list obj1
/var/ceph/ceph/src/os/filestore/FileJournal.h: In function 'virtual FileJournal::~FileJournal()' thread 7ffff7fd0a40 time 2016-09-20 17:25:39.393276
/var/ceph/ceph/src/os/filestore/FileJournal.h: 440: FAILED assert(fd == -1)
 ceph version Development (no_version)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x95) [0x55555747e746]
 2: (FileJournal::~FileJournal()+0x62) [0x5555570737ec]
 3: (FileJournal::~FileJournal()+0x18) [0x5555570739ae]
 4: (JournalingObjectStore::journal_replay(unsigned long)+0x4c4) [0x5555570dbf6e]
 5: (FileStore::mount()+0x557f) [0x555557089043]
 6: (main()+0x2723) [0x555556ad2430]
 7: (__libc_start_main()+0xf1) [0x7ffff3c762b1]
 8: (_start()+0x2a) [0x555556ac187a]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Related issues

Copied to Ceph - Backport #17359: hammer: ceph-objectstore-tool crashes if --journal-path <a-directory> Resolved
Copied to Ceph - Backport #17360: jewel: ceph-objectstore-tool crashes if --journal-path <a-directory> Resolved

History

#1 Updated by Kefu Chai 11 months ago

  • Status changed from In Progress to Need Review

#2 Updated by Kefu Chai 11 months ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Loic Dachary 11 months ago

  • Copied to Backport #17359: hammer: ceph-objectstore-tool crashes if --journal-path <a-directory> added

#4 Updated by Loic Dachary 11 months ago

  • Copied to Backport #17360: jewel: ceph-objectstore-tool crashes if --journal-path <a-directory> added

#5 Updated by Nathan Cutler 9 months ago

  • Status changed from Pending Backport to Resolved
  • Needs Doc set to No

Also available in: Atom PDF