Restarting fail2ban monitor: fail2banTraceback (most recent call last):

 "/usr/bin/fail2ban-client", line 401, in <module>
if client.start(sys.argv):

 "/usr/bin/fail2ban-client", line 370, in start
return self.**processCommand(args)

 "/usr/bin/fail2ban-client", line 180, in __processCommand
ret = self.__readConfig()

 "/usr/bin/fail2ban-client", line 375, in __readConfig
ret = self.__configurator.getOptions()

 "/usr/share/fail2ban/client/configurator.py", line 65, in getOptions
return self.__jails.getOptions(jail)

 "/usr/share/fail2ban/client/jailsreader.py", line 64, in getOptions
ret = jail.getOptions()

 "/usr/share/fail2ban/client/jailreader.py", line 70, in getOptions
self.__opts = ConfigReader.getOptions(self, self.__name, opts)

 "/usr/share/fail2ban/client/configreader.py", line 84, in getOptions
v = self.get(sec, option[1])

 "/usr/lib/python2.6/ConfigParser.py", line 546, in get
return self._interpolate(section, option, value, d)

 "/usr/lib/python2.6/ConfigParser.py", line 614, in _interpolate
self._interpolate_some(option, L, rawval, section, vars, 1)

 "/usr/lib/python2.6/ConfigParser.py", line 649, in _interpolate_some
section, map, depth + 1)

 "/usr/lib/python2.6/ConfigParser.py", line 646, in _interpolate_some
option, section, rest, var)ConfigParser.InterpolationMissingOptionError: Bad value substitution:
Traceback (most recent call last):


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/settings/production.py", line 84, in <module>

include(settings_file, optional(settings_files), scope=locals())


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/split_settings/tools.py", line 107, in include

exec(compiled_code, scope)
# noqa: S102, WPS421


 "/etc/tower/settings.py", line 19, in <module>

SECRET_KEY = get_secret()


 "/etc/tower/settings.py", line 8, in get_secret

return open('/etc/tower/SECRET_KEY', 'rb').read().strip()
IsADirectoryError: [Errno 21] Is a directory: '/etc/tower/SECRET_KEY'
