MDE Installer Getting failed on Server

I am working on an MDE deployment in a customer environment and encountering error codes 12, 21, 23, 24, and 31 on a majority of systems. Interestingly, the deployment is successful on some systems without any issues.

I have tested this across RHEL versions 7.6, 7.9, 8.x, and 9.x. When I run the .py and .sh scripts manually using sudo, they work correctly.

@JasonWalker could you please help me identify the cause of these errors?

Maybe....

what's MDE ?