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

Could not deregister runner on new deployment #2068

Closed
gak opened this issue Jul 13, 2024 · 1 comment · Fixed by #2082
Closed

Could not deregister runner on new deployment #2068

gak opened this issue Jul 13, 2024 · 1 comment · Fixed by #2082
Assignees
Labels

Comments

@gak
Copy link
Contributor

gak commented Jul 13, 2024

On deployment, ftl-controller can not deregister runners (maybe from the previous deploy).

Jul 14 00:34:38.761 ftl-controller Streaming RPC failed: runner callback failed: unavailable: failed to connect to runner: context deadline exceeded: /xyz.block.ftl.v1.ControllerService/RegisterRunner
Jul 14 00:34:38.761 ftl-controller Could not deregister runner http://xxx: not found
@github-actions github-actions bot added the triage Issue needs triaging label Jul 13, 2024
@ftl-robot ftl-robot mentioned this issue Jul 13, 2024
@wesbillman wesbillman added next Work that will be be picked up next P1 labels Jul 15, 2024
@github-actions github-actions bot removed the triage Issue needs triaging label Jul 15, 2024
@github-actions github-actions bot removed the next Work that will be be picked up next label Jul 15, 2024
@matt2e
Copy link
Collaborator

matt2e commented Jul 16, 2024

Looks like this is what's happening:

matt2e added a commit that referenced this issue Jul 16, 2024
fixes #2068

Errors can occur after we were adding the `defer` and when we would try
upserting the runner.
This PR makes it so we only add the defer once we have upserted the
runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants