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

Image builder via podman does not take subscriptions

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None
    • None

      Regression, this worked I believe. This works with bootc-image-builder, never worked with ibcli so far.

      [root@rhel9-lzap ~]# dnf repolist
      Updating Subscription Management repositories.
      ID repozitáře:                                                                       Název repozitáře:
      copr:copr.fedorainfracloud.org:group_osbuild:image-builder                           Copr repo for image-builder owned by @osbuild
      rhel-9-for-x86_64-appstream-rpms                                                     Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
      rhel-9-for-x86_64-baseos-rpms                                                        Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
      
      [root@rhel9-lzap ~]# podman run --privileged  -v ./blueprint.toml:/blueprint.toml    -v ./output:/output  ghcr.io/osbuild/image-builder-cli:latest    build    qcow2    --distro rhel-9.7    --blueprint /blueprint.toml   --verbose
      Manifest generation step
      Building manifest for rhel-9.7-qcow2
      error: error depsolving: running osbuild-depsolve-dnf failed:
      DNF error occurred: RepoError: There was a problem reading a repository: Failed to download metadata for repo '26603f651bb57ba2e147734b27623ddbf53cb80b2ef295d8e0c633647cdd7ea6' [baseos: https://cdn.redhat.com/content/dist/rhel9/9.7/x86_64/baseos/os]: Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://cdn.redhat.com/content/dist/rhel9/9.7/x86_64/baseos/os/repodata/repomd.xml [error setting certificate file: /etc/rhsm/ca/redhat-uep.pem]
      

              Unassigned Unassigned
              rhn-engineering-lzapletal Lukáš Zapletal
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: