This repository was archived by the owner on Mar 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Chaos type #2: Simulate EBS failure #88
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This should simulate an EBS failure. With luck, the instance will keep running though, and keep responding to pings. All I/O will fail though, and eventually the kernel will hang, crash or panic.
Conflicts: src/main/java/com/netflix/simianarmy/chaos/ChaosType.java src/main/java/com/netflix/simianarmy/chaos/ShutdownInstanceChaosType.java
Conflicts: src/main/java/com/netflix/simianarmy/chaos/ShutdownInstanceChaosType.java
Conflicts: src/main/java/com/netflix/simianarmy/chaos/ChaosType.java
Conflicts: src/main/java/com/netflix/simianarmy/basic/chaos/BasicChaosMonkey.java
Because we're blocked from detaching it, we shouldn't count it when deciding whether it's a valid strategy.
Conflicts: src/main/java/com/netflix/simianarmy/basic/chaos/BasicChaosMonkey.java
Conflicts: src/main/java/com/netflix/simianarmy/basic/chaos/BasicChaosMonkey.java
|
SimianArmy-pull-requests #61 FAILURE |
|
SimianArmy-pull-requests #63 FAILURE |
|
SimianArmy-pull-requests #65 SUCCESS |
Contributor
|
this PR is obsolete by #93 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Force-detach EBS volumes, to simulate a catastrophic EBS failure. Typically the instances continue to run, but all I/O to the EBS volumes block forever. Sort of similar to the behaviour seen in total EBS failures.
"Sadly" we can't detach the root EBS volume, so this is only applicable when there's a non-root EBS volume attached. But the strategy auto-detects whether that is the case, and just removes itself from the applicable list if it can't be applied.
Force-detaching EBS volumes is quite likely to cause data corruption, so don't use this on production data where you don't have a good backup. But if you're stress testing a database on test data, it's not a bad one to try out!