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

[Nutanix] nil error displayed when setting a not exist value in preloadedOSImageName field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18
    • Installer / Nutanix
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When setting a not exist value in preloadedOSImageName field in install-config.yaml, installer displayed err: %!w(<nil>)
      
      e.g.
      platform:
        nutanix:
          preloadedOSImageName: qe-preloaded-image
      
      # ./openshift-install create cluster --dir cluster --log-level debug
      ...
      DEBUG   Generating Platform Provisioning Check...
      FATAL failed to fetch Cluster Infrastructure Variables: failed to fetch dependency of "Cluster Infrastructure Variables": failed to generate asset "Platform Provisioning Check": platform.nutanix.preloadedOSImageName: Invalid value: "qe-preloaded-image": fail to validate the preloaded rhcos image: failed to find image by name "qe-preloaded-image". err: %!w(<nil>)

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

          4.18.0-0.nightly-2024-12-26-082500

      How reproducible:

          always

      Steps to Reproduce:

          1.Set a not exist value in preloadedOSImageName field in install-config.yaml
          2.Install cluster
          

      Actual results:

          installer displayed err: %!w(<nil>)

      Expected results:

          installer should show a reasonable error instead of error nil

      Additional info:

          

              yanhli@redhat.com Yanhua Li
              sgaoshang Shang Gao
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: