Description of problem:
An object truncate to an exact shard size will cause a key-not-found exception
Version-Release number of selected component (if applicable):
9.2 of OSD (affects all 9 releases - bug is in tentacle)
How reproducible:
Easily
Steps to Reproduce:
1. Start cluster with fast EC
2. Create a 2+1 EC, 4k chunk size
3. Create a 12k object
4. Truncate to 8k
Any truncate to a N * K * chunk_size where N is any integer will cause issue.
Actual results:
key-not-found exception
Expected results:
A truncate.
Additional info:
Seen in field on a tentacle release
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2026:1536