]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: Add a task which performs an offline check of the consistency of parity... 59903/head
authorConnor Fawcett <connorfa@uk.ibm.com>
Mon, 9 Dec 2024 17:02:11 +0000 (17:02 +0000)
committerConnor Fawcett <connorfa@uk.ibm.com>
Tue, 27 May 2025 16:18:36 +0000 (17:18 +0100)
commit4ead94ee29879c8b36810fe81b2a323a7975d656
treea903f0e098cc822701cf707ceef89a5a4c2d70db
parentbf95acdd1d1752c984db57c827129573e8f02cec
qa/tasks: Add a task which performs an offline check of the consistency of parity shards

Add a Python script which can be used to scan a Ceph cluster, find any erasure coded data objects and
check them for consistency. This is achieved by reading the data shards for a given object, running the data shards
through the existing EC tool and verifying the output matches the parity shards stored on the OSDs.

This commit adds a new teuthology task but does not add it to any YAMLs currently, this work will be
expanded on in future commits.

Signed-off-by: Connor Fawcett <connorfa@uk.ibm.com>
Fixes: https://tracker.ceph.com/issues/71412
qa/tasks/ec_parity_consistency.py [new file with mode: 0755]
qa/tasks/tests/requirements.txt [new file with mode: 0644]
qa/tasks/tests/test_parity_consistency.py [new file with mode: 0644]