Actions
Bug #6424
closedceph cli: -o failure to open gives backtrace, not error message
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Apparently the "can't open output file" path is not quite right:
ubuntu@mira119:/etc/diamond$ ceph osd getcrushmap -o mymap Traceback (most recent call last): File "/usr/bin/ceph", line 774, in <module> sys.exit(main()) File "/usr/bin/ceph", line 650, in main format(parsed_args.output_file, e) UnboundLocalError: local variable 'e' referenced before assignment ubuntu@mira119:/etc/diamond$ ceph -o mymap osd getcrushmap Traceback (most recent call last): File "/usr/bin/ceph", line 774, in <module> sys.exit(main()) File "/usr/bin/ceph", line 650, in main format(parsed_args.output_file, e) UnboundLocalError: local variable 'e' referenced before assignment ubuntu@mira119:/etc/diamond$ ceph osd getcrushmap -o /tmp/mymap got crush map from osdmap epoch 4
Updated by Dan Mick over 10 years ago
- Status changed from New to 12
- Source changed from other to Development
Actions