-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ebs loss scenario #692
Conversation
6da4afc
to
0fc21a1
Compare
Is there any reason why this functionality shouldn't be implemented as a new scenario of |
Agree with @pablomh that we can make it as an additional action in the node-scenarios - https://github.com/krkn-chaos/krkn/blob/main/scenarios/openshift/aws_node_scenarios.yml where the parameters are similar for aws, gcp, azure - node name to target, volume id etc and we run the detach logic based on cloud_provider set ( aws, gcp etc. ) |
0fc21a1
to
76e5d76
Compare
25b669f
to
193a936
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally, I'd like to see the commits squashed so we only see the final work and not the intermediate steps.
327f7b1
to
aef99fd
Compare
aef99fd
to
d7bf67b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran a test to disrupt volumes on a node with just root disk and it worked as expected!
2024-12-05 12:39:36,924 [INFO] actionnode_disk_detach_attach_scenario
2024-12-05 12:39:36,924 [INFO] Starting disk_detach_attach_scenario injection
2024-12-05 12:39:36,924 [INFO] Obtaining disk attachment information
2024-12-05 12:39:37,277 [ERROR] Node ip-10-0-30-109.us-west-2.compute.internal has only root disk attached
2024-12-05 12:39:37,277 [ERROR] node_disk_detach_attach_scenario failed!
2024-12-05 12:39:37,481 [INFO] wating 60 before running the next scenario
Minor nit. Other than that LGTM! Nice work @juliemathew!
Resolves krkn-chaos#678 Signed-off-by: jtydlack <[email protected]> Add functions for aws detach disk scenario Signed-off-by: jtydlack <[email protected]> Add detach disk scenario in node scenario Signed-off-by: jtydlack <[email protected]> Add disk_deatch_attach_scenario in docs Signed-off-by: jtydlack <[email protected]>
d7bf67b
to
520ac52
Compare
Now that the commits are squashed, LGTM :) |
Resolves #678