Bug 1329983

Summary: Number of inconsistent pgs showing using ceph -s and rados list-inconsistent-pg Pool-Name is not matching
Product: Red Hat Ceph Storage Reporter: Tanay Ganguly <tganguly>
Component: RADOSAssignee: Kefu Chai <kchai>
Status: CLOSED NOTABUG QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.0CC: ceph-eng-bugs, dzafman, kchai, kurs
Target Milestone: rc   
Target Release: 2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 10:21:25 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:

Description Tanay Ganguly 2016-04-25 08:41:51 UTC
Description of problem:
Number of inconsistent pgs showing using ceph -s and rados list-inconsistent-pg Tanay-RBD is not matching.

Version-Release number of selected component (if applicable):
10.1.1.1

How reproducible:
NA

Steps to Reproduce:
1. My Cluster have some inconsistent pgs ( Will file a separate defect for it, as why/how it become inconsistent)
2. "rados list-inconsistent-pg Tanay-RBD" command is showing 14 entries

["4.10","4.16","4.5f","4.89","4.f6","4.11c","4.149","4.191","4.19a","4.1a6","4.1bf","4.1c5","4.1cd","4.1f4"].

3. But ceph -s is showing as 15 pgs inconsistent

ceph -s
    cluster f1627c1f-07ee-46ae-a686-33a16e07cc75
     health HEALTH_ERR
            15 pgs inconsistent
            26 scrub errors
     monmap e1: 1 mons at {cephqe3=10.70.44.40:6789/0}
            election epoch 4, quorum 0 cephqe3
     osdmap e1701: 27 osds: 27 up, 27 in
            flags sortbitwise
      pgmap v198210: 1152 pgs, 6 pools, 215 GB data, 51786 objects
            668 GB used, 28488 GB / 29157 GB avail
                1137 active+clean
                  15 active+clean+inconsistent

Actual results:
Number of inconsistent pgs is not matching.

Expected results:
Number of inconsistent pgs should match

Comment 3 Tanay Ganguly 2016-04-25 10:21:25 UTC
Marking this BUG as Invalid, as there was 1 inconsistent PG was from different pool which i didn't check earlier