Bug 1856438 - [CNAO] Upgrade is not completed (wrong operatorVersion), CR is not updated.
Summary: [CNAO] Upgrade is not completed (wrong operatorVersion), CR is not updated.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 2.4.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 2.4.0
Assignee: Simone Tiraboschi
QA Contact: Ruth Netser
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-13 16:13 UTC by Ruth Netser
Modified: 2020-07-28 19:11 UTC (History)
3 users (show)

Fixed In Version: cluster-network-addons-operator-container-v2.4.0-36, hco-bundle-registry-container-v2.3.0-481
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-28 19:10:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3194 0 None None None 2020-07-28 19:11:03 UTC

Internal Links: 1856447

Description Ruth Netser 2020-07-13 16:13:57 UTC
Description of problem:
Upgrade CNV 2.3.0 -> 2.4.0
networkaddonsconfigs.networkaddonsoperator.network.kubevirt.io observedVersion is truncated, CR fails to be updated. kubemacpool is not deployed
 

Version-Release number of selected component (if applicable):
CNV 2.3.0 -> 2.4.0

How reproducible:
100%

Steps to Reproduce:
1. OCP 4.5.0
2. Upgrade CNV 2.3.0 - >2.4.0
3.

Actual results:
networkaddonsconfigs CR is not updated

Expected results:
All CRs should be updated.

Additional info:

===================
$ oc get mutatingwebhookconfigurations -A
NAME                        WEBHOOKS   AGE
cdi-api-datavolume-mutate   1          5h14m
virt-api-mutator            3          5h14m

===================

Comment 2 Petr Horáček 2020-07-13 18:02:22 UTC
The fix should be as simple as https://github.com/kubevirt/cluster-network-addons-operator/pull/465.

I suggest we make this into a blocker. The bug prevents upgrades from finishing.

Comment 3 Ruth Netser 2020-07-16 14:47:31 UTC
Expceted digest sha256_<untrunctaed data>
Passed sha256:<untrunctaed data>

Re-opening

Comment 6 Ruth Netser 2020-07-20 12:38:08 UTC
Verified on OCP 4.5.0-rc7, CNV 2.3.0 -> 2.4.0 upgrade
cluster-network-addons-operator-container-v2.4.0-36
hyperconverged-cluster-operator-container-v2.4.0-68

CNV upgrade ends successfully.
HCO is running

$ oc get pod -n openshift-cnv|grep hco
hco-operator-78bb789997-x5h84                         1/1     Running   0          32m


$ oc get csv -n openshift-cnv 
NAME                                      DISPLAY                    VERSION   REPLACES                                  PHASE
kubevirt-hyperconverged-operator.v2.4.0   OpenShift Virtualization   2.4.0     kubevirt-hyperconverged-operator.v2.3.0   Succeeded



$ oc get hyperconvergeds.hco.kubevirt.io -oyaml -n openshift-cnv
....
....
  status:
    conditions:
    - lastHeartbeatTime: "2020-07-20T12:34:27Z"
      lastTransitionTime: "2020-07-20T09:33:13Z"
      message: Reconcile completed successfully
      reason: ReconcileCompleted
      status: "True"
      type: ReconcileComplete
    - lastHeartbeatTime: "2020-07-20T12:34:27Z"
      lastTransitionTime: "2020-07-20T12:21:55Z"
      message: Reconcile completed successfully
      reason: ReconcileCompleted
      status: "True"
      type: Available
    - lastHeartbeatTime: "2020-07-20T12:34:27Z"
      lastTransitionTime: "2020-07-20T12:21:54Z"
      message: Reconcile completed successfully
      reason: ReconcileCompleted
      status: "False"
      type: Progressing
    - lastHeartbeatTime: "2020-07-20T12:34:27Z"
      lastTransitionTime: "2020-07-20T12:20:10Z"
      message: Reconcile completed successfully
      reason: ReconcileCompleted
      status: "False"
      type: Degraded
    - lastHeartbeatTime: "2020-07-20T12:34:27Z"
      lastTransitionTime: "2020-07-20T12:21:54Z"
      message: Reconcile completed successfully
      reason: ReconcileCompleted
      status: "True"
      type: Upgradeable

Comment 9 errata-xmlrpc 2020-07-28 19:10:53 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/RHSA-2020:3194


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