Skip to content

quincy: qa/cephfs: CephFSTestCase.create_client() must keyring - #56837

Merged
xiubli merged 1 commit into
ceph:quincyfrom
rishabh-d-dave:wip-65441-quincy
Aug 7, 2024
Merged

xiubli merged 1 commit into
ceph:quincyfrom
rishabh-d-dave:wip-65441-quincy

Conversation

@rishabh-d-dave

@rishabh-d-dave rishabh-d-dave commented Apr 11, 2024 •

Copy link
Copy Markdown
Contributor

Replace call to run_ceph_cmd() by call to get_ceph_cmd_stdout() in
method qa.tasks.cephfs.cephfs_test_case.CephFSTestCase.create_client().
run_ceph_cmd() will not return keyring which is wrong.
get_ceph_cmd_stdout() will return the stdout of "ceph auth add"
command, which is the keyring that is expected to be returned by
CephFSTestCase.create_client().

Fixes: https://tracker.ceph.com/issues/62246
(cherry picked from commit c9058dc)

Conflicts:

Parent ticket - https://tracker.ceph.com/issues/65441

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

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

DNM until is merged - #54946

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

Replace call to run_ceph_cmd() by call to get_ceph_cmd_stdout() in
method qa.tasks.cephfs.cephfs_test_case.CephFSTestCase.create_client().
run_ceph_cmd() will not return keyring which is wrong.
get_ceph_cmd_stdout() will return the stdout of "ceph auth add"
command, which is the keyring that is expected to be returned by
CephFSTestCase.create_client().

Fixes: https://tracker.ceph.com/issues/62246
Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit c9058dc)

Conflicts:
* qa/tasks/cephfs/cephfs_test_case.py
  Conflict occurred because class RunCephCmd hasn't been backported.
  This PR is getting it done - ceph#54946.
@rishabh-d-dave rishabh-d-dave changed the title qa/cephfs: CephFSTestCase.create_client() must keyring quincy: qa/cephfs: CephFSTestCase.create_client() must keyring Apr 12, 2024
@joscollin
joscollin requested a review from a team June 20, 2024 08:12
@joscollin

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@rishabh-d-dave

rishabh-d-dave commented Aug 7, 2024 •

Copy link
Copy Markdown
Contributor Author

QA run was successful - https://tracker.ceph.com/projects/cephfs/wiki/Quincy#2024-Aug-7

I can't merge this PR since I am the author. @lxbsz Please merge it. Also mark it's ticket as resolved. I've unblocked it - https://tracker.ceph.com/issues/65441.

@xiubli
xiubli merged commit d82cca5 into ceph:quincy Aug 7, 2024
@rishabh-d-dave
rishabh-d-dave deleted the wip-65441-quincy branch August 27, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants