Skip to content

Network delay via chaos_os nsexec creates netem qdisc without delay on some amd64 nodes #1315

Open

Description

@xcyee

问题描述

在部分 amd64 Kubernetes 节点上,使用 chaosblade-tool 执行 CRI/containerd 网络延迟实验时,实验返回成功,但目标容器的 tc qdisc show 结果中只出现 netem limit 1000,没有预期的 delay 10s。
同一镜像、同一命令在 ARM 节点也正常;异常 amd64 节点上手工使用宿主机 nsenter + tc 添加 delay 可以成功。

复现命令

通过 chaos_os 直接复现:
/opt/chaosblade/bin/chaos_os create network delay
--interface=eth0
--time=10000
--offset=0
--uid=test-amd
--channel=nsexec
--ns-target=
--ns-pid=true
--ns-net=true

查看结果:

nsenter -t -p -n tc qdisc show

异常结果:

qdisc noqueue 0: dev lo root refcnt 2
qdisc netem xxxx: dev eth0 root refcnt 2 limit 1000

预期结果:

qdisc noqueue 0: dev lo root refcnt 2
qdisc netem xxxx: dev eth0 root refcnt 2 limit 1000 delay 10.0s

Activity

  1. oss-sentinel-ai commented on Jun 30, 2026

    @oss-sentinel-ai
    Contributor

    Issue Evaluation

    Category: unclassified | Status: Needs Review

    This issue could not be automatically classified. A maintainer will review it.


    Automated evaluation by github-manager-bot

  2. xcyee commented on Sep 3, 2026

    @xcyee
    Author

    不仅仅arm节点 amd节点也会出现结果中只出现 netem limit 1000,没有预期的 delay 10s。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions