-
Notifications
You must be signed in to change notification settings - Fork 377
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
CPLB continue to add CPLB IP as etcd.peerAddress #4664
Comments
Hi, this is indeed wrong. |
Sure!
|
That smells like it's the problem, yes. The original PR just skipped the dummy interface and didn't take into account that the virtual IP could be attached to a different interface, as well. Still not sure why k0s chose the second address. The assumption was that Go's A proper fix would be to exclude/blacklist VRRP IPs when determining the address. The code is currently structured in a way that makes make this difficult. On the other hand, k0s should probably also prefer the primary (i.e. non-secondary) address of an interface. That's self-contained and should be enough to fix this issue. |
The issue is marked as stale since no activity has been recorded in 30 days |
The issue is marked as stale since no activity has been recorded in 30 days |
The issue is marked as stale since no activity has been recorded in 30 days |
The issue is marked as stale since no activity has been recorded in 30 days |
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.30.2+k0s.0
Sysinfo
`k0s sysinfo`
What happened?
I thought the fix in #4582 would solve this issue, but k0s still puts the CPLB IP as etcd.peerAddress IP.
Steps to reproduce
privateInterface
from the configk0sctl apply
Expected behavior
This is my k0sctl.yaml currently deployed:
Resulting in this k0s.yaml on the node:
After the fix in #4582, I thought I can remove the privateInterface from my config. And I would still get the same
k0s.yaml
on my node and everything continue to work.Actual behavior
Removing
privateInterface
still adds etcd.peerAddress which points to the CPLB IP which is WRONG.Screenshots and logs
No response
Additional context
I think the issue is that my primary network interface has two IPs due to the CPLB?
The text was updated successfully, but these errors were encountered: