Skip to content

mds: add a proper check to evict clients with id 0#61981

Open
neesingh-rh wants to merge 2 commits intoceph:mainfrom
neesingh-rh:wip-fix-check-for-zero
Open

mds: add a proper check to evict clients with id 0#61981
neesingh-rh wants to merge 2 commits intoceph:mainfrom
neesingh-rh:wip-fix-check-for-zero

Conversation

@neesingh-rh
Copy link
Contributor

@neesingh-rh neesingh-rh commented Feb 24, 2025

Follow up of #49974

Fixes: https://tracker.ceph.com/issues/70198
Signed-off-by: Neeraj Pratap Singh neesingh@redhat.com

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

@github-actions github-actions bot added the cephfs Ceph File System label Feb 24, 2025
@neesingh-rh neesingh-rh force-pushed the wip-fix-check-for-zero branch from fa1ca9e to 4d66ee4 Compare February 24, 2025 15:33
@vshankar
Copy link
Contributor

Follow up of #49974

Even if its a follow up, please create a tracker (for backport tracking) and link the followup comment in it.

@neesingh-rh neesingh-rh force-pushed the wip-fix-check-for-zero branch 2 times, most recently from a81707c to 38edd19 Compare February 27, 2025 03:49
@github-actions github-actions bot added the tests label Feb 27, 2025
@neesingh-rh
Copy link
Contributor Author

Follow up of #49974

Even if its a follow up, please create a tracker (for backport tracking) and link the followup comment in it.

Created the tracker and have linked it to the PR

@neesingh-rh neesingh-rh requested a review from batrick March 4, 2025 09:50
@neesingh-rh
Copy link
Contributor Author

jenkins retest this please

Copy link
Member

@batrick batrick left a comment

Choose a reason for hiding this comment

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

[ RUN      ] MDSSessionFilter.ParseGood
Testing '[id=34]'
Testing '[auth_name=foxtrot]'
Testing '[state=reconnecting]'
Testing '[reconnecting=true]'
Testing '[client_metadata.root=/foo/bar]'
Testing '[]'
Testing '[id=123]'
Testing '[id=34,client_metadata.root=/foo/bar,auth_name=foxtrot,state=reconnecting,reconnecting=true]'
[       OK ] MDSSessionFilter.ParseGood (1 ms)
[ RUN      ] MDSSessionFilter.ParseBad
Testing '[rhubarb]'
Testing '[id=]'
unknown file: Failure
C++ exception with description "stoi" thrown in the test body.
[  FAILED  ] MDSSessionFilter.ParseBad (0 ms)

@neesingh-rh neesingh-rh force-pushed the wip-fix-check-for-zero branch 2 times, most recently from 170255a to 4ffdc40 Compare March 5, 2025 19:02
@neesingh-rh
Copy link
Contributor Author

[ RUN      ] MDSSessionFilter.ParseGood
Testing '[id=34]'
Testing '[auth_name=foxtrot]'
Testing '[state=reconnecting]'
Testing '[reconnecting=true]'
Testing '[client_metadata.root=/foo/bar]'
Testing '[]'
Testing '[id=123]'
Testing '[id=34,client_metadata.root=/foo/bar,auth_name=foxtrot,state=reconnecting,reconnecting=true]'
[       OK ] MDSSessionFilter.ParseGood (1 ms)
[ RUN      ] MDSSessionFilter.ParseBad
Testing '[rhubarb]'
Testing '[id=]'
unknown file: Failure
C++ exception with description "stoi" thrown in the test body.
[  FAILED  ] MDSSessionFilter.ParseBad (0 ms)

All checks are green, PTAL

@neesingh-rh neesingh-rh requested a review from batrick March 6, 2025 05:01
@github-actions
Copy link

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 May 17, 2025
@neesingh-rh
Copy link
Contributor Author

@vshankar @rishabh-d-dave Can we add this in any of upcoming teuthology runs

@rishabh-d-dave rishabh-d-dave added wip-rishabh-testing Rishabh's testing label and removed stale labels May 29, 2025
@rishabh-d-dave
Copy link
Contributor

This PR is under test in https://tracker.ceph.com/issues/71663.

@rishabh-d-dave rishabh-d-dave removed the wip-rishabh-testing Rishabh's testing label label Jun 16, 2025
@rishabh-d-dave
Copy link
Contributor

This PR is under test in https://tracker.ceph.com/issues/71663.

A large number of jobs failed to an unrelated error, deferring QA run until it is fixed.

@rishabh-d-dave rishabh-d-dave added the wip-rishabh-testing Rishabh's testing label label Jun 17, 2025
@rishabh-d-dave
Copy link
Contributor

This PR is under test in https://tracker.ceph.com/issues/71703.

Copy link
Contributor

@rishabh-d-dave rishabh-d-dave left a comment

Choose a reason for hiding this comment

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

@rishabh-d-dave
Copy link
Contributor

One of the CI job is stuck and there's no way to re-trigger until PR branch pushed with again or if we close and open the PR. Proceeding to do the latter.

@neesingh-rh neesingh-rh force-pushed the wip-fix-check-for-zero branch from 4ffdc40 to 8710168 Compare June 26, 2025 12:53
@neesingh-rh
Copy link
Contributor Author

QA run was successful - https://tracker.ceph.com/projects/cephfs/wiki/QA_main_2025#wip-rishabh-testing-20250617173904
One of the CI job is stuck and there's no way to re-trigger until PR branch pushed with again or if we close and open the PR. Proceeding to do the latter.

Waiting for CI to pass now.

@neesingh-rh One of the CI jobs is failing consistently, I think the PR branch needs to be rebased on more recent version of main.

Rebased!

@neesingh-rh
Copy link
Contributor Author

jenkins retest this please

@github-actions
Copy link

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 Sep 21, 2025
@github-actions
Copy link

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions bot closed this Oct 21, 2025
@neesingh-rh neesingh-rh reopened this Oct 29, 2025
@github-actions github-actions bot removed the stale label Oct 29, 2025
@github-actions
Copy link

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 Dec 28, 2025
@github-actions
Copy link

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@vshankar
Copy link
Contributor

vshankar commented Mar 4, 2026

This PR is under test in https://tracker.ceph.com/issues/75334.

vshankar added a commit to vshankar/ceph that referenced this pull request Mar 16, 2026
* refs/pull/61981/head:

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

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

@vshankar
Copy link
Contributor

jenkins retest this please

@vshankar
Copy link
Contributor

@neesingh-rh please mixup the failing jenkins test. This is ready to merge.

@neesingh-rh
Copy link
Contributor Author

jenkins test docs

@neesingh-rh
Copy link
Contributor Author

@neesingh-rh please mixup the failing jenkins test. This is ready to merge.

readthedocs check is failing, which seems unrelated to the change.

@vshankar
Copy link
Contributor

@neesingh-rh - can you rebase and push please?

neeraj pratap singh added 2 commits March 18, 2026 15:04
Fixes: https://tracker.ceph.com/issues/70198
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
…consecutive zeroes

Fixes: https://tracker.ceph.com/issues/70198
Signed-off-by: neeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>
@neesingh-rh neesingh-rh force-pushed the wip-fix-check-for-zero branch from 8710168 to 3689aef Compare March 18, 2026 09:34
@neesingh-rh
Copy link
Contributor Author

@neesingh-rh - can you rebase and push please?

Rebased

@vshankar
Copy link
Contributor

jenkins retest this please

@vshankar
Copy link
Contributor

jenkins test api

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