hashicorp / hashicorp/consul-template

[windows]: Kill failed: `"not supported by windows"`

Open
#1,604 9 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
4.8k
Forks
801
Avg merge
4h 5m
Merged PRs (30d)
6

Description

### Consul Template version

```
2022-07-22T06:56:28.852Z [INFO] consul-template v0.29.1 (4525703)
```

### Configuration

```hcl
log_level = "trace"

# Setting this value to the empty string will cause consul-template
# to not listen for any reload signals but pass them down to nginx instead.
reload_signal = ""

consul {
retry {
enabled = true
attempts = 10
max_backoff = "1s"
}
}

vault {
retry {
enabled = true
attempts = 10
max_backoff = "1s"
}
}

template {
destination = "secrets/ssl/keys/connect-ca.pem"
contents = <

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Windows failure with consul-template v0.29.1, the supplied configuration, and the `nginx` command, then review the trace output around the child-process kill attempt. Done means consul-template can terminate and restart the nginx process on Windows without the `OpenProcess` parameter error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.