Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-15873

[RFE] podman machine init fails because it relies on qemu-system

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Moderate
    • rhel-container-tools
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      When running podman machine init to initialize a podman-machine VM the process fails because podman tries to call qemu-system-x86_64 which is not available in RHEL

       

      $ podman machine init
      Error: exec: "qemu-system-x86_64": executable file not found in $PATH
      
       $ virsh nodeinfo
      CPU model:           x86_64
      CPU(s):              24
      CPU frequency:       2652 MHz
      CPU socket(s):       1
      Core(s) per socket:  6
      Thread(s) per core:  2
      NUMA cell(s):        2
      Memory size:         98872284 KiB

       

      RHEL only ships and supports qemu-kvm and does not provide qemu-system-{arch}

      Please provide the package NVR for which bug is seen:

      podman-4.4.1-16.module+el8.8.0+19993+47c8ef84
      qemu-kvm-core-6.2.0-32.module+el8.8.0+18361+9f407f6e

      How reproducible:

      100%

      Steps to reproduce

      1. Install podman and qemu-kvm
      2. Attempt to initialize a VM

      Expected results

      The podman-machine VM is initialized

      Actual results

      The command fails with the following error:

      $ podman machine init 
      Error: exec: "qemu-system-x86_64": executable file not found in $PATH 

              bbaude@redhat.com Brent Baude
              rhn-support-dornelas Derrick Ornelas
              Mark Russell
              Container Runtime Eng Bot Container Runtime Eng Bot
              Bo Yang Bo Yang
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: