Dependency between jobs in Satellite 6.2
Hello,
I want to realize an automatic update process for all my systems. Part of this process is to notify a specific system at start/end of the updates:
1. Send the start-event
2. Install all available updates
3. reboot the machine
4. Send the end-event
I do this in Satellite 5 using actionchains which works like a charm. Because there are no actionchains in Satellite 6, I'm searching for an alernative.
My problem is that the job invocation is considered failed (or done if I use the "Power Action" to reboot) after step 3 and the last step (send end event) is never triggerd.
Is there a way to define dependencies between two jobs or to pause the job execution and wait for the reboot to happen?
Thanks for your help!
Manuel
Responses
With the lack of action chaining in Satellite 6, we ended up going back to a patching script deployed to all systems that takes args based on the patching but it 1) Applies errata by ID, or security updates, or all 2) schedules a reboot in the future via at if one is required (based on reboot_required in the errata) I messed around with one script to do it all in Satellite, but as you mentioned the reboot action ended in a failed job status, so its hard to track accurately if jobs finished ok.
This is just a workaround for us, till hopefully: a) action-chaining becomes a thing b) reboots don't cause a failure in the job task.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
