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

[RH403][Dynolabs][Lab - lab start api-review] Chapter 10 End of Chapter Lab script failing to copy proper resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • RH403 - RHS6.11-en-5-20231214
    • RH403
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 10
    • en-US (English)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh403-6.11/pages/ch10s05
      Reporter RHNID: rhn-gps--tmichett
      Section Title:                    h2. Lab: Automate Red Hat Satellite Management
                                                           

      Issue description

      Lab start command doesn't copy community general collection (community-general-7.2.1.tar.gz) to the correct directory on workstation VM. The collection is needed to use the modules in the Ansible playbook. It does copy the Satellite collection, but the community general collection has been left off.

      We should probably place in the lab instructions that the lab script copies the Ansible collections that need to be installed and note the directory so users don't need to look at the solutions.

      NOTE: I provided some assistance for this a while back and the book should have been updated along with the lab scripts. It does appear that Dynolabs has it in the directory, but the script doesn't copy.

       
      /home/student/.venv/labs/lib/python3.9/site-packages/rh403/materials/labs/community-general-7.2.1.tar.gz
       
       
       
      Steps to reproduce:

      Run lab start command and try to install the collections based on the directions in the lab (specifically 3.2) and the community general collection isn't found.

       

      Workaround:

      Modify the instruction for students in the live course to be ...

       
      sudo ansible-galaxy collection install  -p /usr/share/ansible/collections/  /home/student/.venv/labs/lib/python3.9/site-packages/rh403/materials/labs/community-general-7.2.1.tar.gz

      Will install the collection from the resource in the Dynolabs package.

       

      Expected result:

      The script copies the file in the correct location and the book mentions in the scenario that the collections should be installed and where they are (without needing to go to the solutions).

              rht-agarrigu Austin Garrigus
              rhn-gps--tmichett Travis Michette
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: