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

Image builder may fail unable to access host entitlement keys

    • No
    • Critical
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      Here's a sequence of commands to reproduce the problem

      $ cat /etc/redhat-releaseĀ 
      Red Hat Enterprise Linux release 9.4 (Plow)
      $ sudo podman pull --authfile ~/.pull-secret.json registry.redhat.io/rhel9/bootc-image-builder:9.5-1732656539
      ...
      ...
      $ sudo podman pull --authfile ~/.pull-secret.json registry.redhat.io/rhel9/rhel-bootc:9.4
      ...
      ...
      $ sudo podman run --rm -i --privileged --pull=newer --security-opt label=type:unconfined_t \
          -v /tmp:/output -v /var/lib/containers/storage:/var/lib/containers/storage \
          registry.redhat.io/rhel9/bootc-image-builder:9.5-1732656539 \
          --type anaconda-iso --local registry.redhat.io/rhel9/rhel-bootc:9.4
      Generating manifest manifest-anaconda-iso.json
      2024/11/28 06:55:00 error: cannot build manifest: failed to read TLS client key from the container: reading /var/lib/containers/storage/overlay/183fc5baad332143228f0d2f742c9a828b334c6aaaa8dc6ac824f07935fbd1bf/merged/etc/pki/entitlement-host/1737535740272045368-key.pem from dd10910bec371ef929986c15be4d3f48c11f6ebf788a6575fbed2d47cf4f2cfb container failed: exit status 1
      stderr:
      cat: /var/lib/containers/storage/overlay/183fc5baad332143228f0d2f742c9a828b334c6aaaa8dc6ac824f07935fbd1bf/merged/etc/pki/entitlement-host/1737535740272045368-key.pem: No such file or directory  

              akoutsou@redhat.com Achilleas Koutsou
              ggiguash@redhat.com Gregory Giguashvili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: