Consul Exec is failing without providing more details

76 views
Skip to first unread message

thib...@weareadaptive.com

unread,
Jul 12, 2018, 8:55:34 AM7/12/18
to Consul
Hi,

I'm trying to use consul exec for a few weeks but I'm failing on a behavior that I feel weird with.

First, 
most of the commands run just fine. The trigger is instant, the exit result is taken. Nothing to say.

But sometime, 
it's like the consul exec command just disconnect without any result and without providing any more feedback than:

```
0 / 1 node(s) completed / acknowledged
```

This behavior seems definitely be linked to what the command is. For my case, it triggers a C# program written by us.
If I remote on the node and try to run the command in the same way, that one just succeed.
I know that it's potentially a difference with Environment or something like that, but that lack of consul exec output make that debug really hard ...
I did try the "verbose" parameter but that doesn't add any details for this error.

Regards,
Thibault

Aaron Hurt

unread,
Jul 16, 2018, 6:04:32 PM7/16/18
to Consul
 I’d start by looking at consul monitor -log-level=debug on both the agent where the execute is happening as well as where the command is being initiated from.

thib...@weareadaptive.com

unread,
Jul 19, 2018, 9:44:40 AM7/19/18
to Consul
Thanks, will try that
Reply all
Reply to author
Forward
0 new messages