Skip to content

reef: qa/cephfs: CephFSTestCase.create_client() must keyring - #56836

Merged
joscollin merged 1 commit into
ceph:reeffrom
rishabh-d-dave:wip-65440-reef
Jun 18, 2024
Merged

joscollin merged 1 commit into
ceph:reeffrom
rishabh-d-dave:wip-65440-reef

Conversation

@rishabh-d-dave

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

Copy link
Copy Markdown
Contributor

Backport: 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/65440
Original-issue: https://tracker.ceph.com/issues/62246
Original-PR: #41779
(cherry picked from commit c9058dc)

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

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)
@rishabh-d-dave
rishabh-d-dave requested a review from vshankar April 11, 2024 18:39
@github-actions github-actions Bot added this to the reef milestone Apr 11, 2024
@rishabh-d-dave rishabh-d-dave changed the title qa/cephfs: CephFSTestCase.create_client() must keyring reef: qa/cephfs: CephFSTestCase.create_client() must keyring Apr 12, 2024
@leonid-s-usov

Copy link
Copy Markdown
Contributor

jenkins test make check

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

@joscollin

Copy link
Copy Markdown
Member

@joscollin
joscollin merged commit c6a5f17 into ceph:reef Jun 18, 2024
@rishabh-d-dave
rishabh-d-dave deleted the wip-65440-reef branch July 10, 2024 17:07
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