cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
45 stars 29 forks source link

Also block on the 'leapp preupgrade' ERRORS #395

Closed timmullin closed 5 months ago

timmullin commented 5 months ago

Case RE-223:

Normally, during a leapp upgrade or preupgrade, leapp reports any issue when inhibits an upgrade in the leapp-report.json file and flags it as in "inhibitor". Sometimes, however, leapp encounters a fatal error which is not flagged as such in the report file. Fatal errors will show up in the stdout in a special "ERRORS" block. Also, if leapp encounters either an inhibitor or any other fatal error, the exit code will be non-zero. So, if we have a non-zero error code, and an error block reported in leapp's stdout, we should report this as a blocker.

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf