-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io.copy() got rbd: ret=22, Invalid argument #318
Comments
what about change Lines 710 to 712 in d4440eb
to
|
Reading from an RBD image that hits EOF, should return a short read, or Please provide the following details:
Could you try the following? This could be a workaround:
That way, there is an additional LimitReader that prevents going passed |
Thanks for your workaround! That works! 1.Client version 12.2.13-0ubuntu0.18.04.2 This problem seems related to the image. |
I'm following up on a few issues. From my reading of this issue it sounds like the problem lies in the ceph libs rather than go-ceph. I also see that you are/were using ceph luminous client libs. If you could I'd like to suggest that you retest with newer ceph versions and if the issue does not reproduce we'll close this out. I'll also point out that as of our v0.5.0 release, made earlier this week, we're officially deprecating luminous as a build target. In v0.6.0, due in October, building against luminous will be dropped. |
Thank you!The issue did not reproduce. |
Got
my rbd image size is 100M ,and afert this func /tmp/d1.rbd size is also 100M.
any good idea?
The text was updated successfully, but these errors were encountered: