]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephfs: CephFSTestCase.create_client() must keyring
authorRishabh Dave <ridave@redhat.com>
Sun, 30 Jul 2023 17:27:37 +0000 (22:57 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 7 Sep 2023 06:07:17 +0000 (11:37 +0530)
commitc9058dc7a57530df592b9945d36cf71459946f4f
tree7b57a342e2cd8fff07482a88fc82354ad2fdd83d
parentf203542c3e4eda646e3cfaf45d89c37e2122360c
qa/cephfs: CephFSTestCase.create_client() must keyring

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 <ridave@redhat.com>
qa/tasks/cephfs/cephfs_test_case.py