Project

General

Profile

Bug #13078

ceph-monstore-tool still create a local file when get map failed

Added by bo cai about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/14/2015
Due date:
% Done:

0%

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

Description

when i try to get a map that dose not exist, it print an error, but still create a local file.

here is the command I use:

root@vm01:/test# clear
root@vm01:/test# ls
root@vm01:/test# ceph-monstore-tool /var/lib/ceph/mon/ceph-vm01/ get not-exist-map -- -o local-file
Error getting map: (2) No such file or directory
root@vm01:/test# ls
local-file

History

#1 Updated by Kefu Chai about 4 years ago

  • Status changed from New to Need Review

#2 Updated by Kefu Chai about 4 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF