Skip to content

Allow wsrelay to fail without FATAL#15191

Merged
TheRealHaoLiu merged 1 commit into
ansible:develfrom
TheRealHaoLiu:allow-wsrelay-to-fail
May 20, 2024
Merged

Allow wsrelay to fail without FATAL#15191
TheRealHaoLiu merged 1 commit into
ansible:develfrom
TheRealHaoLiu:allow-wsrelay-to-fail

Conversation

@TheRealHaoLiu

Copy link
Copy Markdown
Member
SUMMARY

Reverting previous change that prevents wsrelay from failing and restart processes internally.

We have not identify the root cause of wsrelay failure but attempt to make wsrelay restart itself resulted in postgres and redis connection leak. We were not able to fully identify where the redis connection leak comes from so reverting back to failing and removing startsecs 30 will prevent wsrelay to FATAL

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION

ADDITIONAL INFORMATION

@gundalow gundalow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick, can we be consistent with the "slept for 10s" messages.

Comment thread awx/main/management/commands/run_wsrelay.py
Comment thread awx/main/management/commands/run_wsrelay.py Outdated
Comment thread awx/main/wsrelay.py
Comment thread awx/main/wsrelay.py
Comment thread tools/ansible/roles/dockerfile/templates/supervisor_task.conf.j2
@TheRealHaoLiu TheRealHaoLiu force-pushed the allow-wsrelay-to-fail branch 2 times, most recently from 2dba9a9 to 1a801c6 Compare May 16, 2024 18:12
@TheRealHaoLiu TheRealHaoLiu force-pushed the allow-wsrelay-to-fail branch from 1a801c6 to daa19a9 Compare May 17, 2024 16:55
We have not identify the root cause of wsrelay failure but attempt to make wsrelay restart itself resulted in postgres and redis connection leak. We were not able to fully identify where the redis connection leak comes from so reverting back to failing and removing startsecs 30 will prevent wsrelay to FATAL
@TheRealHaoLiu TheRealHaoLiu force-pushed the allow-wsrelay-to-fail branch from daa19a9 to 1a9f2a2 Compare May 20, 2024 18:30
@TheRealHaoLiu TheRealHaoLiu enabled auto-merge (squash) May 20, 2024 18:32
@TheRealHaoLiu TheRealHaoLiu merged commit fc9064e into ansible:devel May 20, 2024
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
We have not identify the root cause of wsrelay failure but attempt to make wsrelay restart itself resulted in postgres and redis connection leak. We were not able to fully identify where the redis connection leak comes from so reverting back to failing and removing startsecs 30 will prevent wsrelay to FATAL
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
We have not identify the root cause of wsrelay failure but attempt to make wsrelay restart itself resulted in postgres and redis connection leak. We were not able to fully identify where the redis connection leak comes from so reverting back to failing and removing startsecs 30 will prevent wsrelay to FATAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants