[21.05] fc-ceph: improve osd safety check UX #806
Merged
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.
In accordance to everyday operations usage, reduce the strictness of the
default safety check when destroying OSDs. By default, we use
ok-to-stop
which allows degraded data redundancy as long as thecluster stays IO-operational.
The old
safe-to-destroy
check behaviour is available under the newflag
--strict-safety-check
.This overall increases the UX safety of common operations tasks, as we accept temporarily degrading the redundancy for rebuilds as long as data stays available. Previously, we had to disable safety checks altogether, now the default safety check allows these operations but still prevents us from breaking availability.
The check mechanism has also been added to
fc-ceph osd deactivate
. Thereactivate
operation does its own checking anyways and is not affected.@flyingcircusio/release-managers
Release process
Impact: internal only
Changelog:
--unsafe-destroy
->--no-safety-check
Security implications