cppforlife / turbulence-release

Turbulence release is used for injecting failure scenarios into any BOSH deployment.
Apache License 2.0
49 stars 17 forks source link

Shutdown command fails #20

Open mattiekat opened 6 years ago

mattiekat commented 6 years ago

I receive the following error when attempting to use the Shutdown attack without force enabled:

Task execution: Halting: Running command: 'halt', stdout: '', stderr: 'shutdown: Unable to shutdown system
 ': exit status 1

Full json configuration:

{
 "Tasks": [{
   "Type": "Shutdown"
 }],

 "Selector": {
    "Deployment": {
        "Name": "cf"
    }
 }
}

While the systems do not end up shutting down, they do receive a broadcast saying the system is going to shutdown despite the command failing:

Broadcast message from root@5dc8c8d9-32a8-48c6-9585-95d70fdecbfc
        (unknown) at 21:48 ...

The system is going down for halt NOW!

I also tried using force and reboot, the end result was the targeted instances become "unresponsive agents" with no sign of booting back up.