cancel
Showing results for 
Search instead for 
Did you mean: 
  • 309 Views

ch05s06 - Lab start error - Guided Exercise: Connect Virtual Machines to External Storage

Jump to solution
Hello everyone,
 
I am trying to start the lab for this session and is not working.
When I try to start the lab, I receive the following error:
 
[student@workstation ~]$ lab start storage-external
 
Starting lab.
 
SUCCESS Checking lab systems
SUCCESS Pinging API
SUCCESS Checking API
SUCCESS Checking cluster readiness
SUCCESS Checking CatalogSource
SUCCESS Install the 'OpenShift Virtualization' operator
SUCCESS Confirming virtctl availability
SUCCESS Confirming that the 'storage-external' project does not exist
SUCCESS Creating the 'mariadb-server' VM
SUCCESS Copying exercise content
FAIL Configuring external iSCSI storage settings
- Playbook failed: configure-iscsi.yaml
- Failed to run the playbook.
- Cannot continue starting lab
 
An error has occurred.
 
For more details, run: lab logs storage-external
 
Following the suggestion, I have the following log:
 
[student@workstation ~]$ lab logs storage-external
2024-11-08 16:31:02,059:storage-external:ERROR:playbooks.py(93)                Friday 08 November 2024  16:31:01 -0500 (0:00:00.110)       0:00:00.133 *******
2024-11-08 16:31:02,059:storage-external:ERROR:playbooks.py(93)                ===============================================================================
2024-11-08 16:31:02,059:storage-external:ERROR:playbooks.py(93)                Copy LVM configuration file --------------------------------------------- 0.11s
2024-11-08 16:31:02,059:storage-external:ERROR:playbooks.py(93)                Playbook run took 0 days, 0 hours, 0 minutes, 0 seconds
2024-11-08 16:31:02,184:storage-external:ERROR:userinterface.py(119)                The 'Configuring external iSCSI storage settings' fatal step has failed
2024-11-08 16:31:02,184:storage-external:ERROR:lab.py(54)                Lab script has failed due to an error: The 'Configuring external iSCSI storage settings' fatal step has failed
Traceback (most recent call last):
  File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/lab.py", line 287, in start
grading.start()
  File "/home/student/.venv/labs/lib/python3.9/site-packages/do316/storage-external.py", line 181, in start
userinterface.Console(items).run_items(action="Starting")
  File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/common/userinterface.py", line 120, in run_items
raise LabError(msg)
labs.laberrors.LabError: The 'Configuring external iSCSI storage settings' fatal step has failed
2024-11-08 16:31:14,893:storage-external:ERROR:userinterface.py(119)                The 'Confirming that the 'storage-external' project does not exist' fatal step has failed
2024-11-08 16:31:14,894:storage-external:ERROR:lab.py(54)                Lab script has failed due to an error: The 'Confirming that the 'storage-external' project does not exist' fatal step has failed
Traceback (most recent call last):
  File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/lab.py", line 287, in start
grading.start()
  File "/home/student/.venv/labs/lib/python3.9/site-packages/do316/storage-external.py", line 181, in start
userinterface.Console(items).run_items(action="Starting")
  File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/common/userinterface.py", line 120, in run_items
raise LabError(msg)
labs.laberrors.LabError: The 'Confirming that the 'storage-external' project does not exist' fatal step has failed
2024-11-08 16:37:47,394:storage-external:ERROR:playbooks.py(93)                [WARNING]: Collection kubernetes.core does not support Ansible version 2.14.2
2024-11-08 16:37:47,394:storage-external:ERROR:playbooks.py(93)
2024-11-08 16:37:47,394:storage-external:ERROR:playbooks.py(93)
PLAY [Configuring external iSCSI storage settings] *****************************
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)
TASK [Copy LVM configuration file] *********************************************
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)                Friday 08 November 2024  16:37:47 -0500 (0:00:00.021)       0:00:00.021 *******
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)                fatal: [server]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: kex_exchange_identification: Connection closed by remote host\r\nConnection closed by UNKNOWN port 65535", "unreachable": true}
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)
PLAY RECAP *********************************************************************
server                     : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)                Friday 08 November 2024  16:37:47 -0500 (0:00:00.094)       0:00:00.115 *******
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)                ===============================================================================
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)                Copy LVM configuration file --------------------------------------------- 0.10s
2024-11-08 16:37:47,395:storage-external:ERROR:playbooks.py(93)                Playbook run took 0 days, 0 hours, 0 minutes, 0 seconds
2024-11-08 16:37:47,513:storage-external:ERROR:userinterface.py(119)                The 'Configuring external iSCSI storage settings' fatal step has failed
2024-11-08 16:37:47,513:storage-external:ERROR:lab.py(54)                Lab script has failed due to an error: The 'Configuring external iSCSI storage settings' fatal step has failed
Traceback (most recent call last):
  File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/lab.py", line 287, in start
grading.start()
  File "/home/student/.venv/labs/lib/python3.9/site-packages/do316/storage-external.py", line 181, in start
userinterface.Console(items).run_items(action="Starting")
  File "/home/student/.venv/labs/lib/python3.9/site-packages/labs/common/userinterface.py", line 120, in run_items
raise LabError(msg)
labs.laberrors.LabError: The 'Configuring external iSCSI storage settings' fatal step has failed
 
[student@workstation ~]$
 
Does anyone already faced similar issue and have the procedure to fix?
Labels (2)
0 Kudos
1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 164 Views

@eddielau Try to check if 'storage-external' project exist or not. If it does not - then it is ok , if it does - delete the project and try again.

If this does not help at all, try to delete the entire lab and recreate a fresh lab. Once your OCP cluster is up and active - retry this lab start script.

View solution in original post

7 Replies
siaci
Cadet
Cadet
  • 266 Views

not sure if it can help, but i had a similar issue on ch03s07 and while from the VM I was receiving a similarr error to yours, I could get it working if starting the lab from the classroom webapp

eddielau
Flight Engineer
Flight Engineer
  • 204 Views

I try to start from classroom webapp also hit the same error like above.

Chetan_Tiwary_
Community Manager
Community Manager
  • 165 Views

@eddielau Try to check if 'storage-external' project exist or not. If it does not - then it is ok , if it does - delete the project and try again.

If this does not help at all, try to delete the entire lab and recreate a fresh lab. Once your OCP cluster is up and active - retry this lab start script.

eddielau
Flight Engineer
Flight Engineer
  • 135 Views

I try several times it's not really working, the only way I did is delete entire lab and recreate again fresh lab to resolve it. it seems like sometimes when using workstation to start the lab will hit error. Because I rarely use webapp so no idea if it's same problem or not. 

Chetan_Tiwary_
Community Manager
Community Manager
  • 133 Views

Ok @eddielau So it got that your issue is resolved now ( in a fresh lab).

  • 104 Views

Hi

 

I tried again to run the lab using web classroom, checking the projects, deleted, created again and nothing worked.

After that, I deleted my entire lab and recreated, now worked.

 

Thanks

Chetan_Tiwary_
Community Manager
Community Manager
  • 93 Views

ok thanks for your inputs, glad it is working for you now.

0 Kudos
Join the discussion
You must log in to join this conversation.