anthonyloukinas / docker-awx-tower

Spin up an Ansible AWX or Tower in seconds using Docker
4 stars 0 forks source link

Have you tested the static legacy awx? #1

Open kundeng opened 4 years ago

kundeng commented 4 years ago

I am simply looking for standing up an instance quickly but yours doesn't seem to be working.

task_1 | queue = redis.Redis.from_url(settings.BROKER_URL) task_1 | File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/client.py", line 673, in from_url task_1 | connection_pool = ConnectionPool.from_url(url, db=db, **kwargs) task_1 | File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/redis/connection.py", line 1046, in from_url task_1 | 'schemes (%s)' % valid_schemes) task_1 | ValueError: Redis URL must specify one of the followingschemes (redis://, rediss://, unix://)

web_1 | 2020-06-13 15:53:19,321 WARNING awx.main.analytics.broadcast_websocket ('Unsupported URI scheme', 'amqp') web_1 | 2020-06-13 15:53:24,324 WARNING awx.main.analytics.broadcast_websocket ('Unsupported URI scheme', 'amqp') web_1 | 2020-06-13 15:53:29,332 WARNING awx.main.analytics.broadcast_websocket ('Unsupported URI scheme', 'amqp')

Does this have anything to do with redis instead of rabitmq is expected in the new awx image?

anthonyloukinas commented 4 years ago

I have not directly tested the static AWX build in a few revisions, are you using the latest AWX build version or something older? If possible paste your awx-compose.yml/docker-compose.yml that is being used. I will test myself and see if I'm seeing something similar.

I'll also look to add better automated testing to make sure these revisions work in the future

anthonyloukinas commented 4 years ago

So I think with the latest version of AWX, It's wanting Redis instead of rabbitmq like you've mentioned. I will update this static awx configuration to use the latest AWX image located here https://hub.docker.com/r/ansible/awx instead of the older variant.