Bug 1616066

Summary: ceph-ansible must allow upgrades while cluster is scrubbing
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Greg Farnum <gfarnum>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Persona non grata <nobody+410372>
Severity: high Docs Contact: Bara Ancincova <bancinco>
Priority: medium    
Version: 3.1CC: aschoen, ceph-eng-bugs, gabrioux, gmeno, nthomas, rperiyas, sankarshan, shan, tchandra, tpetr
Target Milestone: z1   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.1.7-1.el7cp Ubuntu: ceph-ansible_3.1.7-2redhat1 Doc Type: Bug Fix
Doc Text:
.`ceph-ansible` now allows upgrading a cluster that is scrubbing The `ceph-ansible` utility previously required all placement groups (PGs) in a cluster to be in the `active+clean` state. Consequently, the `noscrub` flag had to be set before upgrading the cluster to prevent PGs to be in the `active+clean+scrubbing` state. With this update, `ceph-ansible` allows upgrading a cluster even when the cluster is scrubbing.
Story Points: ---
Clone Of:
: 1637038 (view as bug list) Environment:
Last Closed: 2018-11-09 00:59:21 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: 1584264, 1637038    

Description Greg Farnum 2018-08-14 20:43:53 UTC
Description of problem: Right now, ceph-ansible requires that all PGs be "active+clean" before it will perform a rolling upgrade. It will not perform an upgrade if any PGs in the cluster are "active+clean+scrubbing". As scrubbing is a normal cluster operation, performing an upgrade requires setting the "noscrub" flag. This means we pause an important data integrity operation for the duration of an entire rolling upgrade.


How reproducible: By design.

Expected results: ceph-ansible will do an upgrade while scrubbing is ongoing.

Comment 3 Tomas Petr 2018-09-11 19:08:39 UTC
*** Bug 1627802 has been marked as a duplicate of this bug. ***

Comment 5 Sébastien Han 2018-09-26 13:28:13 UTC
in https://github.com/ceph/ceph-ansible/releases/tag/v3.1.7

Comment 18 errata-xmlrpc 2018-11-09 00:59:21 UTC
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-2018:3530