-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWX has problem to connect to Redis #13313
Comments
I can confirm, I have the same issue. Just brought up awx-operator and awx.
Judging by the similar timing of the issue.. python just releases the latest patch ..may it broke something? |
Looks like a redis-py issue, similar redis-py issue |
I experience the same issue with my "docker development environment". AWX 21.10.0. |
Same issue on K3D setup. |
Same issue. It's a new issue in AWX 21.10.0 |
same here , but very weird seems to be .. I have tried operator 1.1.1 with AWX 21.10.0 and works fine with a new fresh database . when I have migrated the old postgres data to the new database, this problem started to show up ! |
The same issue with AWX 21.10.0 & AWX 21.10.1 with an existing Database. |
django/channels_redis#332 @fosterseth found this |
Found 2 commits which could cause this. As removing Could this be fixed with replacing core to pubsub? |
@shanemcd In light of that issue, should we downgrade channels-redis for now? |
Refs django/channels_redis#332 Refs ansible#13313 Signed-off-by: Rick Elrod <rick@elrod.me>
Refs django/channels_redis#332 Refs ansible#13313 Signed-off-by: Rick Elrod <rick@elrod.me>
Is there a workaround for this issue in meanwhile? |
Refs django/channels_redis#332 Refs ansible#13313 Signed-off-by: Rick Elrod <rick@elrod.me>
Refs django/channels_redis#332 Refs #13313 Signed-off-by: Rick Elrod <rick@elrod.me>
@relrod I see that PR is merged, thanks a lot! When can we expect a new release to come out, do we have any info? |
@filipprosovsky I've just cut a release with this fix. |
@relrod deployed and working! Thanks a lot, can be closed |
Hello, Perhaps not the smartest question. Regards Hans-Peter |
Hello @HGS9761, you need to update to 21.10.2. (Or backport the above-mentioned PR to your environment.) |
Thanks |
Please confirm the following
Bug Summary
After upgrading the AWX-operator to 1.1.1 and AWX included is 21.10.0 with removed aio redis package, we are getting errors in connection.py. See below:
future: <Task finished name='Task-3' coro=<Connection.disconnect() done, defined at /var/lib/awx/venv/awx/lib64/python3.9/site-packages/redis/asyncio/connection.py:828> exception=RuntimeError('Event loop is closed')> Traceback (most recent call last): File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/redis/asyncio/connection.py", line 837, in disconnect self._writer.close() # type: ignore[union-attr] File "/usr/lib64/python3.9/asyncio/streams.py", line 353, in close return self._transport.close() File "/usr/lib64/python3.9/asyncio/selector_events.py", line 698, in close self._loop.call_soon(self._call_connection_lost, None) File "/usr/lib64/python3.9/asyncio/base_events.py", line 751, in call_soon self._check_closed() File "/usr/lib64/python3.9/asyncio/base_events.py", line 515, in _check_closed raise RuntimeError('Event loop is closed')
AWX version
21.10.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
Chrome
Steps to reproduce
Deploy 1.1.1 of AWX-operator, sync dynamic inventory.
Expected results
Inventory sync
Actual results
Job failed and error is present in log.
Additional information
No response
The text was updated successfully, but these errors were encountered: