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

Boot from agent iso, entering emergency mode

XMLWordPrintable

    • Informational
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      We are installing OCP 4.16 rc4 using Agent Based Installer.
      
      Boot from agent.iso by modifying our bootloader, based on https://issues.redhat.com/browse/OCPBUGS-33999 discussion, we copy all the kernel args from agent.iso's grub.cfg, for example:
      
      (loop)/images/pxeboot/vmlinuz rw coreos.liveiso=rhcos-416.94.202405291527-0 ignition.firstboot ignition.platform.id=metal fips=1
      
      
      But we found the "coreos.liveiso=rhcos-416.94.202405291527-0" caused the boot process to get stuck and entering emergency mode, shows:
      Entering emergency mode. Exit the shell to continue.
      Type "journalctl" to view system logs.
      
      
      And by checking the logs:
      localhost systemd[1]: Ignition OSTree: Autosave XFS Rootfs Partition was skipped because of an unmet condition check (ConditionPathExists=/run/ignition-ostree-growfs.stamp).
      localhost systemd[1]: Ignition OSTree: Restore Partitions was skipped because of an unmet condition check (ConditionPathIsDirectory=/run/ignition-ostree-transposefs)
      localhost systemd[1]: dev-disk-by\x2dlabel-rhcos\x2d416.94.202405291527\x2d0.device: Job dev-disk-by\x2dlabel-rhcos\x2d416.94.202405291527\x2d0.device/start timed out.
      localhost systemd[1]: Timed out waiting for device /dev/disk/by-label/rhcos-416.94.202405291527-0.
      
      

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

       4.16.0-rc.4

      How reproducible:

        1/1

      Steps to Reproduce:

      1.Run "openshift-install-fips agent create image --dir manifest" generate agent.x86_64.iso
      2.Mount and boot from agent.x86_64.iso by modifying the bootloader and added all the kernel args from iso's grub.cfg
      3.
      

      Actual results:

      Failed at booting from agent iso

      Expected results:

       

      Additional info:

       

              zabitter Zane Bitter
              cash_zhang23 cash zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: