Bug 1727026

Summary: [4.2] ClusterOperator network missing ClusterStatusConditionType Upgradeable
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: NetworkingAssignee: Alexander Constantinescu <aconstan>
Status: CLOSED ERRATA QA Contact: zhaozhanqi <zzhao>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs
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 09:44:21 UTC
Description of problem:
Check clusteroperator network, 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 network's detail.
oc get co network -o yaml

Actual results:
ClusterOperator network missing ClusterStatusConditionType Upgradeable

Expected results:
ClusterStatusConditionType Upgradeable is there with proper value.

Additional info:
$ oc get co network -o yaml
apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: "2019-07-03T03:49:54Z"
  generation: 1
  name: network
  resourceVersion: "11691"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/network
  uid: 9e7c7cb2-9d45-11e9-945d-023561f97408
spec: {}
status:
  conditions:
  - lastTransitionTime: "2019-07-03T03:49:55Z"
    status: "False"
    type: Degraded
  - lastTransitionTime: "2019-07-03T03:58:09Z"
    status: "False"
    type: Progressing
  - lastTransitionTime: "2019-07-03T03:51:25Z"
    status: "True"
    type: Available
  extension: null
  versions:
  - name: operator
    version: 4.2.0-0.nightly-2019-06-30-221852

Comment 1 Casey Callendrello 2019-07-04 12:10:32 UTC
At this point in time, the network operator is always upgradable. So I suppose we should just mark it as true.

Comment 2 Alexander Constantinescu 2019-07-23 12:41:38 UTC
Hi 

A PR addressing this has been merged: https://github.com/openshift/cluster-network-operator/pull/232

Best regards
Alexander

Comment 4 zhaozhanqi 2019-07-24 07:45:39 UTC
Verified this bug on 4.2.0-0.nightly-2019-07-24-000310

  - lastTransitionTime: "2019-07-24T02:29:55Z"
    status: "True"
    type: Upgradeable

Comment 5 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