Bug 1727044

Summary: [4.2] ClusterOperator storage missing ClusterStatusConditionType Upgradeable
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: StorageAssignee: Fabio Bertinatto <fbertina>
Status: CLOSED ERRATA QA Contact: Liang Xia <lxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs, aos-storage-staff, chaoyang, hekumar
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:33:07 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 Liang Xia 2019-07-04 10:04:57 UTC
Description of problem:
Check clusteroperator storage, the Upgradeable ClusterStatusConditionType is missing.
https://github.com/openshift/api/blob/master/config/v1/types_cluster_operator.go#L135


Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-06-30-221852

How reproducible:
Always

Steps to Reproduce:
1.Check clusteroperator storage's detail.
oc get co storage -o yaml

Actual results:
ClusterOperator storage missing ClusterStatusConditionType Upgradeable

Expected results:
ClusterStatusConditionType Upgradeable is there with proper value.

Additional info:
$ oc get co storage -o yaml
apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: "2019-07-03T03:55:39Z"
  generation: 1
  name: storage
  resourceVersion: "7664"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/storage
  uid: 6b9ced04-9d46-11e9-84e0-06632ee176f0
spec: {}
status:
  conditions:
  - lastTransitionTime: "2019-07-03T03:55:39Z"
    status: "True"
    type: Available
  - lastTransitionTime: "2019-07-03T03:55:39Z"
    status: "False"
    type: Degraded
  - lastTransitionTime: "2019-07-03T03:55:39Z"
    status: "False"
    type: Progressing
  extension: null
  relatedObjects:
  - group: ""
    name: openshift-cluster-storage-operator
    resource: namespaces
  - group: config.openshift.io
    name: cluster
    resource: infrastructures
  - group: storage.k8s.io
    name: gp2
    resource: storageclasses
  versions:
  - name: operator
    version: 4.2.0-0.nightly-2019-06-30-221852

Comment 1 Fabio Bertinatto 2019-07-16 15:11:11 UTC
PR submited: https://github.com/openshift/cluster-storage-operator/pull/41

Comment 3 Liang Xia 2019-07-18 01:43:20 UTC
Move bug to verified as the issue is fixed.

$ oc get co storage -o yaml
apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: "2019-07-18T01:06:12Z"
  generation: 1
  name: storage
  resourceVersion: "8867"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/storage
  uid: 3c1e46ad-a8f8-11e9-8236-000d3a93c3f4
spec: {}
status:
  conditions:
  - lastTransitionTime: "2019-07-18T01:06:12Z"
    status: "True"
    type: Available
  - lastTransitionTime: "2019-07-18T01:06:12Z"
    status: "False"
    type: Degraded
  - lastTransitionTime: "2019-07-18T01:06:12Z"
    status: "True"
    type: Upgradeable
  - lastTransitionTime: "2019-07-18T01:06:12Z"
    status: "False"
    type: Progressing
  extension: null
  relatedObjects:
  - group: ""
    name: openshift-cluster-storage-operator
    resource: namespaces
  - group: config.openshift.io
    name: cluster
    resource: infrastructures
  - group: storage.k8s.io
    name: managed-premium
    resource: storageclasses
  versions:
  - name: operator
    version: 4.2.0-0.nightly-2019-07-18-003042

Comment 4 errata-xmlrpc 2019-10-16 06:33:07 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-2019:2922