Bug 1481828
| Summary: | [RFE] osd: osd_scrub_during_recovery only considers primary, not replicas | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vikhyat Umrao <vumrao> |
| Component: | RADOS | Assignee: | Josh Durgin <jdurgin> |
| Status: | CLOSED ERRATA | QA Contact: | David Zafman <dzafman> |
| Severity: | medium | Docs Contact: | Bara Ancincova <bancinco> |
| Priority: | medium | ||
| Version: | 2.3 | CC: | ceph-eng-bugs, ceph-qe-bugs, dzafman, hnallurv, icolle, kchai, kdreyer, rperiyas, vakulkar, vereddy |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | 3.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-12.2.0-1.el7cp Ubuntu: ceph_12.2.0-2redhat1xenial | Doc Type: | Enhancement |
| Doc Text: |
.Scrubbing is blocked for any PG if the primary or any replica OSDs are recovering
The `osd_scrub_during_recovery` parameter now defaults to `false`, so that when an OSD is recovering, the scrubbing process is not initialized on it. Previously, `osd_scrub_during_recovery` was set to `true` by default allowing scrubbing and recovery to run simultaneously. In addition, in previous releases if the user set `osd_scrub_during_recovery` to `false`, only the primary OSD was checked for recovery activity.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-05 23:39:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1494421 | ||
|
Description
Vikhyat Umrao
2017-08-15 20:13:21 UTC
Moving this bug to verified state.
Scrub not started till recovery cluster became active+clean.
Default value of "osd_scrub_during_recovery" param
[root@host028 ceph]# ceph --admin-daemon ceph-mon.magna028.asok config get osd_scrub_during_recovery
{
"osd_scrub_during_recovery": "false"
}
more console logs available in this privatebin link
https://privatebin-it-iso.int.open.paas.redhat.com/?6eec2fb8e6a11dcc#DBksJju4Z2GLMqexvkLhcpubwZ9hxZCBfwZz75UbB28=
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3387 |