Skip to content
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

[Feature]: Specify which faults to induce when using Start-ServiceFabricChaos #1499

Open
jonathanpv opened this issue May 21, 2024 · 1 comment
Labels
type-enhancement New feature or request

Comments

@jonathanpv
Copy link

Is your feature request related to a problem? Please describe your workload details.
Start-ServiceFabricChaos cmdlet allows developers to invoke faults. However it seems these faults are hard-coded. As a developer
attempting to test resiliency of clusters it would be beneficial to be able to have fine-grained control over the faults Start-ServiceFabricChaos induces.

I also have a requirement:
My code should induce faults to services (applications?) located in another cluster, and also ones located in the same cluster.

A shared multi-tenant environment. Restarting a node will bring down multiple services, not one. Sure, it may test resiliency of cluster
but we want to simulate faults at an application / service level. And there's no way Start-ServiceFabricChaos can be configured to not
restart a node.

Describe the solution you'd like
A parameter of list where Start-ServiceFabricChaos --faults [restartNode, movePartition, etc] so developer can fine tune what control to use.

Describe alternatives you've considered
Currently we could implement the functionality ourselves, but we would lose out on Get-ServiceFabricChaosReport.

Area/Component:
Reliable Services. I'm unsure if I labelled this correctly, I'm new to service fabric.

Expected behavior
Not relevant.

Additional context
Please let me know if you require more context.

Service Fabric Runtime Version:
9.0.1672.9590

Environment:

  • Local
  • OS: Windows 11 Enterprise

Assignees: /cc @microsoft/service-fabric-triage

@jonathanpv jonathanpv added the type-enhancement New feature or request label May 21, 2024
@jonathanpv
Copy link
Author

Question:
Where's the source code that defines the procedure for the Start-ServiceFabricChaos powershell module? I'm fairly certain it's also available via C# and is a service fabric service.

My project would benefit from reading this.

@tomvcassidy any insights on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant