Hello, I have a problem with all comprehensive labs for RH134 ver.10.0.
When I try to start them using command:
lab start compreview-review1
It gives me this error:
Error: Failed to resolve lab identifier 'compreview-review1'
Caused by:
Lab keyword 'compreview-review1' not found in any installed package.
I tried to stop,delete,create the lab environment, multiple times. Tried to reinstall packages with lab clean then lab install, then again reset lab environment and nothing seems to work. Can you see what is going on? Also, I tried on RH124 terminal and they all work, also tried with RH134 9.3 and works.
I can confirm that the issue has been fixed in the latest updates. There are two things you can do now since you have an existing and running lab environment ...
1. You can restart the lab service (and wait about 65 seconds)
student@workstation:~$ sudo systemctl restart lab-service.service [sudo] password for student: student student@workstation:~$
2. Delete and re-create the lab environment
I've tested with both scenarios and it works. Also, it will work if you just did the work-around provided above.
I went and tested my env and got the exact same error message. It had worked until recently.
I think the package for the comp review isn't installed for some reason. Based on this, it looks like you might have an older manifest. I will launch one of these lab environments and test. Looking at the screenshot, the Comp Review Lesson RH0009L doesn't appear to be in the installed packages. I am looking to see why this isn't there ... in the meantime, there should be a fix that you can do ...
lab force rh0009l should install the pacakge for you. And then you should be able to use the lab start XXX command for any of the labs in the stand-alone comp review.
@ArturG - FYI
I can confirm that the work-around does function properly. We will update the post once the permanent solution is in place, but for now, feel free to use the work around above.
student@workstation:~$ lab start compreview-review1
Error: Failed to resolve lab identifier 'compreview-review1'
Caused by:
Lab keyword 'compreview-review1' not found in any installed package.
Available packages: ["rh0002l", "rh0003l", "rh0004l", "rh0005l", "rh0006l", "rh0008l", "rh0012l", "rh0013l", "rh0016l", "rh0017l", "rh0018l", "rh0019l", "rh0020l", "rh0021l", "rh0022l", "rh0023l", "rh0024l", "rh0025l", "rh0026l", "rh0027l", "rh0028l", "rh0029l", "rh0030l", "rh0031l", "rh0032l", "rh0033l", "rh0034l", "rh0035l", "rh0036l", "rh0037l", "rh0038l", "rh0039l", "rh0040l", "rh0041l", "rh0042l"]
You can use namespaced syntax like 'package::keyword' or install the missing package.
student@workstation:~$ lab force rh0009l
Using latest version: 10.0.2 for rht-labs-rh0009l
Successfully installed course: rh0009l (version 10.0.2)
student@workstation:~$ lab start compreview-review1
Running: lab start compreview-review1
SUCCESS Check connections
- servera
- serverb
SUCCESS Create /tmp/rhcsa-break1 on workstation
SUCCESS Create /tmp/rhcsa-break2 on workstation
SUCCESS Make break scripts executable on workstation
SUCCESS Copy Lab Materials
SUCCESS Install packages on serverb: postfix s-nail cronie sshpass
SUCCESS Enable mail service on serverb
SUCCESS Backup files on serverb: /etc/fstab /boot/grub2/grub.cfg /etc/default/grub
SUCCESS Clear crontab for student user on serverb
SUCCESS Set grub menu timeout to 30 on serverb
I can confirm that the issue has been fixed in the latest updates. There are two things you can do now since you have an existing and running lab environment ...
1. You can restart the lab service (and wait about 65 seconds)
student@workstation:~$ sudo systemctl restart lab-service.service [sudo] password for student: student student@workstation:~$
2. Delete and re-create the lab environment
I've tested with both scenarios and it works. Also, it will work if you just did the work-around provided above.
student@workstation:~$ lab start compreview-review1 ▏ Installing required dependencies... ▊ Installing required dependencies...Successfully installed course: rh0009l Version: 10.0.2 Running: lab start compreview-review1 SUCCESS Check connections - servera - serverb SUCCESS Create /tmp/rhcsa-break1 on workstation SUCCESS Create /tmp/rhcsa-break2 on workstation SUCCESS Make break scripts executable on workstation SUCCESS Copy Lab Materials SUCCESS Install packages on serverb: postfix s-nail cronie sshpass SUCCESS Enable mail service on serverb SUCCESS Backup files on serverb: /etc/fstab /boot/grub2/grub.cfg /etc/default/grub SUCCESS Clear crontab for student user on serverb SUCCESS Set grub menu timeout to 30 on serverb
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.