Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consul Agent exits silently #7410

Closed
johscheuer opened this issue Mar 8, 2020 · 0 comments · Fixed by #7411
Closed

Consul Agent exits silently #7410

johscheuer opened this issue Mar 8, 2020 · 0 comments · Fixed by #7411

Comments

@johscheuer
Copy link
Contributor

Overview of the Issue

The consul agent fails silently if the data-dir doesn't exists or is readonly.

Reproduction Steps

Steps to reproduce this issue, eg:

Run the following commands:

$ docker run -ti --read-only consul:latest consul agent --data-dir=/tmp --log-level=TRACE
==> Starting Consul agent...

$ docker run -ti  consul:latest consul agent --data-dir=/tmpa --log-level=TRACE
==> Starting Consul agent...

The agent never tells what happened and why it crashed (even we se the log level TRACE).

Consul info for both Client and Server

None, happens directly when starting the agent wit the flags from above.

Operating system and Environment details

OS, Architecture, and any other information you can provide about the environment.

Log Fragments

See above.

@johscheuer johscheuer changed the title Consul Agent exists silently Consul Agent exits silently Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant