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

Error extracting libnmstate.so.1.3.3 when create image

XMLWordPrintable

    • No
    • Agent Sprint 233
    • 1
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • 4/11: telco reviewed

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

      Description of problem:

      There is error when creating image:
      FATAL failed to fetch Agent Installer ISO: failed to generate asset "Agent Installer ISO": stat /home/core/.cache/agent/files_cache/libnmstate.so.1.3.3: no such file or directory

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

      4.13.0-0.nightly-2023-04-06-060829

      How reproducible:

      always

      Steps to Reproduce:

      1. Prepare the agent-config.yaml and install-config.yaml files
      
      2. Run 'bin/openshift-install agent create image --log-level debug'
      
      3. There is following output with errors:
      DEBUG extracting /usr/bin/agent-tui to /home/core/.cache/agent/files_cache, oc image extract --path /usr/bin/agent-tui:/home/core/.cache/agent/files_cache --confirm quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c11d31d47db4afb03e4a4c8c40e7933981a2e3a7ef9805a1413c441f492b869b 
      DEBUG Fetching image from OCP release (oc adm release info --image-for=agent-installer-node-agent --insecure=true registry.ci.openshift.org/ocp/release@sha256:83caa0a8f2633f6f724c4feb517576181d3f76b8b76438ff752204e8c7152bac) 
      DEBUG extracting /usr/lib64/libnmstate.so.1.3.3 to /home/core/.cache/agent/files_cache, oc image extract --path /usr/lib64/libnmstate.so.1.3.3:/home/core/.cache/agent/files_cache --confirm quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c11d31d47db4afb03e4a4c8c40e7933981a2e3a7ef9805a1413c441f492b869b 
      DEBUG File /usr/lib64/libnmstate.so.1.3.3 was not found, err stat /home/core/.cache/agent/files_cache/libnmstate.so.1.3.3: no such file or directory 
      ERROR failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors 
      FATAL failed to fetch Agent Installer ISO: failed to generate asset "Agent Installer ISO": stat /home/core/.cache/agent/files_cache/libnmstate.so.1.3.3: no such file or directory  

      Actual results:

      The image generate fail

      Expected results:

      The image should generate success.

      Additional info:

       

              bfournie@redhat.com Robert Fournier
              openshift-crt-jira-prow OpenShift Prow Bot
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: