Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1724103

Summary: version is not right for cluster_version{type="cluster"} after upgrade
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: Cluster Version OperatorAssignee: Abhinav Dahiya <adahiya>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.zCC: aos-bugs, jokerman, mmccomas, wsun
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: 4.1.6
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-23 18:12:12 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 Junqi Zhao 2019-06-26 09:13:08 UTC
Description of problem:
Upgrade ocp from 4.1.2 to 4.1.3, and cluster_version{type="cluster"} from prometheus
Element	Value
{endpoint="metrics",image="quay.io/openshift-release-dev/ocp-release@sha256:9c5f0df8b192a0d7b46cd5f6a4da2289c155fd5302dec7954f8f06c878160b8b",instance="10.0.64.55:9099",job="cluster-version-operator",namespace="openshift-cluster-version",pod="cluster-version-operator-c888d9c6f-tl8g7",service="cluster-version-operator",type="cluster",version="4.1.2"}	1561510832

$ oc get clusterversion
NAME      VERSION   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.1.3     True        False         15m     Cluster version is 4.1.3



version is 4.1.2 which is not right, it should be 4.1.3 after upgrade
*************************************************************
$ oc get clusterversion -oyaml
apiVersion: v1
items:
- apiVersion: config.openshift.io/v1
  kind: ClusterVersion
  metadata:
    creationTimestamp: "2019-06-26T01:00:32Z"
    generation: 3
    name: version
    resourceVersion: "130376"
    selfLink: /apis/config.openshift.io/v1/clusterversions/version
    uid: cc83637a-97ad-11e9-8b3a-02dae18e9c40
  spec:
    channel: stable-4.1
    clusterID: 75821082-18e2-49d2-a516-3674008e5809
    desiredUpdate:
      force: false
      image: registry.svc.ci.openshift.org/ocp/release@sha256:f852f9d8c2e81a633e874e57a7d9bdd52588002a9b32fc037dba12b67cf1f8b0
      version: 4.1.3
    upstream: https://openshift-release.svc.ci.openshift.org/graph
  status:
    availableUpdates:
    - force: false
      image: registry.svc.ci.openshift.org/ocp/release@sha256:92deaadcbdb62d5d82474c22d0f976c63f15282c69615d3a655b1f60e65a057e
      version: 4.1.0-0.nightly-2019-06-20-015058
    - force: false
      image: registry.svc.ci.openshift.org/ocp/release@sha256:7fd09bb71ec9c8a041841ef526482382083dfeb9da8bb8d5ccd66b80546351c1
      version: 4.1.0-0.nightly-2019-06-25-235846
    conditions:
    - lastTransitionTime: "2019-06-26T01:14:45Z"
      message: Done applying 4.1.3
      status: "True"
      type: Available
    - lastTransitionTime: "2019-06-26T07:25:46Z"
      status: "False"
      type: Failing
    - lastTransitionTime: "2019-06-26T07:34:53Z"
      message: Cluster version is 4.1.3
      status: "False"
      type: Progressing
    - lastTransitionTime: "2019-06-26T01:00:47Z"
      status: "True"
      type: RetrievedUpdates
    desired:
      force: false
      image: registry.svc.ci.openshift.org/ocp/release@sha256:f852f9d8c2e81a633e874e57a7d9bdd52588002a9b32fc037dba12b67cf1f8b0
      version: 4.1.3
    history:
    - completionTime: "2019-06-26T07:34:53Z"
      image: registry.svc.ci.openshift.org/ocp/release@sha256:f852f9d8c2e81a633e874e57a7d9bdd52588002a9b32fc037dba12b67cf1f8b0
      startedTime: "2019-06-26T06:52:47Z"
      state: Completed
      verified: true
      version: 4.1.3
    - completionTime: "2019-06-26T06:52:47Z"
      image: quay.io/openshift-release-dev/ocp-release@sha256:9c5f0df8b192a0d7b46cd5f6a4da2289c155fd5302dec7954f8f06c878160b8b
      startedTime: "2019-06-26T01:00:47Z"
      state: Completed
      verified: false
      version: 4.1.2
    observedGeneration: 3
    versionHash: -JLI0huTTi0=
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""
************************************************************

Version-Release number of the following components:


How reproducible:

Steps to Reproduce:
1. Upgrade ocp from 4.1.2 to 4.1.3
2.
3.

Actual results:
version for cluster_version{type="cluster"} is 4.1.2

Expected results:
version for cluster_version{type="cluster"} should be 4.1.3

Additional info:

Comment 3 errata-xmlrpc 2019-07-23 18:12:12 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:1766