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.3.x #16975

Merged

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.3.x.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

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 force-pushed the backport/group-service-deregister/poorly-able-hornet branch 2 times, most recently from c3ad5a0 to 93d1744 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/poorly-able-hornet branch from b1557a8 to 9d833dc Compare April 24, 2023 19:29
@shoenig shoenig merged commit 3e4ff28 into release/1.3.x Apr 24, 2023
@shoenig shoenig deleted the backport/group-service-deregister/poorly-able-hornet branch April 24, 2023 19:56
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