Skip to content

squid: qa/cephfs: mark file system joinable for fs rename tests before unmounting clients#58495

Merged
lxbsz merged 2 commits intoceph:squidfrom
joscollin:wip-66728-squid
Jul 22, 2024
Merged

squid: qa/cephfs: mark file system joinable for fs rename tests before unmounting clients#58495
lxbsz merged 2 commits intoceph:squidfrom
joscollin:wip-66728-squid

Conversation

@joscollin
Copy link
Member

@joscollin joscollin commented Jul 10, 2024

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

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

vshankar and others added 2 commits July 10, 2024 09:55
…nting clients

Fixes: http://tracker.ceph.com/issues/66088
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 74452ad)
To avoid all sorts for races that could happen when using
sleep().

Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 3005495)
@github-actions github-actions bot added cephfs Ceph File System tests labels Jul 10, 2024
@github-actions github-actions bot added this to the squid milestone Jul 10, 2024
@joscollin
Copy link
Member Author

jenkins test api

@joscollin
Copy link
Member Author

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

self.fail("expected renaming of a non-existent file system to fail")
self.run_ceph_cmd(f'fs set {self.fs.name} joinable true')
self.fs.wait_for_daemons()
self.run_ceph_cmd(f'fs set {self.fs.name} refuse_client_session false')
Copy link
Member

Choose a reason for hiding this comment

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

I am afraid this change just triggered this test failure:

https://pulpito.ceph.com/jcollin-2024-07-12_00:07:25-fs-wip-jcollin-testing-20240711.095637-squid-distro-default-smithi/7798072

Maybe we should set refuse_client_session to false just before pulling the fs cluster up ?

Copy link
Member

@lxbsz lxbsz left a comment

Choose a reason for hiding this comment

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

None of the failure is related to this backport PR:

More detail please see section 2024-07-17 in https://tracker.ceph.com/projects/cephfs/wiki/Squid.

@lxbsz lxbsz merged commit d535759 into ceph:squid Jul 22, 2024
@joscollin joscollin deleted the wip-66728-squid branch July 23, 2024 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants