Bug #3068
rados: Can't pipe to the rados command
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
Fix rados put from '-' (stdin)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Mike Ryan <mike.ryan@inktank.com>
Reviewed-by: Greg Farnum <gregory.farnum@inktank.com>
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