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

IPI vSphere disconnected installation fails to use template in 4.16

    • Important
    • None
    • OpenShift SPLAT - Sprint 258, OpenShift SPLAT - Sprint 259
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when templates are defined for each failure domain, the installation program required an external connection to download the OVA in {vmw-first}. With this release, the issue is resolved. (link:https://issues.redhat.com/browse/OCPBUGS-38918[*OCPBUGS-38918*])
      Show
      * Previously, when templates are defined for each failure domain, the installation program required an external connection to download the OVA in {vmw-first}. With this release, the issue is resolved. (link: https://issues.redhat.com/browse/OCPBUGS-38918 [* OCPBUGS-38918 *])
    • Bug Fix
    • Proposed

      Description of problem:

         When installing OpenShift 4.16 on vSphere using IPI method with a template it fails with below error:
      2024-08-07T09:55:51.4052628Z             "level=debug msg=  Fetching Image...",
      2024-08-07T09:55:51.4054373Z             "level=debug msg=  Reusing previously-fetched Image",
      2024-08-07T09:55:51.4056002Z             "level=debug msg=  Fetching Common Manifests...",
      2024-08-07T09:55:51.4057737Z             "level=debug msg=  Reusing previously-fetched Common Manifests",
      2024-08-07T09:55:51.4059368Z             "level=debug msg=Generating Cluster...",
      2024-08-07T09:55:51.4060988Z             "level=info msg=Creating infrastructure resources...",
      2024-08-07T09:55:51.4063254Z             "level=debug msg=Obtaining RHCOS image file from 'https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.16-9.4/builds/416.94.202406251923-0/x86_64/rhcos-416.94.202406251923-0-vmware.x86_64.ova?sha256=893a41653b66170c7d7e9b343ad6e188ccd5f33b377f0bd0f9693288ec6b1b73'",
      2024-08-07T09:55:51.4065349Z             "level=debug msg=image download content length: 12169",
      2024-08-07T09:55:51.4066994Z             "level=debug msg=image download content length: 12169",
      2024-08-07T09:55:51.4068612Z             "level=debug msg=image download content length: 12169",
      2024-08-07T09:55:51.4070676Z             "level=error msg=failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed during pre-provisioning: failed to use cached vsphere image: bad status: 403"

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

          4.16

      How reproducible:

          All the time in user environment

      Steps to Reproduce:

          1.Try to install disconnected IPI install on vSphere using a template.
          2.
          3.
          

      Actual results:

          No cluster installation

      Expected results:

          Cluster installed with indicated template

      Additional info:

          - 4.14 works as expected in customer environment
          - 4.15 works as expected in customer environment

            [OCPBUGS-38918] IPI vSphere disconnected installation fails to use template in 4.16

            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: OpenShift Container Platform 4.18.1 bug fix and 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-2024:6122

            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: OpenShift Container Platform 4.18.1 bug fix and 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-2024:6122

            Moved to Proposed

            OpenShift Jira Bot added a comment - Moved to Proposed

            Wenxin Wei added a comment -

            verified on 4.18.0-0.nightly-2024-09-08-130531 

            Wenxin Wei added a comment - verified on 4.18.0-0.nightly-2024-09-08-130531 

            Hi rhn-support-rvanderp,

            Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

            OpenShift Jira Bot added a comment - Hi rhn-support-rvanderp , Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

            A fix is being tested. In the meantime, the disconnected instructions document the use of clusterOSImage and should provide a alternative to specifying the template in a restricted environment.

            Richard Vanderpool added a comment - A fix is being tested. In the meantime, the disconnected instructions document the use of clusterOSImage and should provide a alternative to specifying the template in a restricted environment.

            Richard Vanderpool added a comment - This appears to be related to this section of code: https://github.com/openshift/installer/blob/105d7a74d6c66ebac3ea8f28a33d326ce0e70049/pkg/infrastructure/vsphere/clusterapi/clusterapi.go#L93-L97 Investigation is under way.  

              rhn-support-rvanderp Richard Vanderpool
              rhn-support-mblach Miguel Blach
              Wenxin Wei Wenxin Wei
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: