cancel
Showing results for 
Search instead for 
Did you mean: 
Deyan
Cadet
Cadet
  • 157 Views

Comprehensive reviews RH134, can't start any of the labs

Jump to solution

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.

Deyan_0-1760966769473.png

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.

Labels (3)
1 Solution

Accepted Solutions
Travis
Moderator
Moderator
  • 96 Views

@Deyan and @87951469 -

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.

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training

View solution in original post

5 Replies
87951469
Flight Engineer
Flight Engineer
  • 138 Views

I went and tested my env and got the exact same error message. It had worked until recently.

Travis
Moderator
Moderator
  • 117 Views

@Deyan and @87951469 -

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

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Travis
Moderator
Moderator
  • 113 Views

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
Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Travis
Moderator
Moderator
  • 97 Views

@Deyan and @87951469 -

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.

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Travis
Moderator
Moderator
  • 96 Views
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
Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Join the discussion
You must log in to join this conversation.