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

bootc-upgrade does not read the credentials of podman's auth.json

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.2
    • bootc
    • None
    • None
    • None
    • rhel-image-mode
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Use bootc upgrade to switch the bootable container when I logged in with podman to quay.io

      What is the impact of this issue to you?

      Despite being logged in with I have to manually create an auth.json file and hash my credentials to bootc to pull from my private quay.io repo.

      Please provide the package NVR for which the bug is seen:

      bootc 1.10.0

      Steps to reproduce

      1. Convert a RHEL 10 system to image mode with system-reinstall-bootc. See this issue for more details: https://issues.redhat.com/browse/RHEL-131317
      2. Login with podman to pull from a private quay.io repo
      3. bootc upgrade private_quay.io_repo

      Expected results

      bootc to use the recent podman authenticated tokens

      Actual results

      bootc kept complaining about a lack of credentials for the quay.io repo until I created my own auth.json file and hashed credentials. This was despite being logged in to the private quay.io repo with podman.

              walters@redhat.com Colin Walters
              jwyatt@redhat.com John Wyatt
              Colin Walters Colin Walters
              Xiaofeng Wang Xiaofeng Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: