Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13952

python errors with the lab command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • None
    • DLE Project, DO316, DO374
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

      This is a blocker and I have experienced it in several courses before, including DO316 last week, and I've had 2 instances of it in DO374 this week. 

      I was able to resolve it using the following steps but they no longer work

      Option 1:

      $ python3 -m venv .venv/labs

      $ bash --login

      $ . .venv/labs/bin/activate

      (labs) $ pip3 install --upgrade pip

      (labs) $ pip3 install rht-labs-xxSKU --no-deps --force-reinstall --extra-index-url https://pypi.apps.tools-na.prod.nextcle.com/repository/labs/simple/

      (labs) $ lab completion bash > lab-completion

       

      Option 2:

      $ lab upgrade do374 --version 2.2.1

      (version obtained from pip3 list)

       

      My concern is why this happens and how we can fix it without reprovisioning.

      Steps to reproduce:

       

      Workaround:

      Reprovision the lab

      Expected result:

        1. image.png
          3.01 MB
          Ricardo da Costa
        2. Screenshot 2024-07-30 at 6.28.58 PM.png
          3.92 MB
          Ricardo da Costa
        3. Screenshot 2024-07-30 at 6.30.02 PM.png
          3.54 MB
          Ricardo da Costa
        4. Screenshot 2024-07-30 at 7.17.09 PM.png
          3.10 MB
          Ricardo da Costa
        5. Screenshot 2024-07-30 at 7.17.32 PM.png
          3.08 MB
          Ricardo da Costa
        6. Screenshot 2024-07-30 at 7.17.42 PM.png
          3.29 MB
          Ricardo da Costa

            glsbugs-automation@redhat.com PTL - Ansible Team
            rdacosta1@redhat.com Ricardo da Costa
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: