controlplaneio / simulator

Kubernetes Security Training Platform - focusing on security mitigation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error running perturb with simulator

hpros opened this issue · comments

commented

Describe the bug

  • I am trying to launch a scenario and I get this error

ERRO[2021-10-01T11:31:36Z] Error launching scenario Error="Error running perturb with simulator.PerturbOptions{Bastion:net.IP{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0x36, 0x4d, 0x9, 0xaa}, Master:net.IP{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0xac, 0x1f, 0x2, 0x1f}, Slaves:[]net.IP{net.IP{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0xac, 0x1f, 0x2, 0x9a}, net.IP{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0xac, 0x1f, 0x2, 0x6}}, ScenarioName:\"node-shock-tactics\"}: Error waiting for child process ./perturb.sh: exit status 1"

  • I tried this for all the scenarios and the error is constant
  • Also, I tried by running simulator infra create and simulator infra destroy but still the error persists

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'simulator' folder after git clone of the project
  2. command run make run > simulator scenario launch node-shock-tactics
  3. scenario selected 'All Scenarios'
  4. See error

Screenshots
image

Environment (please complete the following information):

  • OS: Ubuntu 20
  • Docker: 20.10.7
  • Version of simulator: master