This repository was archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 367
This repository was archived by the owner on May 12, 2021. It is now read-only.
nemu+hugepages breaks kata network #1698
Copy link
Copy link
Closed
intel/nemu
#232Description
Description of problem
While trying to run kata using virtio-fs, I enabled hugepages on the config file, but when running the docker integration tests, found that the package manager tests failed.
Tried to reproduce the issue manually and it seems that network is broken:
$ grep ^enable_huge /usr/share/defaults/kata-containers/configuration.toml
enable_hugepages = true
root@1b1c02ef90a3:/# apt update
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
tried also getting some files using wget or curl and got timeouts.
This is not only related with virtio-fs as I could also reproduce it using 9p with hugepages enabled.
I don't see any related failure in the logs that can give us a hint of what might be wrong.
I also tried using the default qemu-lite and hugepages enabled, the network works correctly.
So it seems a problem with nemu and hugepages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels