Katello Capsule sync fails with error "401 - Authentication with username admin failed: invalid oauth credentials"

  • This issue occurs when there is a time difference in Satellite and Capsule server.
  • Ensure that both the Satellite server and Capsule server is synced with the ntp or cronyd.
  • Once the time is in sync, re-run the capsule-installer command to configure capsule server. 
Diagnostic
-Checking /var/log/messages goferd make  a clear error about authethication failed


Feb 11 06:00:32 awscapsule01 goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:112 - PermissionsException: RequestException: GET request on /pulp/api/v2/consumers/add48221-f2d7-4bbe-b5ee-0eef65c24774/bindings/Centos-6/ failed with 401 - Authentication with username admin failed: invalid oauth credentials.
Feb 11 06:00:32 awscapsule01 goferd: [INFO][worker-0] gofer.agent.rmi:128 - sn=76004451-4fc4-47d2-9862-29beb1d72e92 processed in: 2.181 (seconds)

Comments

Popular posts from this blog

How to clean all the foreman task and locked task

How to restrict users to send only mail to the local domain in Zimbra

Hardening Script