Project

General

Profile

Actions

Bug #11354

closed

ceph: cli throws exception on unrecognized errno

Added by Sage Weil about 9 years ago. Updated over 8 years ago.

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

0%

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

Description

for example,

2015-04-09 09:46:38.098398 7ff0253d0700 1 -- 127.0.0.1:0/1017515 <== mon.0 127.0.0.1:22222/0 12 ==== mon_command_ack([{"prefix": "osd crush set"}]=-125 Failed to parse crushmap: error running crushmap through crushtool: (125) Operation canceled v24) v1 ==== 153+0+0 (2101891692 0 0) 0x7ff010000b60 con 0x7ff020011cb0
Traceback (most recent call last):
File "./ceph", line 876, in <module>
retval = main()
File "./ceph", line 832, in main
print >> sys.stderr, prefix + 'Error {0}: {1}'.format(errno.errorcode[ret], outs)
KeyError: 125


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #12331: ceph: cli throws exception on unrecognized errnoResolvedLoïc Dachary04/09/2015Actions
Actions #1

Updated by Kefu Chai about 9 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai

the ECANCELED is not defined until python 3.3.

will print Unknown if the errno is not listed in errno.errorcode .

Actions #2

Updated by Loïc Dachary almost 9 years ago

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

Updated by Kefu Chai almost 9 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to hammer
Actions #4

Updated by Loïc Dachary almost 9 years ago

  • Subject changed from ceph: cli throws exceptoin on unrecognized errno to ceph: cli throws exception on unrecognized errno
Actions #5

Updated by Loïc Dachary over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF