Actions
Bug #11354
closedceph: cli throws exception on unrecognized errno
% 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
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 .
Updated by Loïc Dachary almost 9 years ago
- Status changed from Fix Under Review to Resolved
- Regression set to No
Updated by Kefu Chai almost 9 years ago
- Status changed from Resolved to Pending Backport
- Backport set to hammer
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
Updated by Loïc Dachary over 8 years ago
- Status changed from Pending Backport to Resolved
Actions