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

Type checking interface for veth breaks container startup on 1.15.0 and 1.16.0 images, causes issues w/ ipvlan and macvlan networks. #52

Open
MxD-js opened this issue Sep 24, 2024 · 1 comment

Comments

@MxD-js
Copy link

MxD-js commented Sep 24, 2024

Hi, This line here causes ipvlan network issues, docker sets the network type toipvlan in the container and this check fails and never moves past this loop when a image is restricted to a ipvlan type network per kasm documentation. Removing the veth check or adding ipvlan to the type check resolves this issue. This works fine if the image is on the kasm_default_network because docker sets the interface type to vethbut breaks when the container is restricted to ipvlan or macvlan networks.

Curious why the strict check for veth?

interfaces=$(ip link show type veth | awk -F: '/^[0-9]+: / {print $2}' | awk '{print $1}' | sed 's/@.*//')

issue thread for context and resolution.
kasmtech/workspaces-issues#615

@jcbshw
Copy link

jcbshw commented Dec 13, 2024

Thanks for the discovery. I was also experiencing this after setting up IPVlan using the official Kasm documentation.

Making the changes locally to vnc_startup.sh resolves the issue.

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

No branches or pull requests

2 participants