Skip to content

src/test/TestRados: add max-attr-len to control the max length of attributes sent to OSDs - #56114

Merged
Matan-B merged 2 commits into
ceph:mainfrom
xxhdx1985126:wip-seastore-teuthology-max-test-attr-len
May 19, 2024
Merged

Matan-B merged 2 commits into
ceph:mainfrom
xxhdx1985126:wip-seastore-teuthology-max-test-attr-len

Conversation

@xxhdx1985126

@xxhdx1985126 xxhdx1985126 commented Mar 11, 2024 •

Copy link
Copy Markdown
Member

SeaStore can't handle attributes that are too big, so we need to constrain it during tests

Signed-off-by: Xuehan Xu [email protected]

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
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

SeaStore can't handle too big attributes

Signed-off-by: Xuehan Xu <[email protected]>
@xxhdx1985126
xxhdx1985126 requested a review from athanatos March 11, 2024 08:56
@xxhdx1985126
xxhdx1985126 requested a review from a team as a code owner March 11, 2024 08:56
@xxhdx1985126
xxhdx1985126 marked this pull request as draft March 12, 2024 05:21
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-teuthology-max-test-attr-len branch from f00cb29 to 413fadd Compare March 12, 2024 09:59
@xxhdx1985126
xxhdx1985126 marked this pull request as ready for review March 12, 2024 10:00
@xxhdx1985126
xxhdx1985126 requested a review from Matan-B March 12, 2024 10:00

@Matan-B Matan-B 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.

max-attr-len should be also added to qa/tasks/rados.py so that we could parse qa yaml files correctly.

@athanatos

Copy link
Copy Markdown
Contributor

This is a reasonable stop-gap for now, but we do need to support xattrs longer than 8k -- let's open a bug and note it in the yaml next to the config. What's the current architectural limitation restricting us to 8k?

@xxhdx1985126

xxhdx1985126 commented Mar 13, 2024 •

Copy link
Copy Markdown
Member Author

This is a reasonable stop-gap for now, but we do need to support xattrs longer than 8k -- let's open a bug and note it in the yaml next to the config. What's the current architectural limitation restricting us to 8k?

It's limited by the size of the omap leaf node; actually, even with the current omap leaf node size (64KB), the limit is not necessarily 8k, I just wanted to run the teuthology test, so just set the limit to a definitely workable value.

@xxhdx1985126

Copy link
Copy Markdown
Member Author

max-attr-len should be also added to qa/tasks/rados.py so that we could parse qa yaml files correctly.

Um, I think I've added it.

@Matan-B

Matan-B commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

Let's change the max-attr-len values in the crimson-rados-experimental suite since it's seastore specific.
#56150 (review)

@xxhdx1985126 xxhdx1985126 mentioned this pull request Mar 13, 2024
4 of 14 tasks

@Matan-B Matan-B 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.

My suggestion would be to only introduce max_attr_len in this PR.
After this one is merged, we can make use of it in the other seastore PR.
I would prefer not using this option with bluestore tests.

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-teuthology-max-test-attr-len branch from 413fadd to 4594355 Compare March 14, 2024 06:33
@xxhdx1985126

Copy link
Copy Markdown
Member Author

Hi, everyone, is this PR good to merge? Thanks.

@athanatos athanatos added the wip-sjust-crimson-testing Test run pending by Sam label May 1, 2024
@Matan-B

Matan-B commented May 19, 2024

Copy link
Copy Markdown
Contributor

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.

3 participants