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

kola/tests/etcd: bind :2379 on all interfaces #215

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

tormath1
Copy link
Contributor

with etcdctl/v3 default endpoints is: 127.0.0.1:2379 while with
etcdct/v2 it's http://127.0.0.1:2379,http://127.0.0.1:4001.
etcdct/v3 was failing to reach 127.0.0.1:2379 because it's bound
to the private IPv4 (so 10.0.0.x) (see also other tests: https://github.com/kinvolk/mantle/blob/flatcar-master/kola/tests/etcd/discovery.go#L35)

Signed-off-by: Mathieu Tortuyaux [email protected]

How to use

git checkout tormath1/fix-etcd-v2-restore
./build kola
sudo ./bin/kola run ...  cl.etcd-member.v2-backup-restore

Testing done

⬆️

with `etcdctl/v3` default endpoints is: 127.0.0.1:2379 while with
`etcdct/v2` it's http://127.0.0.1:2379,http://127.0.0.1:4001.
`etcdct/v3` was failing to reach `127.0.0.1:2379` because it's bound
to the private IPv4 (so `10.0.0.x`)

Signed-off-by: Mathieu Tortuyaux <[email protected]>
@tormath1 tormath1 requested a review from a team August 25, 2021 07:53
@tormath1 tormath1 self-assigned this Aug 25, 2021
@tormath1 tormath1 merged commit 8caf355 into flatcar-master Aug 25, 2021
@tormath1 tormath1 deleted the tormath1/fix-etcd-v2-restore branch August 25, 2021 08:05
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 this pull request may close these issues.

3 participants