mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
clarify messaging and behavior when subscription-manager isn't installed
This commit is contained in:
parent
10242cd6c4
commit
86d0ee590f
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user