Kumar, did you solve this issue?
I tried to install ansible-tower-setup-3.0.2 from scratch and got similar
error.
понедельник, 29 августа 2016 г., 17:24:57 UTC+3 пользователь Utsav Kumar
написал:
>
> I downloaded the war file for ansible, and after changing the passwords in
> inventory file, i tried running the setup.sh script. But, its getting
> failed.
>
> Following errors came during the setup playbook run:
>
> TASK [preflight : Preflight check - Read in tower version]
> *********************
> fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg":
> "file not found: /var/lib/awx/.tower_version"}
> ...ignoring
>
>
> TASK [migrations : Check to see if DATABASES is defined in the main
> settings file.] ***
> fatal: [localhost]: FAILED! => {"changed": false, "cmd": "grep \"DATABASES
> = {\" /etc/tower/settings.py", "delta": "0:00:00.004295", "end":
> "2016-08-26 07:01:06.270207", "failed": true, "rc": 2, "start": "2016-08-26
> 07:01:06.265912", "stderr": "grep: /etc/tower/settings.py: No such file or
> directory", "stdout": "", "stdout_lines": [], "warnings": []}
> ...ignoring
>
> TASK [migrations : include]
> ****************************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional
> check failed", "skipped": true}
>
> TASK [migrations : Check to see if celery is already configured for
> RabbitMQ.] *
> fatal: [localhost]: FAILED! => {"changed": false, "cmd": "grep \"amqp://\"
> /etc/tower/conf.d/celeryd.py", "delta": "0:00:00.003558", "end":
> "2016-08-26 07:01:06.483477", "failed": true, "rc": 2, "start": "2016-08-26
> 07:01:06.479919", "stderr": "grep: /etc/tower/conf.d/celeryd.py: No such
> file or directory", "stdout": "", "stdout_lines": [], "warnings": []}
> ...ignoring
>
>
> Following error is coming in the end:
>
> PLAY RECAP
> *********************************************************************
> localhost : ok=31 changed=0 unreachable=0 failed=1
>
> [error] Oops! An error occured while running setup.
> [warn] /var/log/tower does not exist.
> Setup log saved to setup.log.
>
> How to resolve this?
>
>
--
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/a3ece674-2d1c-40b2-b4fe-8d69f1417ab2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.