Offline backup on Red Hat Satellite 6 fails with: Hammer configuration failed: Incorrect credential for admin user.
Environment
- Red Hat Satellite 6
Issue
-
Offline backup on Satellite 6 fails with:
Hammer configuration failed: Incorrect credential for admin user.
Resolution
-
Make sure you have correct credentials in
.hammer/cli.modules.d/foreman.yml.
The same credentials must be in the file if it exists/etc/foreman-maintain/foreman-maintain-hammer.yml. -
If issue still persists, run the below command:
# satellite-maintain advanced procedure run hammer-setup
For more KB articles/solutions related to Red Hat Satellite 6.x backup issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x backup-related Issues
Root Cause
- Some issue with file
/etc/foreman-maintain/foreman-maintain-hammer.ymlwhich was fixed when hammer was reconfigured using the resolution steps.
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.