Nomad does not mark deployment as successful with dynamic service names #16382
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/service-discovery
type/bug
Nomad version
Output from
nomad version
Nomad v1.4.5, v1.5.0
Operating system and Environment details
Linux Mint 21.1
Issue
Services with dynamic names never report healthy deployment status, although services are healthy in Consul view. Seems to be occuring after #15822 , could it be that dynamic service name is not being evaluated before validating the service checks?
Reproduction steps
Expected Result
Service healthiness result from Consul is forwarded to Nomad and deployment is successful.
Actual Result
Service healthiness is not received by Nomad and deployment is marked as failed after a while.
Job file (if appropriate)
A service which uses custom name that is dynamically evaluated (NOMAD_GROUP_NAME, NOMAD_JOB_NAME or similar)
The text was updated successfully, but these errors were encountered: