Skip to content

choasd not working for network fault #273

Open
@xxmy0825

Description

@xxmy0825
  1. unzip chaosd binary from chaosd-latest-linux-adm64.tar.gz
    chaosd version
    Chaosd Version: version.Info(GitVersion:"v1.4.0", GitCommit:"19a157239.......", BuildDate:"2023-02-08T09:03:38Z", GoVersion:"go1.18.2", Compiler:"gc", Platform:"linux/amd64")

  2. cp chaosd to /usr/bin, which is the default execution path.

  3. inject network fault, and reports success.sudo chaosd attack network delay --device eth0 --ip 192.168.1.100 --latency 100ms

  4. verify the result from another machine,
    ping 192.168.1.100, which turns out that there is no any delay.
    64 bytes from 192.168.1.100: icmp_seq=1 ttl=64 time=0.421ms
    64 bytes from 192.168.1.100: icmp_seq=2 ttl=64 time=0.479ms
    64 bytes from 192.168.1.100: icmp_seq=3 ttl=64 time=0.392ms
    ......

  5. check the tc rules, it seems that it already adds a rule.
    sudo tc qdisc shwo dev eth0
    qdisc netem 5: parent 1:4 limit 1000 delay 100.0ms

  6. not sure what's going on. any suggestions?

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