mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
clarify messaging and behavior when subscription-manager isn't installed
This commit is contained in:
@@ -154,7 +154,8 @@ class Licenser(object):
|
||||
try:
|
||||
host = 'https://' + str(self.config.get("server", "hostname"))
|
||||
except:
|
||||
raise OSError('Cannot access rhsm.conf, make sure subscription manager is installed and configured.')
|
||||
logger.exception('Cannot access rhsm.conf, make sure subscription manager is installed and configured.')
|
||||
host = None
|
||||
if not host:
|
||||
host = getattr(settings, 'REDHAT_CANDLEPIN_HOST', None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user