Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-10327

[OCI] add "netroot=iscsi rd.iscsi.firmware=1" to oci images

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None

      There are 3 modes when import qcow2 images to OCI, "Paravirtualized mode", "Emulated mode" and "Native mode".

      The first 2 modes are bios boot and the "Native mode" is uefi boot. uefi boot is the default boot mode in other distributions like Oracle Linux.

      The boot volume type is iscsi, this causes the boot problem in RHEL.

      After confirmed the iscsi drivers included in the initramfs, RHEL need to add "netroot=iscsi rd.iscsi.firmware=1" to boot parameters.

      I confirmed that RHEL can boot up normally in uefi mode and bios mode.

      Below is the error log when import image in "Native mode".

      [    3.244858] ata6: SATA link down (SStatus 0 SControl 300)
      [    3.350867] mlx5_core 0000:00:05.0: Rate limit: 127 rates are supported, range: 0Mbps to 97656Mbps
      [    3.352360] mlx5_core 0000:00:05.0: Flow counters bulk query buffer size increased, bulk_query_len(8)
      [    3.477572] mlx5_core 0000:00:05.0: MLX5E: StrdRq(1) RqSz(8) StrdSz(2048) RxCqeCmprss(0 enhanced)
      [    3.482724] mlx5_core 0000:00:05.0 enp0s5: renamed from eth0
      [  129.610449] dracut-initqueue[506]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
      [  129.613644] dracut-initqueue[506]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2fce41b806-b906-4388-8167-ca47e1bab900.sh: "if ! grep -q After=remote-fs-pre.target /run/systemd/generator/systemd-cryptsetup@*.service 2>/dev/null; then
      [  129.619410] dracut-initqueue[506]:     [ -e "/dev/disk/by-uuid/ce41b806-b906-4388-8167-ca47e1bab900" ]
      [  129.621672] dracut-initqueue[506]: fi"
      [  129.622347] dracut-initqueue[506]: Warning: dracut-initqueue: starting timeout scripts
      [  130.147393] dracut-initqueue[506]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
      [  130.149617] dracut-initqueue[506]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2fce41b806-b906-4388-8167-ca47e1bab900.sh: "if ! grep -q After=remote-fs-pre.target /run/systemd/generator/systemd-cryptsetup@*.service 2>/dev/null; then
      [  130.153141] dracut-initqueue[506]:     [ -e "/dev/disk/by-uuid/ce41b806-b906-4388-8167-ca47e1bab900" ]
      [  130.154877] dracut-initqueue[506]: fi"  

              Unassigned Unassigned
              xiliang@redhat.com Frank Liang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: