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

930 views
Skip to first unread message

Glenn Barnard

unread,
Jan 20, 2016, 4:55:53 PM1/20/16
to Ansible Project
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 <module>
    import ansible.playbook
  File "/usr/lib/python2.7/site-packages/ansible/playbook/__init__.py", line 18, in <module>
    import ansible.inventory
  File "/usr/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 26, in <module>
    from ansible.inventory.ini import InventoryParser
  File "/usr/lib/python2.7/site-packages/ansible/inventory/ini.py", line 21, in <module>
    from ansible.inventory.host import Host
  File "/usr/lib/python2.7/site-packages/ansible/inventory/host.py", line 19, in <module>
    from ansible import utils
  File "/usr/lib/python2.7/site-packages/ansible/utils/__init__.py", line 27, in <module>
    from ansible import errors
  File "/usr/lib/python2.7/site-packages/ansible/errors/__init__.py", line 29, in <module>
    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.

Matt Martz

unread,
Jan 20, 2016, 4:58:54 PM1/20/16
to ansible...@googlegroups.com
For tower issues please reach out to sup...@ansible.com or use https://support.ansible.com/

This list is for the open source Ansible project and not tower.
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e93411c2-eeb2-4c89-8909-51f7ec0ffd3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net

Reply all
Reply to author
Forward
0 new messages