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

rhsm kickstart command does not work with livemedia-creator

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-9.2.0
    • lorax
    • lorax-34.9.26-1.el9
    • None
    • Important
    • rhel-sst-image-builder
    • ssg_front_door
    • 24
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      When using the rhsm kickstart command with livemedia-creator on RHEL the installation is terminated before it installs the packages.

      The problem is that Anaconda tries to mount the repositories from the cdrom/dvd before trying the CDN specified by the rhsm command. livemedia-creator sees the error and assumes the installation has failed so it kills the VM before Anaconda has fallen back to the CDN source.

      Version-Release number of selected component (if applicable):
      lorax-34.9.23-1
      anaconda-38.23.4-2

      How reproducible:
      Always

      Steps to Reproduce:
      1. Make a kickstart using rhsm for the content
      2. Run livemedia-creator with the kickstart
      3. Observe that the installation fails after an error

      18:10:59,811 ERR anaconda:packaging: base repo (CDROM/file:///run/install/sources/mount-0000-cdrom) not valid – removing it

      Upstream patch for lorax to work around this:
      https://github.com/weldr/lorax/pull/1325

      (Anaconda should probably also be changed to more intelligently select the base repo when using kickstart and rhsm but this should work around it for now).

              brlane@redhat.com Brian Lane
              brlane@redhat.com Brian Lane
              Brian Lane Brian Lane
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: