Bug 1704982 - Ingress ClusterOperator status should always report versions
Summary: Ingress ClusterOperator status should always report versions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.1.0
Assignee: Dan Mace
QA Contact: Hongan Li
URL:
Whiteboard:
Depends On:
Blocks: 1705032
TreeView+ depends on / blocked
 
Reported: 2019-05-01 00:04 UTC by Ravi Sankar
Modified: 2022-08-04 22:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: As per the spec, operator should always report versions irrespective of the status condition. Also old version must be reported in case of progressing condition. Consequence: CVO may not behave correctly when versions are not reported or has incorrect versions. Fix: Report versions as per the spec. Result: CVO will operate correctly during reporting and upgrades for this operator.
Clone Of:
: 1705032 (view as bug list)
Environment:
Last Closed: 2019-06-04 10:48:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0758 0 None None None 2019-06-04 10:48:24 UTC

Description Ravi Sankar 2019-05-01 00:04:46 UTC
ClusterOperator status.versions must always be set in the palyoad otherwise it will trigger the fallback mode for the CVO which is not good.

More details: https://coreos.slack.com/archives/CCH60A77E/p1554743050139700

Comment 1 Ravi Sankar 2019-05-01 00:05:27 UTC
Fixed by https://github.com/openshift/cluster-ingress-operator/pull/200

Comment 3 Hongan Li 2019-05-06 06:43:05 UTC
upgraded from 4.1.0-0.nightly-2019-05-04-210601 to 4.1.0-0.nightly-2019-05-05-070156 and verified 

### before upgrade
$ oc get clusteroperator/ingress -o yaml
  versions:
  - name: operator
    version: 4.1.0-0.nightly-2019-05-04-210601
  - name: ingress-controller
    version: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:307e8b95f9a65100596cc3453f096fe5b4a146155b72b14bda425caf448964a9

### post upgrade
  versions:
  - name: operator
    version: 4.1.0-0.nightly-2019-05-05-070156
  - name: ingress-controller
    version: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:307e8b95f9a65100596cc3453f096fe5b4a146155b72b14bda425caf448964a9

Comment 6 errata-xmlrpc 2019-06-04 10:48:18 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:0758


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