Uploaded image for project: 'RHEL Documentation'
  1. RHEL Documentation
  2. RHELDOCS-19011

Image builder documentation need update to the list of the packages which are required for "image-installer"

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • CCS 2024-23
    • None
    • Unspecified
    • Unspecified
    • Unspecified

      Document link: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/composing_a_customized_rhel_system_image/creating-system-images-with-composer-command-line-interface_composing-a-customized-rhel-system-image#packages-installed-by-default_creating-system-images-with-composer-command-line-interface

      Section number and name:

      4.9. Packages installed by RHEL image builder 

      Describe the issue:

      Customer is using Image builder to create ISO of type "image-installer" but doing so while using a custom repository which does not have all the pacakges. They have created repository of only the packages they need.

      While creating the image of type "image-installer" the system pulls certain packages i.e. "gnome-kiosk, google-noto-sans-cjk-ttc-fonts" even though these package are not mentioned in the blueprint , nor are they dependency to any of the packages they require in the blueprint and also these package are not listed in the required packages list in the documentation section 4.9 under "image-installer"

      Error message details:
      Image creation failed.
      DNF error occurred: MarkingErrors: Error occurred when marking packages for installation: Problems in request: missing packages: gnome-kiosk, google-noto-sans-cjk-ttc-fonts

       

      Customer found that in upstream osbuild component these package are indeed lists n the code which is what is pulling these package into the build

      https://github.com/osbuild/images/blob/main/pkg/distro/rhel/rhel9/bare_metal.go#L229-L230

       

      I also tested the image creation of type "image-installer" and can see that these package are indeed pulled in the build, although not referenced in our doc.

      # composer-cli compose log 0dea8337-17d7-49d6-a8fc-7624d39bfcb2 | grep -e  gnome-kiosk -e google-noto-sans-cjk-ttc-fonts
      gnome-kiosk-40.0-5.el9.x86_64
      google-noto-sans-cjk-ttc-fonts-20230817-2.el9.noarch
            "name": "gnome-kiosk",
            "name": "google-noto-sans-cjk-ttc-fonts",
      gnome-kiosk-40.0-5.el9.x86_64
      google-noto-sans-cjk-ttc-fonts-20230817-2.el9.noarch 

       

       

      Impact of this issue:

      This is a development issue for the customer.

      Suggestions for improvement:

      So we need to update our documentation with the updated list of the required package for "image-installer" so customer's are aware of these package and can include them in their custom repositories.

              elpereir@redhat.com Eliane Pereira
              rhn-support-amepatil Ameya Patil
              RHEL Docs RHEL Docs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: