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

Avoid blocking installation of WMCO 7.1.x when using nightly or ci releases

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.12.z
    • 4.12
    • Windows Containers
    • None
    • No
    • 3
    • WINC - Sprint 241
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      In https://issues.redhat.com/browse/OCPBUGS-14260, it was observed that if the source OCP payload was lower than 4.12.3 some issues were occurring during the seamless upgrade from WMCO 7.0.1 to 7.1.0 (due to a missing OVN path that merged in 4.12.3). As a consequence, a blocking statement was added in WMCO 7.1.0 to make sure the OCP payload installed was 4.12.3 or older. This works well and it doesn't imply any issues with stable releases. However, in our QE testing, nightly and ci releases are used, which all have the release identifer 4.12.0-0.nightly-<year>-<month>-<day>-<time> and 4.12.0-0.ci-<year>-<month>-<day>-<time>, as it can be observed in the releases page for [nightlies|https://openshift-release.apps.ci.l2s4.p1.openshiftapps.com/#4.12.0-0.nightly] and [ci|https://openshift-release.apps.ci.l2s4.p1.openshiftapps.com/#4.12.0-0.ci] builds.
      
      This causes the following error when trying to install or upgrade any of these CI builds:
      
      {"level":"error","ts":"2023-08-05T12:08:48Z","logger":"setup","msg":"failed to validate required cluster configuration","error":"invalid OCP version: current version is v4.12.0-0.nightly-2023-08-03-163056. minimum required version for WMCO 7.1.1-4a16077 is v4.12.3. please upgrade your cluster","stacktrace":"main.main\n\t/remote-source/build/windows-machine-config-operator/cmd/operator/main.go:106\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"}
      
      Even thought this build is based on the most recent 4.12.28 release. 
      
      The consequence is that we can't have any automatic regression testing on 4.12 for any cloud provider, as nightly builds are always used and there is not way to use "stable" builds in the format 4.12.28, 4.12.5, etc...
      
      It would be very useful to improve this check so that WMCO doesn't block the installation when the build identifier includes the nightly or ci identifier.
       
      

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

      4.12 and WMCO 7.1.0
      
      

      How reproducible:

      Always
      
      

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      
      

      Expected results:

      
      

      Additional info:

      
      

            [OCPBUGS-17639] Avoid blocking installation of WMCO 7.1.x when using nightly or ci releases

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Important: Red Hat OpenShift for Windows Containers 7.2.0 security update), 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-2023:7710

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Important: Red Hat OpenShift for Windows Containers 7.2.0 security update), 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-2023:7710

            This is a CI/testing issue only. Closing since it has been verified by QE.

            Russell Teague added a comment - This is a CI/testing issue only. Closing since it has been verified by QE.

            verified by: windows-machine-config-operator-bundle-container-v7.1.1-6

            Aharon Rasouli added a comment - verified by: windows-machine-config-operator-bundle-container-v7.1.1-6

            CPaaS Service Account mentioned this issue in a merge request of openshift-winc-midstream / openshift-winc-midstream on branch rhaos-4.12-rhel-8_upstream_2c92de8aded859738524ff7828c123bd:

            Updated US source to: 538754f Merge pull request #1737 from sebsoto/fixNightlyForQE

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of openshift-winc-midstream / openshift-winc-midstream on branch rhaos-4.12-rhel-8_ upstream _2c92de8aded859738524ff7828c123bd : Updated US source to: 538754f Merge pull request #1737 from sebsoto/fixNightlyForQE

              rh-ee-ssoto Sebastian Soto
              rhn-engineering-jfrancoa Jose Luis Franco Arza (Inactive)
              Aharon Rasouli Aharon Rasouli
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: