Getting 401 Unauthorized Error During Red Hat Satellite Capsule Installer
Issue
I am running the following command to set up a capsule server:
# capsule-installer --parent-fqdn "example.redhat.com"\
--register-in-foreman "true"\
--foreman-oauth-key "7KcZW9VZwBRhzvrCJ2SasZtC89qfZBB"\
--foreman-oauth-secret "M6FuvaQJJ6eHSTkKov74PoTZbELvMUJ"\
--pulp-oauth-secret "WrDZuczkVkqCeidATZAaDaszvwapSUG"\
--certs-tar "/root/example.redhat.com-certs.tar"\
--puppet "true"\
--puppetca "true"\
--pulp "true"
(replace capsule-installer by satellite-installer --scenario=capsule since Satellite 6.2) and getting following errors.
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[example.capsule.com]: Could not evaluate: 401 Unauthorized: {
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[example.capsule.com]: Failed to call refresh: 401 Unauthorized: {
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[example.capsule.com]: 401 Unauthorized
Environment
- Red Hat Satellite or Proxy 6
- Red Hat Satellite Capsule Server 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
