Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-22108

hosted cluster upgrade failure from 4.13 stable to 4.14 RC6 due to field not declared in ovnKubernetesConfig schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 4.14.0
    • 4.14
    • HyperShift
    • None
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Ran a test upgrade 4.13.16->4.14.0-rc.6 using ROSA, upgrade got stuck with networking operator on HCP showing as degraded with the folowing error

      $ oc get co -o json | jq -r '.items[].status | select (.conditions) '.conditions | jq -r '.[] | select( (.type == "Degraded") and (.status == "True") )'
      
      {
        "lastTransitionTime": "2023-10-19T09:02:50Z",
        "message": "Internal error while updating operator configuration: could not apply (operator.openshift.io/v1, Kind=Network) /cluster, err: failed to apply / update (operator.openshift.io/v1, Kind=Network) /cluster: failed to create typed patch object (/cluster; operator.openshift.io/v1, Kind=Network): .spec.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding: field not declared in schema",
        "reason": "UpdateOperatorConfig",
        "status": "True",
        "type": "Degraded"
      } 

      Version-Release number of selected component (if applicable):

      4.13.16->4.14.0-rc.6

      How reproducible:

      100%

      Steps to Reproduce:

      * create 4.13.16 HCP cluster
      * upgrade to 4.14.0-rc.6 using rosa cli

      Actual results:

      the upgrade failed using 4.14 RC6 for `hostedcluster`

      Expected results:

      upgrade for hostedcluster/nodepool successfully

      Additional info:

      It appears this issue had come up earlier during the testing

              agarcial@redhat.com Alberto Garcia Lamela
              todabasi.openshift Tomas Dabasinskas
              Jean Chen Jean Chen
              Tomas Dabasinskas
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: