Project

General

Profile

Actions

Bug #42477

closed

Rados should use the '-o outfile' convention

Added by Christian Huebner over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I have a healthy Ceph cluster with Nautilus 14.2.4. When I issue 'rados df' on it, I get the correct result, both with plain text and JSON. If I try to write the output to disk, though, the rados tool throws the following error:

crh@node1:~$ rados df -o rados_df.json
Invalid value for object-size: strict_iecstrtoll: illegal prefix (length > 2)

No data is written to the outfile. Without the -o flag, I get valid text or JSON output.

This syntax works with other Ceph commands (e.g. ceph osd df -f json -o test.json) and I infer that it should work with rados df, too.


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #44360: nautilus: Rados should use the '-o outfile' conventionResolvedKefu ChaiActions
Copied to RADOS - Backport #44368: mimic: Rados should use the '-o outfile' conventionRejectedActions
Actions

Also available in: Atom PDF