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

Suggestion for virt-install(1) and --os-variant=XYZ parameter

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • virt-manager
    • None
    • No
    • Low
    • rhel-virt-core-libvirt-2
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      These days, virt-install seems to require:

      --os-variant=XYZ

      e.g.

      --os-variant=rhel10.0

      If said parameter isn't provided it will cause the following error message to appear and the installation stops immediately:

      Starting install...
      ERROR    Couldn't find kernel for install tree.
      Domain installation does not appear to have been successful.
      If it was, you can restart your domain by running:
        virsh --connect qemu:///system start RHEL10-Test-VM
      otherwise, please restart your installation.
      

      There are at least two Bugzilla entries for Fedora for this and four pages of Google hits when searching for this particular error message. Unfortunately, a lot of the suggested solutions there are wrong. So I think this might perhaps be a good opportunity for an article in the RH knowledge base. I couldn't find one.

      This is obviously a very minor inconvenience, but I thought I might still create a Jira issue just in case anyway.

              phrdina@redhat.com Pavel Hrdina
              rh-ee-mweckbec Matthias Weckbecker
              virt-maint virt-maint
              Hongzhou Liu Hongzhou Liu
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: