Hi @lucab Thank you for your response.
Here is the log to show etcd runs locally:
peer-urls":[“http://localhost:2380”],“advertise-client-urls”:[“http://localhost:2379”],“listen-client-urls”:[“http://localhost:2379”],“listen-metrics-urls”:}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.257+0200”,“caller”:“embed/etcd.go:552”,“msg”:“cmux::serve”,“address”:“127.0.0.1:2380”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.295+0200”,“logger”:“raft”,“caller”:“raft/raft.go:779”,“msg”:“8e9e05c52164694d is starting a new election at term 5”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.295+0200”,“logger”:“raft”,“caller”:“raft/raft.go:721”,“msg”:“8e9e05c52164694d became pre-candidate at term 5”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.295+0200”,“logger”:“raft”,“caller”:“raft/raft.go:839”,“msg”:“8e9e05c52164694d received MsgPreVoteResp from 8e9e05c52164694d at term 5”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.295+0200”,“logger”:“raft”,“caller”:“raft/raft.go:705”,“msg”:“8e9e05c52164694d became candidate at term 6”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.295+0200”,“logger”:“raft”,“caller”:“raft/raft.go:839”,“msg”:“8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 6”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.295+0200”,“logger”:“raft”,“caller”:“raft/raft.go:757”,“msg”:“8e9e05c52164694d became leader at term 6”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.295+0200”,“logger”:“raft”,“caller”:“raft/node.go:332”,“msg”:“raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 6”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.296+0200”,“caller”:“etcdserver/server.go:1753”,“msg”:“published local member to cluster through raft”,“local-member-id”:“8e9e05c52164694d”,“local-member-attributes”:“{Name:default ClientURLs:[http://localhost:2379]}”,“request-path”:“/0/members/8e9e05c52164694d/attributes”,“cluster-id”:“cdf818194e3a8c32”,“publish-timeout”:“7s”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.296+0200”,“caller”:“embed/serve.go:98”,“msg”:“ready to serve client requests”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.296+0200”,“caller”:“etcdmain/main.go:47”,“msg”:“notifying init daemon”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.296+0200”,“caller”:“etcdmain/main.go:53”,“msg”:“successfully notified init daemon”}
{“level”:“info”,“ts”:“2021-09-01T12:46:47.298+0200”,“caller”:“embed/serve.go:140”,“msg”:“serving client traffic insecurely; this is strongly discouraged!”,“address”:“127.0.0.1:2379”}
During troubleshooting, i had to exec into the container, then i noticed the airlock container only uses its default configuration – Meaning, it ignores my custom configurations within it config.toml…
I used this command to run the container:
docker run -p 3333:3333/tcp -v "/etc/airlock/config.toml:/etc/airlock/config.toml" quay.io/coreos/airlock:main airlock serve -vv
What i have tried:
- Ran etcd3 locally and exposed it to airlock via the config.toml file
- Ran etcd3 on a standalone server and exposed it via config.toml
What do you it would likely be the issue?