Provisioning with Red Hat Satellite 6 fails with: Failed to run Satellite Provisioning script
Environment
- Red Hat Satellite 6.15
- PXE or PXE less
- Boot disk based
- Provisioning RHEL 9.x
Issue
-
Provisioning with Satellite 6 fails with:
Failed to run Satellite Provisioning script
Resolution
-
Refer the Diagnostic Steps to confirm the issue.
-
Correct the permission for /var/www/html/pub/katello-rhsm-consumer to be 755 and hence should look like:
# chmod 755 /var/www/html/pub/katello-rhsm-consumer # ll /var/www/html/pub/katello-rhsm-consumer -rwxr-xr-x. 1 root root 7964 Apr 26 18:43 /var/www/html/pub/katello-rhsm-consumer
For more KB articles/solutions related to Red Hat Satellite 6.x Provisioning Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Provisioning related Issues
Root Cause
- Permission for /var/www/html/pub/katello-rhsm-consumer was changed to 750
Diagnostic Steps
-
/var/log/httpd/foreman_error.log has the below trace:
[Tue Jun 04 10:21:10.327370 2024] [core:error] [pid 2922195:tid 139976767473408] (13)Permission denied: [client 10.254.133.222:55850] AH00132: file permissions deny server access: /var/www/html/pub/katello-rhsm-consumer -
On further confirmation:
# ll /var/www/html/pub/katello-rhsm-consumer -rwxr-x---. 1 root root 7964 Apr 26 18:43 /var/www/html/pub/katello-rhsm-consumer
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.