Skip to content

test/qa: Allow ceph_test_rados to test omap operations in EC pools - #69269

Merged
SrinivasaBharath merged 1 commit into
ceph:mainfrom
MattyWilliams22:ec-omaps-ceph-test-rados
Sep 18, 2026
Merged

SrinivasaBharath merged 1 commit into
ceph:mainfrom
MattyWilliams22:ec-omaps-ceph-test-rados

Conversation

@MattyWilliams22

@MattyWilliams22 MattyWilliams22 commented Jun 3, 2026 •

Copy link
Copy Markdown
Contributor

Allow ceph_test_rados to test omap operations in EC pools

If the user gave the "--no-omap" flag, listen to that.
Otherwise, check if the EC pool supports omap, and use the response to determine whether no_omap should be true or false.

Fixes: https://tracker.ceph.com/issues/75055

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test api

@MattyWilliams22
MattyWilliams22 force-pushed the ec-omaps-ceph-test-rados branch from 7b1c5c5 to 97ad491 Compare June 4, 2026 15:54
@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test api

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

jenkins test api

@MattyWilliams22
MattyWilliams22 force-pushed the ec-omaps-ceph-test-rados branch from 97ad491 to 4f4a517 Compare June 10, 2026 09:37
@MattyWilliams22
MattyWilliams22 marked this pull request as ready for review June 11, 2026 09:35
@MattyWilliams22
MattyWilliams22 requested a review from a team as a code owner June 11, 2026 09:35

@bill-scales bill-scales left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aainscow aainscow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On nit - AI-style comment.

Pretty sure some AI was used here, but there is no Assisted-by tag.

Comment thread qa/tasks/rados.py Resolved
@MattyWilliams22
MattyWilliams22 force-pushed the ec-omaps-ceph-test-rados branch from 4f4a517 to 3f40f0f Compare June 12, 2026 12:33
@MattyWilliams22
MattyWilliams22 requested a review from aainscow June 12, 2026 13:41

@aainscow aainscow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

query_pool_supports_omap is perhaps a little too verbose on the errors. If we do this for every option, the code is going to get very messy.

What we really need is a "query_pool_flag" - perhaps this could go at a higher level?

Next time you modify this, we should abstract this to get rid of the repeated boiler-plate (which is AI bloat)

@aainscow aainscow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assisted-by: Bob

This is not enough. IBM-Bob is the absolute minimum. An idea of the model would be good. Perhaps add a comment above saying "Model unknown, likely Claude Sonnet or GPT-5"

@MattyWilliams22
MattyWilliams22 force-pushed the ec-omaps-ceph-test-rados branch from 3f40f0f to b7ee872 Compare June 29, 2026 13:28
@MattyWilliams22
MattyWilliams22 requested a review from aainscow June 29, 2026 13:29

@aainscow aainscow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread src/test/osd/TestRados.cc Resolved
@MattyWilliams22
MattyWilliams22 force-pushed the ec-omaps-ceph-test-rados branch from b7ee872 to 33d5b4c Compare July 6, 2026 15:54
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath14-testing-20260909.000311-main.

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

I wasn't going to add the needs-qa label because the second issue you found with job 402756 is still failing.
See: /a/mattywilliams-2026-09-08_13:36:23-rados:thrash-erasure-code-isa-main-distro-default-trial/543919

I am debugging that problem now

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been removed from wip-bharath14-testing-20260909.000311-main.

@MattyWilliams22

Copy link
Copy Markdown
Contributor Author

I have determined that the problem found with job 402756 is an existing bug that is unrelated to this PR. It is simply exposed by this PR as Omap was previously not being tested for EC pools in ceph_test_rados.
I have created a tracker ticket and separate PR for that bug:
https://tracker.ceph.com/issues/74186
#71685

Therefore, I believe this PR is ready for QA. Sorry for the confusion.

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath17-testing-20260910.230809-main.

@ronen-fr

Copy link
Copy Markdown
Contributor

@SrinivasaBharath
SrinivasaBharath merged commit db39e6d into ceph:main Sep 18, 2026
16 checks passed
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/35290924568

@MattyWilliams22
MattyWilliams22 deleted the ec-omaps-ceph-test-rados branch September 18, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants