-
Bug
-
Resolution: Unresolved
-
Major
-
RHELAI 1.3 GA, RHELAI 1.2 GA
-
None
-
False
-
-
False
-
-
-
Important
To Reproduce Steps to reproduce the behavior:
- Read upgrade/update instructions at https://docs.redhat.com/en/documentation/red_hat_enterprise_linux_ai/1.2/html/updating/updating_system#updating_the_system
- authenticate against registry.stage.redhat.io
- run the documented upgrade/update command
bootc switch registry.stage.redhat.io/rhelai1/bootc-amd-rhel9:1.3-1732201177
- The bootc command fails due to auth problems
[root@GPUF333 ~]# bootc switch registry.stage.redhat.io/rhelai1/bootc-amd-rhel9:1.3-1732201177 ERROR Switching: Pulling: Creating importer: Failed to invoke skopeo proxy method OpenImage: remote error: unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication [root@GPUF333 ~]# skopeo login registry.stage.redhat.io Authenticating with existing credentials for registry.stage.redhat.io Existing credentials are valid. Already logged in to registry.stage.redhat.io [root@GPUF333 ~]# podman login registry.stage.redhat.io Authenticating with existing credentials for registry.stage.redhat.io Existing credentials are valid. Already logged in to registry.stage.redhat.io
Expected behavior
- The upgrade command should work without auth errors (assuming valid credentials)
Device Info (please complete the following information):
- Hardware Specs: N/A
- OS Version: RHEL AI 1.2
- Python Version: N/A
- InstructLab Version: N/A
Additional context
- Running an additional commmand after authenticating against the registry but before running the "bootc switch" command allows the upgrade to work
cp /run/containers/0/auth.json /etc/ostree/
- This command assumes that the upgrade is being done as root (hence the 0 uid)