Repository navigation
quincy: MDSAuthCaps: print better error message for perm flag in MDS caps - #54946
Conversation
|
No cause for failure was found, unlikely that this PR will be related. https://jenkins.ceph.com/job/ceph-api/66223/ |
|
jenkins test api |
d520392 to
775dce0
Compare
|
jenkins test api |
|
Majority of job failures don't look related but few are. Following are a couple of them - job #7567582 and job #7573791. Both these failures needs PR #52709 to be backported along with this PR. |
|
Failure on job #7573798 is also related to this PR. The method that has this issue can't be fixed with a backport because this method has undergone several changes compared to Quincy. So, I'll add a commit that directly fixes this issue in Quincy. |
|
@rishabh-d-dave please fix jenkins failures and update. |
|
Strange that all jobs page state "not found". https://jenkins.ceph.com/job/ceph-api/70104/ And signed off job report no issues - https://jenkins.ceph.com/job/ceph-pr-commits/36676/ |
|
All commits here are signed AFAIS - |
Could you rebase and repush then? |
Importing entire module ceph_manager.py is pointless since only ceph_manager.CephManager is required in qa/tasks/cephfs/filesystem.py. Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit 437f2c7)
To run a Ceph command conveniently, run_cluster_cmd(), raw_cluster_cmd() or raw_cluster_cmd_result() must be called. These methods are available in class CephManager which in turn is available only if an instance of Filesystem, MDSCluster, CephCluster or MgrCluster is initialized. Having an instance of CephManager in CephFSTestCase will provide easy access to these methods. For example, in CephFS tests writing "self.mon_manager.raw_cluser_cmd()" instead of writing "self.mds_cluster.mon_manager.raw_cluster()" will suffice. This commit provides a basis for upcoming commits in this patch series. With next patches, running Ceph command will be further simplified. Just writing self.run_ceph_cmd() will suffice for running a CephFS command. Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit 0c00410)
run_cluster_cmd() method is not available anymore because it was deleted here on this PR - https://github.com/ceph/ceph/pull/50569/files#diff-1c6c246ba42f343603d7174198dd1fb9c2654b6c883594d1a0891096b7a35875L408 Fixes: https://tracker.ceph.com/issues/62243 Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit 27f43c9)
8427d31 to
55cbb9f
Compare
Done. |
|
link to failed make check job - https://jenkins.ceph.com/job/ceph-pull-requests/131400 |
|
jenkins test make check |
71c38d6 to
a18630c
Compare
Replace calls to run_cluster_cmd() by calls to run_ceph_cmd(). Ideally, a backport should have fixed this issue but the method under inspection here, "get_mon_cap_from_keyring()", has gone through lots of changes, compared to the main branch, along with rest of caps_helper.py. To avoid backporting large amount of QA changes, writing a specific fix will be easier and faster. This will also help with rest of Quincy backports since this patch series/PR makes an important change to QA code. Signed-off-by: Rishabh Dave <[email protected]>
Use LocalContext instance to set LocalCephManager.cluster. Fixes: https://tracker.ceph.com/issues/53601 Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit d9fbf65)
a18630c to
10c3659
Compare
|
jenkins test api |
|
Last |
Changes have been incorporated
Directory hierarchy may be deep for a large filesystem, dump loads would output a lot and take a long time. So add an arg to limit depth when dump loads of dirfrags. Fixes: https://tracker.ceph.com/issues/56058 Signed-off-by: haoyixing <[email protected]> (cherry picked from commit a8f138c) Conflicts: * qa/tasks/cephfs/test_admin.py Conflict occurred because test_admin.py on Quincy branch was updated by PR ceph#54946.
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.
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/ceph#54946.
backport tracker: https://tracker.ceph.com/issues/63407
backport of #52042
parent tracker: https://tracker.ceph.com/issues/61666
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh