Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-2372

RHEL AI 1.2 Update/Upgrade Instructions are Incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhelai-1.3.1
    • RHELAI 1.3 GA, RHELAI 1.2 GA
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      To Reproduce Steps to reproduce the behavior:

      1. 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
      2. authenticate against registry.stage.redhat.io
      3. run the documented upgrade/update command
         bootc switch registry.stage.redhat.io/rhelai1/bootc-amd-rhel9:1.3-1732201177
      1. 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)

              kelbrown@redhat.com Kelly Brown
              tflink Tim Flink
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: