hashicorp / hashicorp/consul

nomad registered service - script check wrongly registered as ttl check

Open
#7,718 6 comments 0 reactions 0 assignees View on GitHub
theme/consul-nomad
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

When filing a bug, please include the following headings if possible. Any example text in this template can be deleted.

#### Overview of the Issue

nomad registered service - script check wrongly registered as ttl check
service registered using nomad service, script check registered with raw_exec driver
nomad version 0.10.3
consul version 1.7.2 - enable_script_checks: true
*UI, not showing script output on ttl checks

#### Reproduction Steps

Steps to reproduce this issue, eg:

1.create nomad/consul cluster of 1 in dev mode
2.create dummie job myservice with script check
3.curl -ks http://localhost:8500/v1/health/checks/myservice
type: ttl
### Operating system and Environment details
redhat linux 7
### Log Fragments

Include appropriate Client or Server log fragments. If the log is longer than a few dozen lines, please include the URL to the [gist](https://gist.github.com/) of the log instead of posting it in the issue. Use `-log-level=TRACE` on the client and server to capture the maximum log detail.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.