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

Backport of services: un-mark group services as deregistered if restart hook runs into release/1.4.x #16976

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #16905 to be assessed for backporting due to the inclusion of the label backport/1.4.x.

The below text is copied from the body of the original PR.


This PR may fix a bug where group services will never be deregistered if the group undergoes an alloc restart.

Fixes #16616

Adds an e2e test case covering the repro in ^

@hc-github-team-nomad-core hc-github-team-nomad-core requested a review from a team April 24, 2023 19:25
@hc-github-team-nomad-core hc-github-team-nomad-core requested a review from a team as a code owner April 24, 2023 19:25
@hc-github-team-nomad-core hc-github-team-nomad-core requested review from sarahethompson and jeanneryan and removed request for a team April 24, 2023 19:25
@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/group-service-deregister/distinctly-vast-shiner branch from 4bd48e0 to df74f60 Compare April 24, 2023 19:25
@hashicorp-cla
Copy link

hashicorp-cla commented Apr 24, 2023

CLA assistant check
All committers have signed the CLA.

…#16905)

* services: un-mark group services as deregistered if restart hook runs

This PR may fix a bug where group services will never be deregistered if the
group undergoes a task restart.

* e2e: add test case for restart and deregister group service

* cl: add cl

* e2e: add wait for service list call
@shoenig shoenig force-pushed the backport/group-service-deregister/distinctly-vast-shiner branch from df74f60 to c59d001 Compare April 24, 2023 19:34
@shoenig shoenig merged commit 9805456 into release/1.4.x Apr 24, 2023
@shoenig shoenig deleted the backport/group-service-deregister/distinctly-vast-shiner branch April 24, 2023 20:11
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.

None yet

3 participants