Re: [ansible-project] Re: Help me to install ansible - end up with "Oops! An error occured while running setup"

2018-08-06 Thread Alexsey S
 build shell scripts to execute playbooks on ansible-b and run them from
ansible-a??

On Mon, Aug 6, 2018 at 9:48 AM Timothy Vigers 
wrote:

> Hi Vicky,
>
> Sorry I only just saw this...
>
> I can't really remember but I think it was the database password I had
> configured.
>
> Regards,
>
> Tim
>
> On Thursday, 10 August 2017 00:22:01 UTC+10, Vicky Korpal wrote:
>>
>> Hi @Timothy
>>
>> Which password are you talking about ? I am having the same issue and
>> cant find the reason. Thanks in advance
>>
>> On Monday, 20 February 2017 10:48:15 UTC-6, Timothy Vigers wrote:
>>>
>>> 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 \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\nutility.execute()\n  File
 \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/core/management/__init__.py\",
 line 328, in execute\ndjango.setup()\n  File
 \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/__init__.py\",
 line 18, in setup\napps.populate(settings.INSTALLED_APPS)\n  File
 \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/apps/registry.py\",
 line 108, in populate\napp_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\nself.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
 \n  File \"/lib/python2.7/site-packages/awx/main/signals.py\", line
 23, in \n  File \"/lib/python2.7/site-packages/awx/main/tasks.py\",
 line 50, in \n  File
 \"/lib/python2.7/site-packages/awx/main/queue.py\", line 26, in
 \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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f65fce82-70ff-483e-b1f1-d674432b547e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thank you,
Alexsey Sapozhnikov

-- 
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-project+unsubscr...@googlegroups.com.
To 

[ansible-project] Re: Help me to install ansible - end up with "Oops! An error occured while running setup"

2018-08-06 Thread Timothy Vigers
Hi Vicky,

Sorry I only just saw this...

I can't really remember but I think it was the database password I had 
configured.

Regards,

Tim

On Thursday, 10 August 2017 00:22:01 UTC+10, Vicky Korpal wrote:
>
> Hi @Timothy
>
> Which password are you talking about ? I am having the same issue and cant 
> find the reason. Thanks in advance
>
> On Monday, 20 February 2017 10:48:15 UTC-6, Timothy Vigers wrote:
>>
>> 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 \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\nutility.execute()\n  File 
>>> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/core/management/__init__.py\",
>>>  
>>> line 328, in execute\ndjango.setup()\n  File 
>>> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/__init__.py\", 
>>> line 18, in setup\napps.populate(settings.INSTALLED_APPS)\n  File 
>>> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/apps/registry.py\",
>>>  
>>> line 108, in populate\napp_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\nself.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 
>>> \n  File \"/lib/python2.7/site-packages/awx/main/signals.py\", line 
>>> 23, in \n  File \"/lib/python2.7/site-packages/awx/main/tasks.py\", 
>>> line 50, in \n  File 
>>> \"/lib/python2.7/site-packages/awx/main/queue.py\", line 26, in 
>>> \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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f65fce82-70ff-483e-b1f1-d674432b547e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: Help me to install ansible - end up with "Oops! An error occured while running setup"

2017-08-09 Thread Vicky Korpal
Hi @Timothy

Which password are you talking about ? I am having the same issue and cant 
find the reason. Thanks in advance

On Monday, 20 February 2017 10:48:15 UTC-6, Timothy Vigers wrote:
>
> 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 \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\nutility.execute()\n  File 
>> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/core/management/__init__.py\",
>>  
>> line 328, in execute\ndjango.setup()\n  File 
>> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/__init__.py\", 
>> line 18, in setup\napps.populate(settings.INSTALLED_APPS)\n  File 
>> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/apps/registry.py\",
>>  
>> line 108, in populate\napp_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\nself.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 
>> \n  File \"/lib/python2.7/site-packages/awx/main/signals.py\", line 
>> 23, in \n  File \"/lib/python2.7/site-packages/awx/main/tasks.py\", 
>> line 50, in \n  File 
>> \"/lib/python2.7/site-packages/awx/main/queue.py\", line 26, in 
>> \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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f14319e0-96b2-4b64-8ebb-c9fc7647f2ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: Help me to install ansible - end up with "Oops! An error occured while running setup"

2017-02-20 Thread Timothy Vigers
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 \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\nutility.execute()\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/core/management/__init__.py\",
>  
> line 328, in execute\ndjango.setup()\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/__init__.py\", 
> line 18, in setup\napps.populate(settings.INSTALLED_APPS)\n  File 
> \"/var/lib/awx/venv/tower/lib/python2.7/site-packages/django/apps/registry.py\",
>  
> line 108, in populate\napp_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\nself.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 
> \n  File \"/lib/python2.7/site-packages/awx/main/signals.py\", line 
> 23, in \n  File \"/lib/python2.7/site-packages/awx/main/tasks.py\", 
> line 50, in \n  File 
> \"/lib/python2.7/site-packages/awx/main/queue.py\", line 26, in 
> \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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
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.