You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consul config under nomad configuration doesn't accept timeout property in any format (tried "5s" , 5, "5". It was working fine in with v0.7.0 version but after upgrade to v0.10.2 it stopped working
Reproduction steps
Add timeout property under consul configuration in nomad config file:
I also found that there are no unit test for this case in consul_test.go
Job file (if appropriate)
Nomad Client logs (if appropriate)
with timeout = "5s" strconv.ParseInt: parsing "5s": invalid syntax
with timeout = "5" consul.timeout can't parse time duration 5
Nomad Server logs (if appropriate)
N.A
The text was updated successfully, but these errors were encountered:
vikmalik
changed the title
Consul config under nomad configuration doesn't accept timeout property in any format
Consul config under nomad configuration doesn't accept timeout property in any format
Dec 24, 2019
I gave some more test run on different versions and found that it got broken post v0.9.1. I was working fine with v0.9.1 and started to give error post that.
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
Nomad v0.10.2 (0d2d6e3)
Operating system and Environment details
Ubuntu 18.04.3 LTS
Issue
Consul config under nomad configuration doesn't accept
timeout
property in any format (tried "5s" , 5, "5". It was working fine in with v0.7.0 version but after upgrade to v0.10.2 it stopped workingReproduction steps
Add timeout property under consul configuration in nomad config file:
I also found that there are no unit test for this case in consul_test.go
Job file (if appropriate)
Nomad Client logs (if appropriate)
strconv.ParseInt: parsing "5s": invalid syntax
consul.timeout can't parse time duration 5
Nomad Server logs (if appropriate)
N.A
The text was updated successfully, but these errors were encountered: