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
This crash is reproducible every time (version 0.5.2 on Linux amd64).
BTW, I stumbled upon this issue trying to use "service-bound checks" as described in the documentation, but I don't really get what I'm doing wrong, when I look at the example... Any help would be much appreciated :)
The text was updated successfully, but these errors were encountered:
@falzm I've reproduced this, thanks for the report! The problem is definitely that the service ID is specified improperly in the first invocation of Consul. If the service_id field is not specified, then the check is assumed to be a node-level check, so the check registers correctly. In order to fix this, you should first register a service definition using configuration files or by using the API. See the "Service Definitions" page in the Consul Agent documentation here for details.
This is definitely a bug though - Any panic in Consul is a bug. I'll take a look at this.
Hi
I was messing around with Consul when I found that the crashes at shutdown when a service reconfiguration is performed, and that service is erronous.
Example: at startup, the agent has one check defined in /etc/consul.d/check.json:
The agent starts correctly, and starts executing its check:
I edit the check details as:
Then I refresh the agent by sending a HUP signal, but there seems to be an error so the agent deregisters the check:
Then I shutdown the agent (either issuing a
<ctrl+c>
or sending a TERM signal):This crash is reproducible every time (version 0.5.2 on Linux amd64).
BTW, I stumbled upon this issue trying to use "service-bound checks" as described in the documentation, but I don't really get what I'm doing wrong, when I look at the example... Any help would be much appreciated :)
The text was updated successfully, but these errors were encountered: