Skip to content
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

concourse-worker: add watchdog process #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sdurrheimer
Copy link

No description provided.

@sdurrheimer sdurrheimer force-pushed the sd-concourse_worker_watchdog branch 6 times, most recently from ec468d4 to 26a3bcf Compare May 29, 2020 16:18
@sdurrheimer sdurrheimer marked this pull request as ready for review May 29, 2020 16:27
@sdurrheimer sdurrheimer force-pushed the sd-concourse_worker_watchdog branch 3 times, most recently from 03ea310 to 0f13ff4 Compare June 4, 2020 10:06
@sdurrheimer sdurrheimer force-pushed the sd-concourse_worker_watchdog branch from 0f13ff4 to 663e615 Compare June 10, 2020 14:14
@sdurrheimer
Copy link
Author

Currently blocked by concourse/concourse#5742

talset added a commit that referenced this pull request Jul 27, 2020
Workaround of #5
This commit will need to be revert when real watchdog will be unblocked
owner: root
force: yes
become: yes
become_user: root
with_items:
Copy link
Member

Choose a reason for hiding this comment

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

with_items could be revert ?

Copy link
Author

Choose a reason for hiding this comment

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

Same reason as #5 (comment)

@@ -4,6 +4,8 @@
Description=concourse-worker
Requires=network-online.target
After=network-online.target
Wants=concourse-worker-watchdog.service
Copy link
Member

Choose a reason for hiding this comment

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

no concourse-worker-watchdog.service anymore ? should be removed ?

Copy link
Author

Choose a reason for hiding this comment

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

We will wait for concourse to fix the issue.
Right now the PR reflect the second implementation where the watchdog is a sub-process in the background of the main concourse-worker process (`NotifyAccess=main`) but I prefer my first implementation where the watchdog was a separated process (`NotifyAccess=all`)

Copy link
Member

Choose a reason for hiding this comment

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

currently it is a mix of both ? Sub-process is used but ext service is referenced here.

Just a reminder note, for ext service this part will be missing: https://github.com/cycloidio/ansible-concourse/pull/7/files#diff-2f8071c99c715eb05ff6fabd9fed7dd5R15

Copy link
Author

Choose a reason for hiding this comment

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

currently it is a mix of both ? Sub-process is used but ext service is referenced here.

Yes, I did a bunch of tests for different implementations, I must have missed some old references ^^

Just a reminder note, for ext service this part will be missing: https://github.com/cycloidio/ansible-concourse/pull/7/files#diff-2f8071c99c715eb05ff6fabd9fed7dd5R15

Good catch, I will update this PR as soon as possible to represent the ideal setup if Concourse will ever fix the issue blocking it.

talset added a commit that referenced this pull request Jul 27, 2020
Workaround of #5
This commit will need to be revert when real watchdog will be unblocked
talset added a commit that referenced this pull request Jul 27, 2020
Workaround of #5
This commit will need to be revert when real watchdog will be unblocked
talset added a commit that referenced this pull request Jul 27, 2020
Workaround of #5
This commit will need to be revert when real watchdog will be unblocked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants