-
Notifications
You must be signed in to change notification settings - Fork 374
Commits on Jun 3, 2019
-
ci: Build kata-runtime before running static checks
We need to build kata-runtime to have the correct files in place to be able to run the static checks script. Fixes kata-containers#1716. Signed-off-by: Salvador Fuentes <[email protected]> (cherry picked from commit e8bf810) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a46998 - Browse repository at this point
Copy the full SHA 0a46998View commit details -
runtime : delete redundant code in CreateContainer
Here we have done with logger and container ID map Just delete these code. fixes kata-containers#1740 Signed-off-by: Haomin Tsai <[email protected]> (cherry picked from commit bdae295) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cb6316 - Browse repository at this point
Copy the full SHA 3cb6316View commit details
Commits on Jun 4, 2019
-
kata_proxy: Set Setsid to true when exec kata-proxy
There is an issue that ctrl-c stop vmcache server will stop all containers that its VM is created by it. The cause is kata-proxy and vmcache server use same tty, for example: ps -e | grep kata 3617 pts/5 00:00:00 kata-runtime 3636 pts/5 00:00:00 kata-proxy Ctrl-c will send signal to both kata-proxy and vmcache server. Then the containers that its VM is created by this vmcache server will quit with it. Set Setsid to true when exec kata-proxy to handle this issue. Fixes: kata-containers#1726 Signed-off-by: Hui Zhu <[email protected]> (cherry picked from commit 19115ef) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6434414 - Browse repository at this point
Copy the full SHA 6434414View commit details -
cache: Call vm.Disconnect() when close vm
After previous commit, found that kata-proxy is not quit when vmcache server is stopped by ctrl-c. The cause is current kata-proxy is setsid when it exec. It will not get the signal ctrl-c. Call vm.Disconnect() when close vm in cache factory to handle this issue. Fixes: kata-containers#1726 Signed-off-by: Hui Zhu <[email protected]> (cherry picked from commit 7bf6c67) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5eecdae - Browse repository at this point
Copy the full SHA 5eecdaeView commit details -
data: Revert pull request kata-containers#1405
The rootfs image was fixed, now the DAX metadata and 2 MBRs headers are part of the same image. Mounting the rootfs partiton with an offset of 2M is no more needed, since the first MBR is read by partx or losetup by default. fixes kata-containers#1443 Signed-off-by: Julio Montes [email protected] (cherry picked from commit 82e51d4) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Julio Montes authored and Ganesh Maharaj Mahalingam committedJun 4, 2019 Configuration menu - View commit details
-
Copy full SHA for ad4b07d - Browse repository at this point
Copy the full SHA ad4b07dView commit details -
shimv2: fix the issue of passing the wrong container id
It should pass the container id instead of sandbox id. Fixes:kata-containers#1672 Signed-off-by: lifupan <[email protected]> (cherry picked from commit 5e1f5ca) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a98871e - Browse repository at this point
Copy the full SHA a98871eView commit details -
shimv2: kill a container return directly once the container termianted
According to CRI specs, kubelet will call StopPodSandbox() at least once before calling RemovePodSandbox, and this call is idempotent, and must not return an error if all relevant resources have already been reclaimed. And in that call it will send a SIGKILL signal first to try to stop the container, thus once the container has terminated, here should ignore this signal and return directly. Fixes:kata-containers#1672 Signed-off-by: lifupan <[email protected]> (cherry picked from commit 0d535f5) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb75d0c - Browse repository at this point
Copy the full SHA eb75d0cView commit details -
shimv2: shutdown the sandbox when sandbox container exited
Kubelet would cleanup the pod cgroup resources and kill the processes in the pod cgroups when it detected all of the containers in a pod exited, thus shimv2 should close the hypervisor process once the podsandbox container exited, otherwise, the hypervisor process would be killed by kubelet and made shimv2 failed to shutdown the sandbox. Fixes:kata-containers#1672 Signed-off-by: lifupan <[email protected]> (cherry picked from commit f301c95) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9661586 - Browse repository at this point
Copy the full SHA 9661586View commit details -
shimv2: remove use containerd ns as netns
``` //the network namespace created by cni plugin netns, err = namespaces.NamespaceRequired(ctx) if err != nil { return nil, errors.Wrap(err, "create namespace") } ``` the netns is a containerd namespace concept, it not netns, event a cni set netns for this, this is a tricky way, so remove the logic. Fixes: kata-containers#1692 Signed-off-by: Ace-Tang <[email protected]> (cherry picked from commit d6b3bff) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0c413a - Browse repository at this point
Copy the full SHA a0c413aView commit details -
data/kata-collect-data: support kata containers snap
Use `kata-containers.runtime` that is the runtime binary, to collect the data if the kata-runtime binary is not installed fixes kata-containers#1720 Signed-off-by: Julio Montes <[email protected]> (cherry picked from commit 19288aa) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Julio Montes authored and Ganesh Maharaj Mahalingam committedJun 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 2c444f3 - Browse repository at this point
Copy the full SHA 2c444f3View commit details -
virtio-fs is now available in 1.7 release and needs hugepages enabled. Updating version of NEMU that ships with kata by default which contains the fixes for hugepages, machine_type=virt and network access. Fixes: kata-containers#1709 Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]> (cherry picked from commit 722ac5a) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Ganesh Maharaj Mahalingam committedJun 4, 2019 Configuration menu - View commit details
-
Copy full SHA for 97cf3c9 - Browse repository at this point
Copy the full SHA 97cf3c9View commit details -
nemu-config: Add machine_type to config file
nemu needs to be configured with: `machine_type = "virt"` by default. In addition, this commit removes `machine_accelerators="virt"` which was added instead of `machine_type` in a previous commit. Fixes: kata-containers#1707. Signed-off-by: Salvador Fuentes <[email protected]> (cherry picked from commit 6be5e5f) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a268c66 - Browse repository at this point
Copy the full SHA a268c66View commit details -
virtcontainers: Set correct Shmsize for ppc64le
Fix the test case TestGetShmSizeBindMounted by setting the right ShmSize for ppc64le. Fixes: kata-containers#1702 Signed-off-by: Nitesh Konkar [email protected] (cherry picked from commit 1789b65) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for feddee0 - Browse repository at this point
Copy the full SHA feddee0View commit details -
versions: Update CRI-O version to 1.14.1
Now that CRI-O released a new version we can update it. Fixes kata-containers#1696 Signed-off-by: Gabriela Cervantes <[email protected]> (cherry picked from commit 5d527d7) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58f7eea - Browse repository at this point
Copy the full SHA 58f7eeaView commit details -
versions: Update golang to 1.11.10
Set the minimum golang version to 1.11.10, the latest stable 1.11 version at the time of writing. Go 1.11 is required to build the agent with working vsock support. Fixes: kata-containers#1693 Signed-off-by: Marco Vedovati <[email protected]> (cherry picked from commit c22b15d) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0199d89 - Browse repository at this point
Copy the full SHA 0199d89View commit details -
qemu: print virtiofsd logs when debug is on
To help trace virtiofsd issues. Signed-off-by: Peng Tao <[email protected]> (cherry picked from commit d0aae80) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52f0193 - Browse repository at this point
Copy the full SHA 52f0193View commit details -
qemu: stop qemu process when virtiofsd quits
If virtiofsd fails to initialize and stops unexpected, qemu might hang forever. We just stop the qemu process. Resource cleanup will be done by others. Fixes: kata-containers#1690 Signed-off-by: Peng Tao <[email protected]> (cherry picked from commit 89e0dfa) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fb2a995 - Browse repository at this point
Copy the full SHA fb2a995View commit details -
kata_proxy: Open a special goroutine do cmd.Wait
Got a defunct kata-proxy after kata quit when VMCache is enabled. The reason is vmcache server opens kata-proxy but doesn't wait it. If VMCache is disabled, kata-runtime will quit before kata-proxy. So it will not meet the issue. Open a special goroutine do cmd.Wait in kataProxy.start to handle the isssue. Fixes: kata-containers#1678 Signed-off-by: Hui Zhu <[email protected]> (cherry picked from commit 00d03c1) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c7da54 - Browse repository at this point
Copy the full SHA 7c7da54View commit details -
network: delete IP addrs on bridge model to prevent ARP conflict
Fixes: kata-containers#1673 Signed-off-by: Zha Bin <[email protected]> (cherry picked from commit bdb1047) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c199e2 - Browse repository at this point
Copy the full SHA 8c199e2View commit details -
shimv2: Close vhostfd after vm get vhostfd
If kata containers is using vfio and vhost net,the unbinding of vfio would be hang. In the scenario, vhost net kernel thread takes a reference to the qemu's mm, and the reference also includes the mmap regions on the vfio device file. so vhost kernel thread would be not released when qemu is killed as the vhost file descriptor still is opened by shim v2 process, and the vfio device is not released because there's still a reference to the mmap. Fixes: kata-containers#1669 Signed-off-by: Yang, Wei <[email protected]> Signed-off-by: Eric Ernst <[email protected]> (cherry picked from commit 071030b) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b798c28 - Browse repository at this point
Copy the full SHA b798c28View commit details -
fc-toml: remove proxy section in config
proxy will never be use with the Firecracker VMM. Keeping this header will result in runtime failures, since the configuration will be parsed on the path searched for. Since vsock will always be used, remove the proxy section. Fixes: kata-containers#1761 Signed-off-by: Eric Ernst <[email protected]> (cherry picked from commit bbe5584) Signed-off-by: Ganesh Maharaj Mahalingam <[email protected]>
Eric Ernst authored and Ganesh Maharaj Mahalingam committedJun 4, 2019 Configuration menu - View commit details
-
Copy full SHA for a480f27 - Browse repository at this point
Copy the full SHA a480f27View commit details