When in-place upgrade using ISO image by ' leapp upgrade --iso' command, failed with error: ['--iso', '/XXX/rhel-XXX-x86_64-dvd.iso']

Solution Verified - Updated -

Issue

  • Failed to in-place upgrade by using ISO image as described in Upgrading from RHEL 7 to RHEL 8 and Upgrading from RHEL 8 to RHEL 9
  • '--iso' option in leapp command does not work and fails with error below:

    $ leapp preupgrade --no-rhsm --iso /iso/rhel-8.8-x86_64-dvd.iso
      usage: leapp preupgrade [-h] [--report-schema {1.0.0,1.1.0,1.2.0}]
                              [--target {8.4,8.6}] [--channel {ga,tuv,e4s,eus,aus}]
                              [--enablerepo <repoid>] [--no-rhsm] [--verbose]
                              [--debug] [--whitelist-experimental ActorName]
      ....
      ....
      error: ['--iso', '/iso/rhel-8.8-x86_64-dvd.iso']
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
    • Leapp Utility

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content