Nomad plan confused by multiple services with the same name. #10964
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/consul
theme/plan
type/bug
Milestone
Nomad version
Nomad v1.1.2 (60638a0)
Operating system and Environment details
Not relevant
Issue
The output from plan is simply wrong, it conflates multiple services with the same name (please note that this is fine from a consul perspective and nomad itself does the "same" when registering multiple ports to the "nomad" service).
Reproduction steps
Deploy:
Uncommented the commented service and plan:
Actually deploy the planned version and observe the result:
(or via the webui) You will see that nomad/consul properly created two instances for the service:
![image](https://user-images.githubusercontent.com/81547/127456376-38a33401-1670-421d-9c6b-2a6a64069d8e.png)
Expected Result
Nomad plan should properly differentiate between services with the same name
Actual Result
The last service in the nomad file seems to "win"
The text was updated successfully, but these errors were encountered: