tomwillfixit / awx-on-swarm

Deploy awx and supporting containers on Docker Swarm
10 stars 5 forks source link

AWS Django secret not set #1

Open michaelluich opened 5 years ago

michaelluich commented 5 years ago

It looks like the "SECRET_KEY" is not getting set. `

awx_awx.1.fio7qnmoqlb1@docker-210 | Traceback (most recent call last): awx_awx.1.fio7qnmoqlb1@docker-210 | File "/usr/bin/awx-manage", line 11, in awx_awx.1.fio7qnmoqlb1@docker-210 | load_entry_point('awx==4.0.0.0', 'console_scripts', 'awx-manage')() awx_awx.1.fio7qnmoqlb1@docker-210 | File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/init.py", line 124, in manage awx_awx.1.fio7qnmoqlb1@docker-210 | prepare_env() awx_awx.1.fio7qnmoqlb1@docker-210 | File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/init.py", line 89, in prepare_env awx_awx.1.fio7qnmoqlb1@docker-210 | if not settings.DEBUG: # pragma: no cover awx_awx.1.fio7qnmoqlb1@docker-210 | File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/conf/init.py", line 56, in getattr awx_awx.1.fio7qnmoqlb1@docker-210 | self._setup(name) awx_awx.1.fio7qnmoqlb1@docker-210 | File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/conf/init.py", line 41, in _setup awx_awx.1.fio7qnmoqlb1@docker-210 | self._wrapped = Settings(settings_module) awx_awx.1.fio7qnmoqlb1@docker-210 | File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/conf/init.py", line 129, in init awx_awx.1.fio7qnmoqlb1@docker-210 | raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.") awx_awx.1.fio7qnmoqlb1@docker-210 | django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty. awx_awx.1.fio7qnmoqlb1@docker-210 | 2019-04-26 20:14:07,004 INFO success: callback-receiver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) `

theneedyguy commented 5 years ago

Getting the same issue

joagonzalez commented 4 years ago

same here