Hello everyone,
Labs don't work at all , I tried several of them and deleting and creating my environment two times. There is some issue with the servers I think, this is what happens when i try tab completion
And this when i type the whole name without tab completion I don't think the problem is on my side
Same error for me when trying lab install gl006 I've got the following:
I've alos found the following issue on Redhat Jira [PTL-13699] DO316-4.14 All labs or GEs cannot be started - Red Hat Issue Tracker
I've tried with version 4.12 of the lab instead of 4.14 and it's working, so workaround would be to use older version of the training if it exist:
Everyone, I have a Support Request for this issues.
With details:
- course name and course code: Red Hat OpenShift I: Containers & Kubernetes (DO180) v4.14
- course version: v4.14
- chapter number: Chapter 3. Run Applications as Containers and Pods
- section number: Guided Exercise: Create Linux Containers and Kubernetes Pods
- step number in guided exercise or lab:
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command ensures that all resources are available for this exercise.
[student@workstation ~]$ lab start pods-containers
URL: https://rol.redhat.com/rol/app/courses/do180-4.14/pages/ch03s02
OUTPUT:
[student@workstation ~]$ lab start pods-container
Could not find modules for course gl006
CRITICAL: root:Traceback (most recent call last):
File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/labload.py", line 26, in loadcache
module= importlib.import_module(course)
File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name [level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gl006'
Could not find modules for course gl006
CRITICAL: root: Traceback (most recent call last):
File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/labload.py", line 26, in loadcache module= importlib.import_module(course)
File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import (name [level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'gl006'
ERROR: root: Lab script has failed due to a LabError: Script pods-container not in course library gl006 Traceback (most recent call last):
File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/lab.py", line 233, in start
grading labload.import_grading_library(config, script)
File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/labload.py", line 130, in import_grading_library raise LabError("Script %s not in course library %s" % (name, course))
labs.laberrors. LabError: Script pods-container not in course library gl006
An error has ocurred. Check the logs for more details
[student@workstation ~]$
After requesting support from the Red Hat team, they helped me resolve it.
Hello everyone,
I was facing this issue using v4.14.
1- $ rm -f -r <course_directory_name>
& then ...
2- Restart the VM from : Top Right Corner of the VM > Restart
# OR delete the lab & recreate it
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.