Skip to content

qa/suites/crimson-rados: add seastore - #56150

Merged
Matan-B merged 2 commits into
ceph:mainfrom
xxhdx1985126:wip-seastore-teuthology
Jul 1, 2024
Merged

Matan-B merged 2 commits into
ceph:mainfrom
xxhdx1985126:wip-seastore-teuthology

Conversation

@xxhdx1985126

@xxhdx1985126 xxhdx1985126 commented Mar 13, 2024 •

Copy link
Copy Markdown
Member

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

@xxhdx1985126
xxhdx1985126 requested review from a team, Matan-B, athanatos and cyx1231st March 13, 2024 06:40
@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-teuthology branch from b2da431 to a63271c Compare March 13, 2024 06:42

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

Can we use qa/suites/crimson-rados-experimental for seastore?
I'm ok with moving seastore test gradually to crimson-rados as they become more stable.

It's possible also to test changes to qa directory without actually merging to main.

@xxhdx1985126

Copy link
Copy Markdown
Member Author

Can we use qa/suites/crimson-rados-experimental for seastore? I'm ok with moving seastore test gradually to crimson-rados as they become more stable.

Yeah, but seastore can already pass the crimson-rados suite once the following PR merged:
#56025
#55978
#56114
#55947
#55735

It's possible also to test changes to qa directory without actually merging to main.

@cyx1231st

Copy link
Copy Markdown
Member

See another comment #55806 (comment). SeaStore is already in the experimental suite, IIUC the goal of this PR is to move it (maybe not yet entirely?) into the standard teuthology suites.

Or, is there a way to specialize max-attr-len for seastore in crimson-rados?

@Matan-B

Matan-B commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

Or, is there a way to specialize max-attr-len for seastore in crimson-rados?

In the seastore yaml or by adding a new seastore-overrides yaml (same as we have crimson_qa_overrides.yaml), you can try setting:

overrides:
  tasks:
  - rados:
      max_attr_len: 8192

Moreover, instead of introducing 3 copies of seastore.yaml we can store bluestore.yaml and seastore.yaml in a common objectstore directory and create symlink instead of copies. (Can be in a future PR if preferred)

@xxhdx1985126

Copy link
Copy Markdown
Member Author

Or, is there a way to specialize max-attr-len for seastore in crimson-rados?

In the seastore yaml or by adding a new seastore-overrides yaml (same as we have crimson_qa_overrides.yaml), you can try setting:

overrides:
  tasks:
  - rados:
      max_attr_len: 8192

Um, I tried to put this setting in a common yaml file, but it seems that there are workloads that are not doing rados tests in which case this setting will force the rados tests while other necessary settings are missing. So I only put this setting in workloads that are doing rados tests.

Moreover, instead of introducing 3 copies of seastore.yaml we can store bluestore.yaml and seastore.yaml in a common objectstore directory and create symlink instead of copies. (Can be in a future PR if preferred)

Yeah, will do.

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-teuthology branch from a63271c to 75575d2 Compare March 18, 2024 07:00
@cyx1231st

Copy link
Copy Markdown
Member

Seems there are dependent fixes waiting for QA, @xxhdx1985126 if you have troubles accessing the sepia lab, I can help to run the suites if you have builds available in https://shaman.ceph.com/builds/ceph/

@xxhdx1985126

Copy link
Copy Markdown
Member Author

Seems there are dependent fixes waiting for QA, @xxhdx1985126 if you have troubles accessing the sepia lab, I can help to run the suites if you have builds available in https://shaman.ceph.com/builds/ceph/

It seems that I still can't run teuthology tests in sepia, here's this PR's build: https://shaman.ceph.com/builds/ceph/wip-seastore-teuthology/, thanks very much:-)

@cyx1231st

cyx1231st commented Apr 2, 2024 •

Copy link
Copy Markdown
Member

@liu-chunmei

Copy link
Copy Markdown
Contributor

should remove suites/crimson-rados-experimental/seastore/basic/objectstore/seastore.yaml.

@xxhdx1985126
xxhdx1985126 force-pushed the wip-seastore-teuthology branch from 75575d2 to c8d2947 Compare April 10, 2024 02:26
@Matan-B

Matan-B commented Apr 10, 2024 •

Copy link
Copy Markdown
Contributor

My suggestion would be to disable the failing new yamls and enable them gradually to keep the suite green as much as possible. @xxhdx1985126, what do you think?

yamls can be disabled by using *.yaml.disabled

@github-actions

github-actions Bot commented Jun 9, 2024

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jun 9, 2024
@Matan-B

Matan-B commented Jun 9, 2024

Copy link
Copy Markdown
Contributor

Let me know if you need any help scheduling test runs before merging this.

@Matan-B Matan-B removed the stale label Jun 9, 2024
@cyx1231st

Copy link
Copy Markdown
Member

Shoud we change this into draft before seastore is really stable as part of crimson-rados?

@xxhdx1985126

Copy link
Copy Markdown
Member Author

Shoud we change this into draft before seastore is really stable as part of crimson-rados?

Ok

@xxhdx1985126
xxhdx1985126 marked this pull request as draft June 17, 2024 05:31
@Matan-B

Matan-B commented Jun 17, 2024 •

Copy link
Copy Markdown
Contributor

Shoud we change this into draft before seastore is really stable as part of crimson-rados?

@xxhdx1985126, Since it will probably take time to stabilize all the tests with seastore, we can try introducing them gradually.
Green ones can move to crimson-rados and non stable ones will stay in the experimental suite (with a dedicated tracker if that helps).

@xxhdx1985126

Copy link
Copy Markdown
Member Author

Shoud we change this into draft before seastore is really stable as part of crimson-rados?

@xxhdx1985126, Since it will probably take time to stabilize all the tests with seastore, we can try introducing them gradually. Green ones can move to crimson-rados and non stable ones will stay in the experimental suite (with a dedicated tracker if that helps).

Yeah, I'll try to split it.

@Matan-B
Matan-B force-pushed the wip-seastore-teuthology branch from c8d2947 to f4a07e8 Compare June 27, 2024 11:03
@github-actions github-actions Bot added the tests label Jun 27, 2024
@Matan-B

Matan-B commented Jun 27, 2024

Copy link
Copy Markdown
Contributor

Rebased, scheduling a test run

@Matan-B
Matan-B force-pushed the wip-seastore-teuthology branch from f4a07e8 to 289f904 Compare June 27, 2024 11:24
@Matan-B

Matan-B commented Jun 27, 2024

Copy link
Copy Markdown
Contributor

diff: symlinked bluestore since some tests run with seastore only

@Matan-B

Matan-B commented Jun 27, 2024

Copy link
Copy Markdown
Contributor

Signed-off-by: Xuehan Xu <[email protected]>
Signed-off-by: Matan Breizman <[email protected]>
@Matan-B
Matan-B force-pushed the wip-seastore-teuthology branch from 289f904 to 1ad7810 Compare June 27, 2024 14:49
Currently we have 2 types of thrash tests: default and simple.
Seastore passes only the simple one.

The 2 types are seperated to diffrent dirs. `thrash` dir
will be tested with bluestore only.
`thrash_simple` will be tested with both backend.

Once Seastore passes default ones, we can merge back the two dirs

Signed-off-by: Matan Breizman <[email protected]>
@Matan-B
Matan-B force-pushed the wip-seastore-teuthology branch from 3445e52 to 69b241a Compare June 30, 2024 09:32
@Matan-B

Matan-B commented Jun 30, 2024

Copy link
Copy Markdown
Contributor

@Matan-B
Matan-B marked this pull request as ready for review June 30, 2024 12:17

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

@cyx1231st cyx1231st left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

https://pulpito.ceph.com/matan-2024-06-30_09:33:44-crimson-rados-main-distro-crimson-smithi/

Q1: Are the 2 failed seastore tests know issues?

  • 7779810: [ FAILED ] TestLibRBD.TestEncryptionLUKS2
  • 7779831: [ FAILED ] LibRadosAio.PoolEIOFlag

Q2: Is this a reasonable command to validate seastore related PRs in the future?
teuthology-suite -m smithi -e <mail> -p <priority> -s crimson-rados -c <branch> --filter-out perf,'objectstore/bluestore' --limit 25

Q3: Is the issue https://tracker.ceph.com/issues/66721 already addressed using 50G seastore device size?

@xxhdx1985126

Copy link
Copy Markdown
Member Author

Disabling thrasher/default with seastore until https://tracker.ceph.com/issues/66760 is resolved. Test run with latest changes: https://pulpito.ceph.com/matan-2024-06-30_09:33:44-crimson-rados-main-distro-crimson-smithi/

LGTM!

@Matan-B

Matan-B commented Jul 1, 2024 •

Copy link
Copy Markdown
Contributor

Q1: Are the 2 failed seastore tests know issues?

  • 7779810: [ FAILED ] TestLibRBD.TestEncryptionLUKS2
  • 7779831: [ FAILED ] LibRadosAio.PoolEIOFlag

Q2: Is this a reasonable command to validate seastore related PRs in the future? teuthology-suite -m smithi -e <mail> -p <priority> -s crimson-rados -c <branch> --filter-out perf,'objectstore/bluestore' --limit 25

Yes!

Q3: Is the issue https://tracker.ceph.com/issues/66721 already addressed using 50G seastore device size?

SeaStore will be tested with the default device size (50GB). The issue appeared when there were no space in the machine due to larger image size. I'll keep https://tracker.ceph.com/issues/66721 open since I think that we have a double close in the case described above (low priority for now).


@cyx1231st, one more note. Once https://tracker.ceph.com/issues/66760 is resolved, we would be able to test SeaStore with recovery as well (aka default thrashers).

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.

4 participants