Bug 1349913 - number of degraded objects is wrong
Summary: number of degraded objects is wrong
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat Storage
Component: unclassified
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3
Assignee: anmol babu
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On: 1358275
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-24 14:17 UTC by Lubos Trilety
Modified: 2017-03-23 04:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 04:12:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Lubos Trilety 2016-06-24 14:17:57 UTC
Description of problem:
If there is some problem like not enough OSDs object is created and goes to degraded state. The Objects area shows that there is some issue, with some object, but the number of bad objects is wrong.
There is similar issue in API.

Version-Release number of selected component (if applicable):
rhscon-core-selinux-0.0.26-1.el7scon.noarch
rhscon-ui-0.0.41-1.el7scon.noarch
rhscon-core-0.0.26-1.el7scon.x86_64
rhscon-ceph-0.0.26-1.el7scon.x86_64

How reproducible:
100%

Steps to Reproduce:
1. prepare some pool and add there several objects e.g. 4 objects
2. remove some OSDs so there is less OSDs than the pool requires
3. create another object


Actual results:
Object is created and with all related PGs go to degraded state
There is bad number of objects on any dashboard (8 degraded objects)

API returns:
"objectcount": {
"num_objects": 5
"num_objects_degraded": 8
}

There is more degraded objects than total number of them.


Expected results:
There will be number one as only one degraded object exist.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.