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

RHELAI 1.3: cannot run ilab as user if ILAB_HOME is being set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • RHELAI Backlog
    • RHELAI 1.3 GA
    • Containers
    • None
    • Critical
    • Proposed

      To Reproduce Steps to reproduce the behavior:

      1. Pick latest image (  rhel-ai-nvidia-1.3-1732014878-x86_64-kvm.qcow2) from stage (https://downloads.corp.stage.redhat.com/internal/product/932/ver=1.3/rhel---9/1.3/rhelai-1.3-for-rhel-9-x86_64-isos/x86_64/cs-downloads)  and deploy it on IBM Cloud
      2. Connect as user and run ilab

       

      [cloud-user@ecosystem-qe-auto ~]$ whoami
      cloud-user
      [cloud-user@ecosystem-qe-auto ~]$ ilab --version
      Trying to pull registry.stage.redhat.io/rhelai1/instructlab-nvidia-rhel9:1.3-1730980057...
      Error: initializing source docker://registry.stage.redhat.io/rhelai1/instructlab-nvidia-rhel9:1.3-1730980057: unable to retrieve auth token: invalid userin to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthenticati
      [cloud-user@ecosystem-qe-auto ~]$ ~/bin/ilab --version
      Trying to pull quay.io/redhat-user-workloads/rhel-ai-tenant/instructlab-nvidia/instructlab-nvidia:b9d32efffccf2354088c7c24462c5dd1e1613482...
      Error: initializing source docker://quay.io/redhat-user-workloads/rhel-ai-tenant/instructlab-nvidia/instructlab-nvidia:b9d32efffccf2354088c7c24462c5dd1e154088c7c24462c5dd1e1613482 in quay.io/redhat-user-workloads/rhel-ai-tenant/instructlab-nvidia/instructlab-nvidia: unauthorized: access to the requested r
      
      
      [cloud-user@ecosystem-qe-auto ~]$ sudo -i 
      [root@ecosystem-qe-auto ~]# ilab --version
      ilab, version 0.19.4

      If executed as root, ilab seems to work just fine

       

       

       

      Expected behavior

      • ilab to execute successfully as user

      Screenshots

      • Attached Image 

      Device Info (please complete the following information):

      • Hardware Specs: IBM Clloud
      • OS Version: RHEL AI 1.3 
      • Python Version: Python 3.9.18InstructLab Version: cannot get it as user. 

      Additional context

       

              fdupont@redhat.com Fabien Dupont
              cvultur@redhat.com Constantin Daniel Vultur
              Javi Polo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: