Why Is My Ansible Tower Backup Failing With The Error "django.core.exceptions.ImproperlyConfigured: No AWX configuration found at /etc/tower/settings.py." ?

Solution Verified - Updated -

Issue

When taking backup of Ansible Tower cluster with ./setup.sh -b. The backup process is failing with the below error at TASK [backup : Get tower database settings]

" raise ImproperlyConfigured(msg)", "django.core.exceptions.ImproperlyConfigured: No AWX configuration found at /etc/tower/settings.py.", "Define the AWX_SETTINGS_FILE environment variable to specify an alternate path."],

Environment

  • Ansible Tower

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In