Closed fredwangwang closed 3 years ago
@fredwangwang Thank you for reporting, sorry you are running into this. I've tracked the issue down to the scheduler, when an inplace update is made (like removing or updating a service block) the allocations shared (group) ports are dropped. I've created https://github.com/hashicorp/nomad/issues/9735 to track and will have a fix soon.
@drewbailey thanks for investigating!
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
0.12.5
Operating system and Environment details
linux + Consul 1.8.3
Issue
tested: When removing the additional service stanzas from
system
type jobs and redeploy, the service registration leaks (not removed from Consul).Reproduction steps
Job file (if appropriate)