chaos-mesh / chaosd

A Chaos Engineering toolkit.
Apache License 2.0
136 stars 63 forks source link

when I create a partition exception, iptables always "-o eth0" #244

Open An-egg opened 1 year ago

An-egg commented 1 year ago

when I create a partition exception, iptables always "-o eth0"

iptables: image yaml:

kind: PhysicalMachineChaos
apiVersion: chaos-mesh.org/v1alpha1
metadata:
  namespace: default
  name: dasdawqesda
spec:
  action: network-partition
  address:
    - http://x.x.x.x:31767
  selector: {}
  mode: all
  uid: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  network-partition:
    device: br-storage
    ip-address: x.x.x.x,x.x.x.x
    direction: to
    ip-protocol: all

core network.go image unuse param device

Fomalhauthmj commented 1 year ago

I also suffer this problem, maybe we could use network-loss to simulate network-partition.