Skip to content

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

Merged
tormath1 merged 1 commit intoflatcar-masterfrom
tormath1/fix-etcd-v2-restore
Aug 25, 2021
Merged

kola/tests/etcd: bind :2379 on all interfaces#215
tormath1 merged 1 commit intoflatcar-masterfrom
tormath1/fix-etcd-v2-restore

Conversation

@tormath1
Copy link
Copy Markdown
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 mathieu@kinvolk.io

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 <mathieu@kinvolk.io>
@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