Bug 1703027

Summary: Cluster operator storage does not have value for degraded
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: StorageAssignee: Bradley Childs <bchilds>
Status: CLOSED ERRATA QA Contact: Liang Xia <lxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: aos-bugs, aos-storage-staff, pruan
Target Milestone: ---   
Target Release: 4.1.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-04 10:48:02 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 Liang Xia 2019-04-25 10:29:24 UTC
Description of problem:
Clusteroperator DEGRADED field is checking with "Degraded", but storage is using "Failing"

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

How reproducible:

Steps to Reproduce:
1. Deploy a new env on aws
2. Check clusteroperator status

Actual results:
$ oc get clusteroperator storage
storage  4.1.0-0.nightly-2019-04-25-002910   True        False                    45m

$ oc get co storage -o yaml
apiVersion: config.openshift.io/v1
kind: ClusterOperator
  creationTimestamp: "2019-04-25T09:28:21Z"
  generation: 1
  name: storage
  resourceVersion: "44624"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/storage
  uid: 777a0879-673c-11e9-8f73-02f2ab250226
spec: {}
  - lastTransitionTime: "2019-04-25T10:14:24Z"
    status: "True"
    type: Available
  - lastTransitionTime: "2019-04-25T09:28:21Z"
    status: "False"
    type: Failing
  - lastTransitionTime: "2019-04-25T10:14:24Z"
    status: "False"
    type: Progressing
  extension: null
  relatedObjects: null
  - name: operator
    version: 4.1.0-0.nightly-2019-04-25-043235

Expected results:
Clusteroperator storage show proper value for DEGRADED

Comment 1 Matthew Wong 2019-04-25 17:43:21 UTC
https://github.com/openshift/cluster-storage-operator/pull/29 has merged

Comment 4 Peter Ruan 2019-05-04 04:42:20 UTC
verified with 4.1.0-0.nightly-2019-05-03-145222

$oc get clusteroperator storage   
NAME      VERSION                             AVAILABLE   PROGRESSING   DEGRADED   SINCE
storage   4.1.0-0.nightly-2019-05-03-145222   True        False         False      6h20m

Comment 7 errata-xmlrpc 2019-06-04 10:48:02 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.