Trial version of Ansible Tower failed and the UI now has issues

Hi,

I had to uninstall Ansible 1.9.4 earlier today and it also uninstalled Tower. I’m now trying to reinstall Tower but it’s throwing exceptions. The install problem outputs:

[gbarnard@localhost ansible-tower-setup-2.4.3]$ sudo ./setup.sh
Traceback (most recent call last):
File “/bin/ansible-playbook”, line 44, in
import ansible.playbook
File “/usr/lib/python2.7/site-packages/ansible/playbook/init.py”, line 18, in
import ansible.inventory
File “/usr/lib/python2.7/site-packages/ansible/inventory/init.py”, line 26, in
from ansible.inventory.ini import InventoryParser
File “/usr/lib/python2.7/site-packages/ansible/inventory/ini.py”, line 21, in
from ansible.inventory.host import Host
File “/usr/lib/python2.7/site-packages/ansible/inventory/host.py”, line 19, in
from ansible import utils
File “/usr/lib/python2.7/site-packages/ansible/utils/init.py”, line 27, in
from ansible import errors
File “/usr/lib/python2.7/site-packages/ansible/errors/init.py”, line 29, in
from ansible.utils.unicode import to_unicode, to_str
ImportError: cannot import name to_str
[error] Oops! An error occured while running setup.
Setup log saved to /var/log/tower/setup-2016-01-20-21:52:26.log

And the problems with UI include:

  1. Clicking on projects returns: Failed to get /api/v1/projects/. GET status: 500

  2. Starting a job-template returns: Failed updating job 6 with variables. POST returned: 500

  3. clicking on the jobs button returns: Failed to get /api/v1/unified_jobs/. GET status: 500

  4. Going into settings returns a really long error html panel.

Please advise how I can COMPLETELY remove Tower and it’s database and start over from scratch.

Thanks.

For tower issues please reach out to support@ansible.com or use https://support.ansible.com/

This list is for the open source Ansible project and not tower.