-
Story
-
Resolution: Done
-
Major
-
RH294 - RHEL9.0-en-2-20221117
-
None
-
4
-
en-US (English)
URL: https://rol.redhat.com/rol/app/courses/rh294-9.0/pages/ch04s06
Reporter RHNID: ctiwary@redhat.com, tmichett@redhat.com
Section: 6 - Guided Exercise: Handling Task Failure
Language: en-US (English)||||||||
Workaround:
Description: This was pointed by rhn-gps--tmichett in RHLC : Ch04s06 step 7.4 : Block, Rescue & Always example:
"OK, for BLOCK, we can't install the package for the webserver, so instead, it goes to rescue. Here it actually installs a Database server package. So good, moving forward, it goes to always and it will start the database server.
What happens if it does find the web package? So it finds the web package, all tasks in the BLOCK section pass, so there is no need to run the "RESCUE" section. So now it goes to ALWAYS ... but wait there is a problem ... there is no database server package installed because it never ran the RESCUE.
Is it possible to come up with a better example for not only the lecture but also the guided exercise - something that might actually make sense in real life? "
Refer RHLC thread : https://learn.redhat.com/t5/Red-Hat-Instructor-Discussions/RH294v9-AAP-2-2-Block-Rescue-Always-Example/m-p/35802#M5200