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:

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

              Created:
              Updated: