Repository navigation
crimson/os,tools,qa: fix crimson-objectstore-tool tests - #68474
Merged
Merged
Conversation
ronen-fr
force-pushed
the
wip-rf-smallsegs-crimson
branch
from
April 21, 2026 09:29
6cbbc80 to
81889eb
Compare
Contributor
Author
|
This PR replaces #68450 |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Will be used to force immediate GC cycles in Seastore during testing, to reduce segment pressure and avoid missing-OOL-segments conditions. Signed-off-by: Ronen Friedman <[email protected]>
This adds a GC operation to the crimson-objectstore-tool, allowing us to trigger GC cycles on demand during testing. This will help reduce segment pressure and avoid 'no-segments' conditions. Signed-off-by: Ronen Friedman <[email protected]>
The objectstore tool tests restart the OSDs without allowing enough time for GC to run, which can lead to no-OOL-segments conditions on restart. This adds a gc_before_restart option to the test config, which when set to true will run crimson-objectstore-tool --op gc on each OSD before restarting them. Fixes: https://tracker.ceph.com/issues/73101 Signed-off-by: Ronen Friedman <[email protected]>
Signed-off-by: Ronen Friedman <[email protected]>
used in testing. This translates into more segments, which helps in preventing test failures due to insufficient free segments for mounting. Signed-off-by: Ronen Friedman <[email protected]>
ronen-fr
force-pushed
the
wip-rf-smallsegs-crimson
branch
from
April 28, 2026 07:56
81889eb to
1817c0a
Compare
Contributor
Author
Contributor
Author
|
Merging based on my Teuthology runs |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ceph_objectstore_tool test is hitting space exhaustion on restart
due to segment pressure. In the test scenario, the GC is never given
a chance to run and free up segments.
This change add a new GC operation to Seastore and the
crimson-objectstore-tool, allowing us to trigger GC cycles
on demand. The test is updated to run GC before restarting
the OSDs.
Fixes: https://tracker.ceph.com/issues/73101