-
Notifications
You must be signed in to change notification settings - Fork 66
drenv: Update flannel version to v0.27.0 #2331
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
base: main
Are you sure you want to change the base?
Conversation
6a6b3ea to
c1113c5
Compare
nirs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks trivial, but did you test it? You need macOS for testing.
I've tested with all of the latest versions installed in the main branch. (Regardless of this PR. It failed for the same reasons on this branch so I decided to check main.) There seems to be an issue with starting one of the clusters via There's also this which might indicate some issue with binding to the SSH port (not sure it's related, though): Thoughts? |
When we time out waiting for kubeadm/ssh it usually means we don't have an IP. To debug this issue is useful to use the small envs/vm.yaml environment. When it works we can delete it and start the full regional-dr.yaml environemnt. To identify the issue list the vms after starting drenv: limactl listThis should show all the vms in To check if we have an ip use: limactl shell <vm name> ip aThis should show: $ limactl shell cluster ip a
...
3: lima0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:55:55:df:b6:28 brd ff:ff:ff:ff:ff:ff
inet 192.168.105.2/24 metric 100 brd 192.168.105.255 scope global dynamic lima0
valid_lft 3591sec preferred_lft 3591sec
inet6 fdc1:b4b6:9262:daea:5055:55ff:fedf:b628/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 2591994sec preferred_lft 604794sec
inet6 fe80::5055:55ff:fedf:b628/64 scope link
valid_lft forever preferred_lft foreverWhen we don't have IP you will not see a IPv4 address for interface lima0: $ limactl shell cluster ip a
...
3: lima0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:55:55:df:b6:28 brd ff:ff:ff:ff:ff:ff
inet6 fdc1:b4b6:9262:daea:5055:55ff:fedf:b628/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 2591961sec preferred_lft 604761sec
inet6 fe80::5055:55ff:fedf:b628/64 scope link
valid_lft forever preferred_lft foreverWe don't know why we don't get an IP in some cases, but we know it happens much more for managed machines, or after connecting to the vpn (typically it breaks networking for drenv). The workaround we use are:
The typical flow is:
In most cases this fixes the issue. If this does not help, I had some success by also flushing the firewall rules and reloading all rules: If nothing helps, reboot usually fixes the issue. On non-managed machine this issue is very rare, but it is usually happen after you connect to a VPN using ThunnalBlick. This is not a lima/socket_vment issue, it happens also with minikube/vment-helper. This is likely Apple bug. |
|
@raaizik Please rebase on main for testing this change. |
Yeah, I know. Thanks |
drenv: Update flannel version to v0.27.0 Update flannel CNI plugin version from v0.24.0 to v0.27.0 to align with upstream Lima changes. This follows the update in lima-vm/lima#2991 which updated the flannel version in the upstream k8s.yaml template. Resolves RamenDR#1704 Signed-off-by: raaizik <[email protected]>
Update flannel CNI plugin version from v0.24.0 to v0.27.0 to align with upstream Lima changes.
Resolves #1704