Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1458224

Summary: Improve check PGS when OSD daemons are restarted
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Guillaume Abrioux <gabrioux>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Manohar Murthy <mmurthy>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0CC: adeza, anharris, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan, seb
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-2.3.0-0.1.rc5.el7cp Ubuntu: ceph-ansible_3.0.0~rc3-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:33:43 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:

Description Guillaume Abrioux 2017-06-02 10:38:44 UTC
Description of problem:

The check of PGs is not really efficient because the current check might be satisfied as long as 1 PG is active+clean.


How reproducible:

The check occurs when the handler are triggered after any modification has been brought to ceph.conf.


Steps to Reproduce:
1. Deploy a new cluster
2. Make a change 
3. run the installer again so the daemons are restarted (OSD in this case)

Actual results:

When the OSD daemons are restarted, the check will be satisfied as long as the pattern 'active+clean' is found in the ceph status output.

Expected results:

The check is satisfied only if the total number of PGs are in 'active+clean' state.


fix: https://github.com/ceph/ceph-ansible/pull/1580
backport: https://github.com/ceph/ceph-ansible/pull/1581

Comment 3 seb 2017-06-12 10:04:35 UTC
We have this new approach new: https://github.com/ceph/ceph-ansible/pull/1584

Comment 5 Ken Dreyer (Red Hat) 2017-07-06 11:21:48 UTC
The PRs are merged upstream to master, so this will be fixed in the upcoming ceph-ansible v2.3.0.

Comment 10 errata-xmlrpc 2017-12-05 23:33:43 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-2017:3387