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

Error when attempting to create customized RHEL images for WSL environment with security profiles

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • Image Builder
    • 3
    • None

      Description of Problem:

      ----------------------------------------------

      Creating a customized RHEL image for WSL environment and using OpenSCAP policy,  `DISA STIG with GUI for Red Hat Enterprise Linux 8` or `DISA STIG for Red Hat Enterprise 8` fails with following error:

      "DNF error occurred: MarkingErrors: Error occurred when marking packages for installation: Problems in request: missing packages: xz"

      How reproducible:

      ------------------------------------

      Always

      Steps to Reproduce

      1. Access image builder on the Hybrid Cloud Console
      2. Click Red Hat Insights > RHEL > Inventory > Images. The Insights image builder dashboard will appear.
      3. Click Create image to open the Create image dialog wizard.
      4. On the Image output page, select the following:
        • From the Release list, select Red Hat Enterprise Linux (RHEL) 8.
        • From the Select target environments option, select WSL - Windows Subsystem for Linux (.tar.gz).
        • Click Next.
      5. On the Register page, select Automatically register and enable advanced capabilities. 
        • From the dropdown menu, choose an activation key to use for the image. 
        • Click Next.
      6. On the OpenSCAP page, select "DISA STIG with GUI for Red Hat Enterprise Linux 8" or "DISA STIG for Red Hat Enterprise Linux 8"
      7. On the File system configuration page, click Next
      8. On the Content page, add the `xz` packages to your image
      9. On the Name image page, enter a name for the image. 
      10. Review entries and click Create Image
      11. After a short while the image will fail to build with following message:

      DNF error occurred: MarkingErrors: Error occurred when marking packages for installation: Problems in request: missing packages: xz

      Actual Behavior

      Attempting to create WSL with security profile fails.

      Expected Behavior

      Image would be created and available to use

      Business Impact / Additional info

              sraymaek Sanne Raymaekers
              rhn-support-bkielhol Benjamin Kielhold
              None
              None
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: