mirror of
https://github.com/containers/podman.git
synced 2025-06-25 12:20:42 +08:00
Disable CGv1 pod stats on net=host post
This should be addressed by PR https://github.com/containers/podman/pull/8685 Note: Recently updated F32 (prior-fedora) and Ubuntu 20.04 (prior-ubuntu) VMs always use CGroupsV1 with runc. F33 and Ubuntu 20.10 were updated to always use CGroupsV2 with crun. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -179,7 +179,8 @@ var _ = Describe("Podman pod stats", func() {
|
|||||||
|
|
||||||
It("podman stats on net=host post", func() {
|
It("podman stats on net=host post", func() {
|
||||||
// --net=host not supported for rootless pods at present
|
// --net=host not supported for rootless pods at present
|
||||||
SkipIfRootlessCgroupsV1("Pause stats not supported in cgroups v1")
|
// problem with sysctls being passed to containers of the pod.
|
||||||
|
SkipIfCgroupV1("Bug: Error: sysctl net.ipv4.ping_group_range is not allowed in the hosts network namespace: OCI runtime error")
|
||||||
podName := "testPod"
|
podName := "testPod"
|
||||||
podCreate := podmanTest.Podman([]string{"pod", "create", "--net=host", "--name", podName})
|
podCreate := podmanTest.Podman([]string{"pod", "create", "--net=host", "--name", podName})
|
||||||
podCreate.WaitWithDefaultTimeout()
|
podCreate.WaitWithDefaultTimeout()
|
||||||
|
Reference in New Issue
Block a user