Comments (7)
When running with CLH as the VMM, the error log looks like this:
May 03 11:00:48 xps kata-runtime[307307]: time="2021-05-03T11:00:48.402362277+01:00" level=error msg="add interface failed" arch=amd64 command=kata-network container=dc15d5bb0e3a3d9274227d329e818d2039a3f4c4f07d26a8c0d4b294e595ea72 error="cannot hotplug device: unsupported device type '2'" name=kata-runtime pid=307307 resulting-interface="<nil>" sandbox=dc15d5bb0e3a3d9274227d329e818d2039a3f4c4f07d26a8c0d4b294e595ea72 source=runtime
May 03 11:00:48 xps kata-runtime[307307]: time="2021-05-03T11:00:48.402420499+01:00" level=error msg="cannot hotplug device: unsupported device type '2'" arch=amd64 command=kata-network container=dc15d5bb0e3a3d9274227d329e818d2039a3f4c4f07d26a8c0d4b294e595ea72 name=kata-runtime pid=307307 sandbox=dc15d5bb0e3a3d9274227d329e818d2039a3f4c4f07d26a8c0d4b294e595ea72 source=runtime
May 03 11:00:48 xps kata-netmon[306894]: time="2021-05-03T11:00:48.404259786+01:00" level=fatal msg="handleEvents()" error="exit status 1" name=kata-netmon pid=306894 sandbox=dc15d5bb0e3a3d9274227d329e818d2039a3f4c4f07d26a8c0d4b294e595ea72 source=netmon
from runtime.
Looks like CLH doesn't support hotplugging of network devices:
Line 471 in 59e2273
from runtime.
Ha, looks like FC doesn't support it either
Line 1042 in 59e2273
from runtime.
So, I guess this is by design, so feel free to close this issue.
I'm just curious if it's possible to avoid hotplugging and connect multiple network interfaces before FC VM starts.. Is this possible?
from runtime.
It’s been a while… but I believe you can create a runc container, add a second interface to it, and then create a kata container that uses the net of the first runc container. This’ll result in a kata container running with two interfaces at boot, rather than relying in hotplug.
from runtime.
from runtime.
yep, perfect, just as I was hoping. thanks again @egernst 👍
from runtime.
Related Issues (20)
- Attaching multiple network interfaces to Firecracker container HOT 5
- add observability bind mount to retrieve logs from guest HOT 1
- don't pass cpuset details to guest when creating container
- 9pfs: Tar reports that file shrank HOT 2
- clh: Upgrade to cloud-hypervisor v0.14.0
- Kata Containers 1.x container hangs running Python scripts HOT 12
- Enabling sangbox_cgroup_only causes the creation of pods with small memory.limits settings to fail HOT 3
- Disk io limit of kata container (bps and iops) HOT 2
- Thread creation can be orders of magnitude slower in Kata containers under certain conditions HOT 20
- versions: Upgrade to cloud-hypervisor release v0.14.1
- cli: the incorrect info of command "kata-runtime exec" HOT 1
- `Dead agent` will block kata-agent exit HOT 6
- cli: the default hostname should not be "runc" HOT 1
- kill: does kata container support "terminationGracePeriodSeconds" in pod definition of kubernetes? HOT 5
- versions: Upgrade to cloud-hypervisor v15.0
- Kata on MSFT Win10 WSL2 HOT 5
- Manually hot-plugged interfaces don't work HOT 2
- Revert 1.13.0-alpha1 version bump, as the release was never tagged.
- Incorrect agent version specified in versions.yaml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runtime.