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

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

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-47719. The following is the description of the original issue:

      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 (Inactive)
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Shang Gao Shang Gao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: