mds: comply with the valid range for mds_log_max_segments#56634
mds: comply with the valid range for mds_log_max_segments#56634neesingh-rh wants to merge 2 commits intoceph:mainfrom
mds_log_max_segments#56634Conversation
leonid-s-usov
left a comment
There was a problem hiding this comment.
There are more places to be addressed post #48732. The new minimum of 8 also invalidates some tests that try to set the property to 1. I found two such cases:
qa/tasks/cephfs/test_meta_injection.py:TestMetaInjection.test_meta_injectionqa/workunits/restart/test-backtraces.py:flush()
I'm not ready to say whether those tests will need a more significant refactoring or just set the value to the new minimum (8)
batrick
left a comment
There was a problem hiding this comment.
Use mds: for the component please.
And I echo @leonid-s-usov 's comment.
Since we use unsigned integer for the config option `mds_log_max_segments` , the value '-1' is not permitted. And there's no need to disable this limit. Hence removing this statement from the its description. Fixes: https://tracker.ceph.com/issues/64064 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
|
I find it suspicious that the updated tests weren't failing before this change. @neesingh-rh, could you please verify that the tests are being run by teuthology? |
mds_log_max_segments
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
As asked by @leonid-s-usov , I did check some of the runs to check why the tests weren't failing before. I did check the code and we should be getting the error caught here: https://github.com/ceph/ceph/blob/main/src/common/ceph_context.cc#L613 . I didn't find this test being run in teuthology. @vshankar Any reason? Or Am I wrong somewhere. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
@neesingh-rh Do you plan to refurbish this change? As far as #56634 (comment) is concerned, please look into one of the latest fs suite runs to assess if the tests are being run and the relevant config (set to 1) is indeed getting exercised. |
|
@neesingh-rh ping |
The PR addresses the requirements of the respective tracker. Need to look one of the latest runs for this comment:#56634 (comment) |
|
@neesingh-rh Looks like test_meta_injection isn't run from anywhere color me surprised o_O |
yes, May be it was added to test it locally. I am not sure about the reason. But yeah, the PR updates the config option with its new min value. So, we can go ahead with this. What say? |
Then let's add changes to start running the test. The type of the config is unsigned int, so setting to -1 should fail. |
ae5be6b to
24fa6e2
Compare
@vshankar I have created a yaml file in |
|
@neesingh-rh Do you know where |
Oh, this also needs to be taken care of!! I have no idea where should it be added. |
|
@mchangir Your testing label has been added, any updates? |
probably this wasn't put to test |
|
@rishabh-d-dave Can this be added in any of your runs? |
|
jenkins test windows |
|
This PR is under test in https://tracker.ceph.com/issues/71663. |
A large number of jobs failed to an unrelated error, deferring QA run until it is fixed. |
|
This PR is under test in https://tracker.ceph.com/issues/71703. |
…g 'test_meta_injection' into test suite Fixes: https://tracker.ceph.com/issues/64064 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
|
@rishabh-d-dave ping? |
|
Had a chat with Neeraj regarding this PR. He misread this comment - #56634 (review) and will be taking a look into the failed QA job. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
|
Reopened for Umbrella release. |
Fixes: https://tracker.ceph.com/issues/64064
Signed-off-by: Neeraj Pratap Singh neesingh@redhat.com
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e