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

ISO and pxe-files creation is failing with ocp 4.18.6 in agent based based installation

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hello Team,

      ISO and pxe-files creation is not working in agent based installation.

      Both image and pxe-files are not getting created with 4.18.6.


      1. ./openshift-install 4.18.6
        built from commit dac97742beeaf409d8089e5f1932dd787709857e
        release image quay.io/openshift-release-dev/ocp-release@sha256:61fdad894f035a8b192647c224faf565279518255bdbf60a91db4ee0479adaa6
        release architecture amd64
      1. ./openshift-install agent create image --dir .
        INFO Configuration has 1 master replicas and 0 worker replicas
        INFO Consuming Install Config from target directory
        INFO Consuming Agent Config from target directory
        FATAL failed to write asset (Agent Installer ISO) to disk: cannot generate ISO image due to configuration errors
      1. ./openshift-install agent create pxe-files --dir .
        INFO Configuration has 1 master replicas and 0 worker replicas
        ERROR failed to write asset (Agent Installer PXE Files) to disk: cannot generate PXE assets due to configuration errors
        FATAL failed to fetch Agent Installer PXE Files: failed to generate asset "Agent Installer PXE Files": failed to open base initrd: open /tmp/agent1256272200/images/pxeboot/initrd.img: no such file or directory

      Able to create image with "4.18.4" but the pxe-files are not creating and failing as below.


      1. ./openshift-install version
        ./openshift-install 4.18.4
        built from commit 409dcb7b6f6ac28195223f58c143d3b63b23a5e8
        release image quay.io/openshift-release-dev/ocp-release@sha256:61dffd292f6689a3381dd05f7845dcd5d27c099fce2f460aa03d760d535f81e6
        release architecture amd64
      1. ./openshift-install agent create image --dir .
        INFO Configuration has 1 master replicas and 0 worker replicas
        INFO The rendezvous host IP (node0 IP) is 192.168.111.80
        INFO Extracting base ISO from release payload
        INFO Base ISO obtained from release and cached at [/root/.cache/agent/image_cache/coreos-x86_64.iso]
        INFO Consuming Agent Config from target directory
        INFO Consuming Install Config from target directory
        INFO Generated ISO at agent.x86_64.iso.
      1. ./openshift-install agent create pxe-files --dir .
        INFO Configuration has 1 master replicas and 0 worker replicas
        ERROR failed to write asset (Agent Installer PXE Files) to disk: cannot generate PXE assets due to configuration errors
        FATAL failed to fetch Agent Installer PXE Files: failed to generate asset "Agent Installer PXE Files": failed to open base initrd: open /tmp/agent1256272200/images/pxeboot/initrd.img: no such file or directory

      Able to create image and pxe-files with 4.16.


      1. ./openshift-install version
        ./openshift-install 4.16.10
        built from commit 0b2e4425f0895ad16097240d98286c2d6c36bc6e
        release image quay.io/openshift-release-dev/ocp-release@sha256:793bac91943944692d72a61c47a3102edb70fb2948cdf54019f06376a87298ad
        release architecture amd64
      1. ./openshift-install agent create image --dir .
        INFO Configuration has 1 master replicas and 0 worker replicas
        INFO The rendezvous host IP (node0 IP) is 192.168.111.80
        INFO Extracting base ISO from release payload
        INFO Verifying cached file
        INFO Using cached Base ISO /root/.cache/agent/image_cache/coreos-x86_64.iso
        INFO Consuming Agent Config from target directory
        INFO Consuming Install Config from target directory
        INFO Generated ISO at agent.x86_64.iso.
      1. ./openshift-install agent create pxe-files --dir .
        INFO Configuration has 1 master replicas and 0 worker replicas
        INFO The rendezvous host IP (node0 IP) is 192.168.111.80
        INFO Extracting base ISO from release payload
        INFO Verifying cached file
        INFO Base ISO obtained from release and cached at [/root/.cache/agent/image_cache/coreos-x86_64.iso]
        INFO Consuming Agent Config from target directory
        INFO Consuming Install Config from target directory
        INFO PXE boot artifacts created in: boot-artifacts
        INFO Kernel parameters for PXE boot: rw ignition.firstboot ignition.platform.id=metal

              zabitter Zane Bitter
              rhn-support-cchouhan Chandan Chouhan
              None
              None
              Manoj Hans Manoj Hans
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: