Skip to content

Commit 82799f8

Browse files
Merge pull request #274760 from rsgel/faultlibrary20240508
Pause Process fault and NSG Rule error
2 parents fadf9b3 + 14e1fff commit 82799f8

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

articles/chaos-studio/chaos-studio-fault-library.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Agent-based faults are injected into **Azure Virtual Machines** or **Virtual Mac
2323
|---------------------|-----------------------------------------------------------------------------|-------------------------------------------------------------|
2424
| Windows, Linux | [CPU Pressure](#cpu-pressure) | Compute capacity loss, resource pressure |
2525
| Windows, Linux | [Kill Process](#kill-process) | Dependency disruption |
26+
| Windows | [Pause Process](#pause-process) | Dependency disruption, service disruption |
2627
| Windows, Linux | [Network Disconnect](#network-disconnect) | Network disruption |
2728
| Windows, Linux | [Network Latency](#network-latency) | Network performance degradation |
2829
| Windows, Linux | [Network Packet Loss](#network-packet-loss) | Network reliability issues |
@@ -765,6 +766,50 @@ These sample values produced ~100% disk pressure when tested on a `Standard_D2s_
765766
}
766767
```
767768

769+
### Pause Process
770+
771+
| Property | Value |
772+
|-|-|
773+
| Capability name | PauseProcess-1.0 |
774+
| Target type | Microsoft-Agent |
775+
| Supported OS types | Windows. |
776+
| Description | Pauses (suspends) the specified processes for the specified duration. If there are multiple processes with the same name, this fault suspends all of those processes. Within the fault's duration, the processes are paused repetitively at the specified interval. At the end of the duration or if the experiment is canceled, the processes will resume. |
777+
| Prerequisites | None. |
778+
| Urn | urn:csci:microsoft:agent:pauseProcess/1.0 |
779+
| Parameters (key, value) | |
780+
| processNames | Delimited JSON array of process names defining which processes are to be paused. Maximum of 4. The process name can optionally include the ".exe" extension. |
781+
| pauseIntervalInMilliseconds | Amount of time the fault waits between successive pausing attempts, in milliseconds. |
782+
| virtualMachineScaleSetInstances | An array of instance IDs when you apply this fault to a virtual machine scale set. Required for virtual machine scale sets in uniform orchestration mode. [Learn more about instance IDs](../virtual-machine-scale-sets/virtual-machine-scale-sets-instance-ids.md#scale-set-instance-id-for-uniform-orchestration-mode). |
783+
784+
#### Sample JSON
785+
786+
```json
787+
{
788+
"name": "branchOne",
789+
"actions": [
790+
{
791+
"type": "continuous",
792+
"name": "urn:csci:microsoft:agent:pauseProcess/1.0",
793+
"parameters": [
794+
{
795+
"key": "processNames",
796+
"value": "[ \"test-0\", \"test-1.exe\" ]"
797+
},
798+
{
799+
"key": "pauseIntervalInMilliseconds",
800+
"value": "1000"
801+
}
802+
],
803+
"duration": "PT10M",
804+
"selectorid": "myResources"
805+
}
806+
]
807+
}
808+
```
809+
810+
#### Limitations
811+
812+
Currently, a maximum of 4 process names can be listed in the processNames parameter.
768813

769814
### Time Change
770815

@@ -1608,6 +1653,7 @@ These sample values produced ~100% disk pressure when tested on a `Standard_D2s_
16081653
* Rules are applied at the start of the action. Any external changes to the rule during the duration of the action cause the experiment to fail.
16091654
* Creating or modifying Application Security Group rules isn't supported.
16101655
* Priority values must be unique on each NSG targeted. Attempting to create a new rule that has the same priority value as another causes the experiment to fail.
1656+
* The NSG Security Rule **version 1.1** fault supports an additional `flushConnection` parameter. This functionality has an **active known issue**: if `flushConnection` is enabled, the fault may result in a "FlushingNetworkSecurityGroupConnectionIsNotEnabled" error. To avoid this error temporarily, disable the `flushConnection` parameter or use the NSG Security Rule version **1.0** fault.
16111657

16121658

16131659
### Service Bus: Change Queue State

articles/chaos-studio/chaos-studio-limitations.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ The following are known limitations in Chaos Studio.
3636
## Known issues
3737
- When selecting target resources for an agent-based fault in the experiment designer, it's possible to select virtual machines or virtual machine scale sets with an operating system not supported by the fault selected.
3838
- When running in a Linux environment, the agent-based network latency fault (NetworkLatency-1.1) can only affect **outbound** traffic, not inbound traffic. The fault can affect **both inbound and outbound** traffic on Windows environments (via the `inboundDestinationFilters` and `destinationFilters` parameters).
39-
- When filtering by Azure subscriptions from the Targets and/or Experiments page, you may experience long load times if you have many subscriptions with large numbers of Azure resources. As a workaround, filter down to the single specific subscription in question to quickly find your desired Targets and/or Experiments.
39+
- When filtering by Azure subscriptions from the Targets and/or Experiments page, you may experience long load times if you have many subscriptions with large numbers of Azure resources. As a workaround, filter down to the single specific subscription in question to quickly find your desired Targets and/or Experiments.
40+
- The NSG Security Rule **version 1.1** fault supports an additional `flushConnection` parameter. This functionality has an **active known issue**: if `flushConnection` is enabled, the fault may result in a "FlushingNetworkSecurityGroupConnectionIsNotEnabled" error. To avoid this error temporarily, disable the `flushConnection` parameter or use the NSG Security Rule version **1.0** fault.
41+
4042

4143
## Next steps
4244
Get started creating and running chaos experiments to improve application resilience with Chaos Studio by using the following links:

0 commit comments

Comments
 (0)