Bug 1727028

Summary: [4.2] ClusterOperator node-tuning missing ClusterStatusConditionType Upgradeable
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: Node Tuning OperatorAssignee: Jiří Mencák <jmencak>
Status: CLOSED NOTABUG QA Contact: Mike Fiedler <mifiedle>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: calfonso, deads, decarr, eparis, sejug
Target Milestone: ---   
Target Release: 4.3.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-09-11 06:16:45 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:47:20 UTC
Description of problem:
Check clusteroperator node-tuning, 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 node-tuning's detail.
oc get co node-tuning -o yaml

Actual results:
ClusterOperator node-tuning missing ClusterStatusConditionType Upgradeable

Expected results:
ClusterStatusConditionType Upgradeable is there with proper value.

Additional info:
$ oc get co node-tuning -o yaml
apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: "2019-07-03T03:55:13Z"
  generation: 1
  name: node-tuning
  resourceVersion: "7510"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/node-tuning
  uid: 5c1d8f3e-9d46-11e9-84e0-06632ee176f0
spec: {}
status:
  conditions:
  - lastTransitionTime: "2019-07-03T03:55:30Z"
    message: Cluster has deployed "4.2.0-0.nightly-2019-06-30-221852"
    status: "True"
    type: Available
  - lastTransitionTime: "2019-07-03T03:55:14Z"
    message: Cluster version is "4.2.0-0.nightly-2019-06-30-221852"
    status: "False"
    type: Progressing
  - lastTransitionTime: "2019-07-03T03:55:13Z"
    status: "False"
    type: Degraded
  extension: null
  relatedObjects:
  - group: ""
    name: openshift-cluster-node-tuning-operator
    resource: namespaces
  - group: tuned.openshift.io
    name: default
    namespace: openshift-cluster-node-tuning-operator
    resource: Tuned
  - group: ""
    name: tuned
    namespace: openshift-cluster-node-tuning-operator
    resource: ServiceAccount
  - group: rbac.authorization.k8s.io
    name: cluster-node-tuning:tuned
    resource: ClusterRole
  - group: rbac.authorization.k8s.io
    name: cluster-node-tuning:tuned
    resource: ClusterRoleBinding
  - group: ""
    name: tuned-profiles
    namespace: openshift-cluster-node-tuning-operator
    resource: ConfigMap
  - group: ""
    name: tuned-recommend
    namespace: openshift-cluster-node-tuning-operator
    resource: ConfigMap
  - group: apps
    name: tuned
    namespace: openshift-cluster-node-tuning-operator
    resource: DaemonSet
  versions:
  - name: operator
    version: 4.2.0-0.nightly-2019-06-30-221852

Comment 3 David Eads 2019-07-08 11:52:37 UTC
Upgradeable is an optional condition that only needs to be set if you want to block upgrades.

Comment 4 Jiří Mencák 2019-09-11 06:16:45 UTC
Closing the bug as per David's comments.  If the solution doesn't work for you, please re-open.