-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
health checks fail when using variables in service tags #2969
Comments
Caddy appears to be returning a 404 which causes the health check to fail, but there does appear to be a bug around service tags that can break checks as well. Investigating. |
That's because you don't have the mount I specified, sorry for that. In my setup I have a index.html in that mount. |
Thanks for the reported. Reproduced and will have a fix for 0.6.1! |
Fixes an issue in which the allocation health watcher was checking for allocations health based on un-interpolated services and checks. Change the interface for retrieving check information from Consul to retrieving all registered services and checks by allocation. In the future this will allow us to output nicer messages. Fixes #2969
For those who are running into this issue, you can use these binaries or wait till 0.6.1 which will be out in a a week or two. |
@dadgar FYI. I was having problems with checks when using |
@dadgar this seems to work indeed. However, the
|
@tino Instead of "nomad status {stuff}", do "nomad job status {stuff}". My fingers really didn't want to make the transition, but I like where it's headed. |
@stevenscg ah thanks. Guess that needs some documentation. I might be able to understand where it is headed, but I'm not sure I like it. After |
changing |
@stevenscg @tino @shantanugadgil You all are on the bleeding edge :) |
I like that, makes much more sense!
…On Aug 14, 2017 22:44, "Alex Dadgar" ***@***.***> wrote:
@stevenscg <https://github.com/stevenscg> @tino <https://github.com/tino>
@shantanugadgil <https://github.com/shantanugadgil> You all are on the
bleeding edge :) nomad status will be coming back. It will change from
just showing job status to becoming a router into the appropriate status
command. So if you paste a job it will show job status, alloc ->
alloc-status etc.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2969 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABFW9S4l6HlEKhUjIHq9mhI4CJSMWq2oks5sYLGRgaJpZM4OuJW2>
.
|
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. |
Nomad version
Nomad v0.6.0
Operating system and Environment details
Linux ubuntu-xenial 4.4.0-87-generic (vagrant)
Issue
When using variables in service tags, jobs will never become healthy
Reproduction steps
Run the job file and check
nomad status myjob
. It doesn't get healthy. If you remove or replace the tag with something that is not a variable, it works. In consul, the service is healthy nevertheless.Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
Job file (if appropriate)
The text was updated successfully, but these errors were encountered: