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

Misleading error message when lacking assets to create the installation image

XMLWordPrintable

    • Low
    • None
    • Agent Sprint 225
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      When the user runs:

      openshift-install agent create image --dir cluster-manifests
      

      But the manifests are either not in cluster-manifests or are missing, the error code generated by the tool leads users to believe that they are missing some tool dependency:

      ERROR failed to write asset (Agent Installer ISO) to disk: image reader not available
      

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

      How reproducible: 100%

      Steps to Reproduce:
      1. rm -fr /tmp/cluster-manifests && mkdir /tmp/cluster-manifests
      2.openshift-install agent create image --dir cluster-manifests

      Actual results:
      ERROR failed to write asset (Agent Installer ISO) to disk: image reader not available

      Expected results:
      Error: Missing manifets in the specified cluster manifest directory: "/tmp/cluster-manifests"

      Additional info:

              afasano@redhat.com Andrea Fasano
              asegurap1@redhat.com Antoni Segura Puimedon
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: