Project

General

Profile

Bug #3068

rados: Can't pipe to the rados command

Added by Stefan Kleijkers over 11 years ago. Updated over 11 years ago.

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

0%

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

Description

while "rados p poolname put objectname filename" works, "cat filename | rados -p poolname put objectname -" doesn't. Also tried with "dd if=filename of= | rados..." but also doesn't work. The command returns to the commandline but the object doesn't show up in the pool with "rados -p poolname ls".
From IRC:
20:46 < dmick> it accumulates the data, but never actually writes it to the cluster :)
20:46 < dmick> rados.cc:do_put

Associated revisions

Revision fb379174 (diff)
Added by Dan Mick over 11 years ago

Fix rados put from '-' (stdin)

Signed-off-by: Dan Mick <>
Reviewed-by: Mike Ryan <>
Reviewed-by: Greg Farnum <>
Fixes: #3068

History

#1 Updated by Dan Mick over 11 years ago

It appears this was broken by the reorganization in some past delta; it shouldn't
be difficult to fix.

#2 Updated by Dan Mick over 11 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF