Project

General

Profile

Actions

Bug #80698

open
SA SA

sparse_read is failing on Fast EC

Bug #80698: sparse_read is failing on Fast EC

Added by Shraddha Agrawal 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

All failures in https://pulpito.ceph.com/shraddhaag-2026-09-21_11:58:43-crimson-rados-main-distro-debug-trial/

TestClsRbd.sparse_copyup/FastEC and TestClsRbd.sparsify/FastEC are failing in crimson on FastEC pools.

2026-09-21T12:46:52.889 INFO:tasks.workunit.client.0.trial138.stdout:[  FAILED  ] 2 tests, listed below:
2026-09-21T12:46:52.889 INFO:tasks.workunit.client.0.trial138.stdout:[  FAILED  ] TestClsRbd.sparse_copyup/FastEC, where GetParam() = 4-byte object <01-00 00-00>
2026-09-21T12:46:52.889 INFO:tasks.workunit.client.0.trial138.stdout:[  FAILED  ] TestClsRbd.sparsify/FastEC, where GetParam() = 4-byte object <01-00 00-00>
2026-09-21T12:46:52.889 INFO:tasks.workunit.client.0.trial138.stdout:
2026-09-21T12:46:52.889 INFO:tasks.workunit.client.0.trial138.stdout: 2 FAILED TESTS
2026-09-21T12:16:50.022 INFO:tasks.workunit.client.0.trial138.stdout:[ RUN      ] TestClsRbd.sparse_copyup/FastEC
2026-09-21T12:16:50.047 INFO:tasks.workunit.client.0.trial138.stdout:/ceph/rpmbuild/BUILD/ceph-21.3.0-3321-g1c2afdd1/src/test/cls_rbd/test_cls_rbd.cc:209: Failure
2026-09-21T12:16:50.047 INFO:tasks.workunit.client.0.trial138.stdout:Expected equality of these values:
2026-09-21T12:16:50.047 INFO:tasks.workunit.client.0.trial138.stdout:  (int)expected_m.size()
2026-09-21T12:16:50.047 INFO:tasks.workunit.client.0.trial138.stdout:    Which is: 1
2026-09-21T12:16:50.047 INFO:tasks.workunit.client.0.trial138.stdout:  ioctx.sparse_read(oid, m, outbl, 65536, 0)
2026-09-21T12:16:50.047 INFO:tasks.workunit.client.0.trial138.stdout:    Which is: -2
2026-09-21T12:16:50.048 INFO:tasks.workunit.client.0.trial138.stdout:
2026-09-21T12:16:50.056 INFO:tasks.workunit.client.0.trial138.stdout:[  FAILED  ] TestClsRbd.sparse_copyup/FastEC, where GetParam() = 4-byte object <01-00 00-00> (34 ms)
2026-09-21T12:46:49.964 INFO:tasks.workunit.client.0.trial138.stdout:[ RUN      ] TestClsRbd.sparsify/FastEC
2026-09-21T12:46:49.994 INFO:tasks.workunit.client.0.trial138.stdout:/ceph/rpmbuild/BUILD/ceph-21.3.0-3321-g1c2afdd1/src/test/cls_rbd/test_cls_rbd.cc:3254: Failure
2026-09-21T12:46:49.994 INFO:tasks.workunit.client.0.trial138.stdout:Failed
2026-09-21T12:46:49.994 INFO:tasks.workunit.client.0.trial138.stdout:-2 is odd
2026-09-21T12:46:49.994 INFO:tasks.workunit.client.0.trial138.stdout:
2026-09-21T12:46:50.007 INFO:tasks.workunit.client.0.trial138.stdout:[  FAILED  ] TestClsRbd.sparsify/FastEC, where GetParam() = 4-byte object <01-00 00-00> (43 ms)

SA Updated by Shraddha Agrawal 2 months ago Actions #1

  • Description updated (diff)

SA Updated by Shraddha Agrawal 2 months ago Actions #2

In the absence of direct reads, on Fast EC pools, classic translates a sparse read to a normal read. Apart from the fact that crimson does not support direct reads yet, it also does not implement the fallback mechanism too.

JP Updated by Jose J Palacios Perez 2 months ago Actions #3

Actions

Also available in: PDF Atom