Hi Ben,

Not sure if you ended up fixing it however I had the same issue.

It was because of the password that I had set.

Regards,

Tim

On Friday, 23 December 2016 04:26:25 UTC+11, Ben .T.George wrote:
>
> HI
>
> i am very new to ansible and i want to setup a POC env for my company.
>
> i was following 
> http://docs.ansible.com/ansible-tower/latest/html/quickinstall/install_script.html
>  and 
> while running seup, i am getting "[error] Oops!  An error occured while 
> running setup."
>
> and below is the error on log file
>
>
> ASK [awx_install : Wait for supervisor to stop.] 
> ******************************
> ^[[0;32mok: [localhost] => {"attempts": 1, "changed": false, "stat": 
> {"exists": false}}^[[0m
>
> TASK [awx_install : Migrate the Tower database schema (may take awhile 
> when upgrading).] ***
> ^[[0;31mfatal: [localhost]: FAILED! => {"changed": true, "cmd": 
> ["tower-manage", "migrate", "--noinput", "--fake-initial"], "delta": 
> "0:00:01.327536", "end": "2016-12-21 11:40:18.293455", "failed": true, 
> "rc": 1, "start": "2016-12-21 11:40:16.965919", "stderr": "Traceback (most 
> recent call last):\n  File \"/usr/bin/tower-manage\", line 9, in <module>\n 
>    load_entry_point('ansible-tower==3.0.3', 'console_scripts', 
> 'tower-manage')()\n  File \"/lib/python2.7/site-packages/awx/__init__.py\", 
> line 103, in manage\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/core/management/__init__.py\",
>  
> line 354, in execute_from_command_line\n    utility.execute()\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/core/management/__init__.py\",
>  
> line 328, in execute\n    django.setup()\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/__init__.py\", 
> line 18, in setup\n    apps.populate(settings.INSTALLED_APPS)\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/apps/registry.py\",
>  
> line 108, in populate\n    app_config.import_models(all_models)\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/apps/config.py\",
>  
> line 198, in import_models\n    self.models_module = 
> import_module(models_module_name)\n  File 
> \"/opt/rh/python27/root/usr/lib64/python2.7/importlib/__init__.py\", line 
> 37, in import_module\n    __import__(name)\n  File 
> \"/lib/python2.7/site-packages/awx/main/models/__init__.py\", line 79, in 
> <module>\n  File \"/lib/python2.7/site-packages/awx/main/signals.py\", line 
> 23, in <module>\n  File \"/lib/python2.7/site-packages/awx/main/tasks.py\", 
> line 50, in <module>\n  File 
> \"/lib/python2.7/site-packages/awx/main/queue.py\", line 26, in 
> <module>\nValueError: too many values to unpack", "stdout": "", 
> "stdout_lines": [], "warnings": []}^[[0m
>
> RUNNING HANDLER [supervisor : restart supervisor] 
> ******************************
>
> RUNNING HANDLER [httpd : restart httpd] 
> ****************************************
>         to retry, use: --limit 
> @/root/Desktop/ansible-tower-setup-3.0.3/install.retry
>
> PLAY RECAP 
> *********************************************************************
> ^[[0;31mlocalhost^[[0m                  : ^[[0;32mok=87  ^[[0m 
> ^[[0;33mchanged=35  ^[[0m unreachable=0    ^[[0;31mfailed=1   ^[[0m
>
>
>
> how can i fix this issue.
>
> Regards,
> Ben
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5c263b55-7d10-4127-9f29-f7625cea7e34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to