Why do I receive a 404 error when fetching my subscriptions on the Tower license page?
Environment
- Red Hat Ansible Automation Platform >= 1.2.x
Issue
-
When attempting to fetch Tower subscriptions from the Tower license page using valid credentials, the following 404 error occurs:
"Error: 404 Client Error: Not found for url: https://subscription.rhn.redhat.com:443/katello/api/organizations"
Resolution
-
On each Tower node in your cluster, edit the
/etc/rhsm/rhsm.conffile and change the value ofhostnamefrom:hostname = subscription.rhn.redhat.comto:
hostname = subscription.rhsm.redhat.com -
No restart of Tower services is necessary for this change to take effect.
Root Cause
- The /etc/rhsm/rhsm.conf file is pointing to the incorrect hostname.
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.
Comments