You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/load-testing/how-to-test-private-endpoint.md
+2-151Lines changed: 2 additions & 151 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ description: Learn how to deploy Azure Load Testing in a virtual network (virtua
5
5
services: load-testing
6
6
ms.service: azure-load-testing
7
7
ms.custom: devx-track-azurecli
8
-
ms.author: ninallam
9
-
author: ninallam
8
+
ms.author: vevippar
9
+
author: nagarjuna-vipparthi
10
10
ms.date: 05/12/2023
11
11
ms.topic: how-to
12
12
---
@@ -194,155 +194,6 @@ To configure the load test with your virtual network settings, update the [YAML
194
194
195
195
1. After the CI/CD workflow triggers, your load test starts, and can now access the privately hosted application endpoint in your virtual network.
196
196
197
-
## Troubleshooting
198
-
199
-
### Creating or updating the load test fails with `Subscription not registered with Microsoft.Batch (ALTVNET001)`
200
-
201
-
When you configure a load test in a virtual network, the subscription has to be registered with `Microsoft.Batch`.
202
-
203
-
1. Try to create or update the load test again after a few minutes.
204
-
205
-
1. If the error persists, follow these steps to [register your subscription](/azure/azure-resource-manager/management/resource-providers-and-types#register-resource-provider) with the `Microsoft.Batch` resource provider manually.
206
-
207
-
### Creating or updating the load test fails with `Subnet is not in the Succeeded state (ALTVNET002)`
208
-
209
-
The subnet you're using for the load test isn't in the `Succeeded` state and isn't ready to deploy your load test into it.
210
-
211
-
1. Verify the state of the subnet.
212
-
213
-
Run the following Azure CLI command to verify the state. The result should be `Succeeded`.
214
-
215
-
```azurecli
216
-
az network vnet subnet show -g MyResourceGroup -n MySubnet --vnet-name MyVNet
217
-
```
218
-
219
-
1. Resolve any issues with the subnet. If you have just created the subnet, verify the state again after a few minutes.
220
-
221
-
1. Alternately, select another subnet for the load test.
222
-
223
-
### Create or updating the load test fails with `Subnet is delegated to other service (ALTVNET003)`
224
-
225
-
The subnet you use for deploying the load test can't be delegated to another Azure service. Either remove the existing delegation, or select another subnet that isn't delegated to a service.
226
-
227
-
Learn more about [adding or removing a subnet delegation](/azure/virtual-network/manage-subnet-delegation#remove-subnet-delegation-from-an-azure-service).
228
-
229
-
### Updating or starting the load test fails with `User doesn't have subnet/join/action permission on the virtual network (ALTVNET004)`
230
-
231
-
To update or start a load test, you must have sufficient permissions to deploy Azure Load Testing to the virtual network. You require the [Network Contributor](/azure/role-based-access-control/built-in-roles#network-contributor) role, or a parent of this role, on the virtual network.
232
-
233
-
1. See [Check access for a user to Azure resources](/azure/role-based-access-control/check-access) to verify your permissions.
234
-
235
-
1. Follow these steps to [assign the Network Contributor role](/azure/role-based-access-control/role-assignments-steps) to your account.
236
-
237
-
### Creating or updating the load test fails with `IPv6 enabled subnet not supported (ALTVNET005)`
238
-
239
-
Azure Load Testing doesn't support IPv6 enabled subnets. Select another subnet for which IPv6 isn't enabled.
240
-
241
-
### Creating or updating the load test fails with `NSG attached to subnet is not in Succeeded state (ALTVNET006)`
242
-
243
-
The network security group (NSG) that is attached to the subnet isn't in the `Succeeded` state.
244
-
245
-
1. Verify the state of the NSG.
246
-
247
-
Run the following Azure CLI command to verify the state. The result should be `Succeeded`.
248
-
249
-
```azurecli
250
-
az network nsg show -g MyResourceGroup -n MyNsg
251
-
```
252
-
253
-
1. Resolve any issues with the NSG. If you've just created the NSG or subnet, verify the state again after a few minutes.
254
-
255
-
1. Alternately, select another NSG.
256
-
257
-
### Creating or updating the load test fails with `Route Table attached to subnet is not in Succeeded state (ALTVNET007)`
258
-
259
-
The route table attached to the subnet isn't in the `Succeeded` state.
260
-
261
-
1. Verify the state of the route table.
262
-
263
-
Run the following Azure CLI command to verify the state. The result should be `Succeeded`.
264
-
265
-
```azurecli
266
-
az network route-table show -g MyResourceGroup -n MyRouteTable
267
-
```
268
-
269
-
1. Resolve any issues with the route table. If you have just created the route table or subnet, verify the state again after a few minutes.
270
-
271
-
1. Alternately, select another route table.
272
-
273
-
### Creating or updating the load test fails with `Inbound not allowed from AzureLoadTestingInstanceManagement service tag (ALTVNET008)`
274
-
275
-
Inbound access from the `AzureLoadTestingInstanceManagement` service tag to the virtual network isn't allowed.
276
-
277
-
Follow these steps to [enable traffic access](/azure/load-testing/how-to-test-private-endpoint#configure-traffic-access) for the `AzureLoadTestingInstanceManagement` service tag.
278
-
279
-
### Creating or updating the load test fails with `Inbound not allowed from BatchNodeManagement service tag (ALTVNET009)`
280
-
281
-
Inbound access from the `BatchNodeManagement` service tag to the virtual network isn't allowed.
282
-
283
-
Follow these steps to [enable inbound access](/azure/load-testing/how-to-test-private-endpoint#configure-traffic-access) for the `BatchNodeManagement` service tag.
284
-
285
-
### Creating or updating the load test fails with `Route Table has next hop set for address prefix 0.0.0.0/0`
286
-
287
-
Your subnet route table has the next hop set type set to **Virtual appliance** for route [0.0.0.0/0](/azure/virtual-network/virtual-networks-udr-overview#default-route). This configuration would cause asymmetric routing for network packets while provisioning the virtual machines in the subnet.
288
-
289
-
Perform either of two actions to resolve this error:
290
-
291
-
- Use a different subnet, which doesn't have custom routes.
292
-
- [Modify the subnet route table](/azure/virtual-network/manage-route-table) and set the next hop type for route 0.0.0.0/0 to **Internet**.
293
-
294
-
Learn more about [virtual network traffic routing](/azure/virtual-network/virtual-networks-udr-overview).
295
-
296
-
### Creating or updating the load test fails with `Subnet is in a different subscription than resource (ALTVNET011)`
297
-
298
-
The virtual network isn't in the same subscription and region as your Azure load testing resource. Either move or recreate the Azure virtual network or the Azure load testing resource to the same subscription and region.
299
-
300
-
### Provisioning fails with `An azure policy is restricting engine deployment to your subscription (ALTVNET012)`
301
-
302
-
An Azure policy is restricting load test engine deployment to your subscription. Check your policy restrictions and try again. If you have policy restrictions on the deployment of the public IP address, Azure load balancer, or network security group, you can disable the deployment of these resources. See [Configure your load test](#configure-your-load-test).
303
-
304
-
### Provisioning fails with `Engines could not be deployed due to an error in subnet configuration (ALTVNET013)`
305
-
306
-
The load test engine instances couldn't be deployed due to an error in the subnet configuration. Verify your subnet configuration. If the issue persists, raise a ticket with support along with the run ID of the test.
307
-
308
-
1. Verify the state of the subnet.
309
-
310
-
Run the following Azure CLI command to verify the state. The result should be `Succeeded`.
311
-
312
-
```azurecli
313
-
az network vnet subnet show -g MyResourceGroup -n MySubnet --vnet-name MyVNet
314
-
```
315
-
316
-
1. Resolve any issues with the subnet. If you have just created the subnet, verify the state again after a few minutes.
317
-
318
-
1. If the problem persists, [open an online customer support request](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest).
319
-
320
-
Provide the load test run ID within the support request.
321
-
322
-
### Starting the load test fails with `Subnet has {0} free IPs, {1} more free IP(s) required to run {2} engine instance load test (ALTVNET014)`
323
-
324
-
The subnet you use for Azure Load Testing must have enough unassigned IP addresses to accommodate the number of load test engines for your test.
325
-
326
-
Follow these steps to [update the subnet settings](/azure/virtual-network/virtual-network-manage-subnet#change-subnet-settings) and increase the IP address range.
327
-
328
-
### Starting the load test fails with `Management Lock is enabled on Resource Group of VNET (ALTVNET015)`
329
-
330
-
If there's a lock on the resource group that contains the virtual network, the service can't inject the test engine virtual machines in your virtual network. Remove the management lock before running the load test. Learn how to [configure locks in the Azure portal](/azure/azure-resource-manager/management/lock-resources?tabs=json#configure-locks).
331
-
332
-
### Starting the load test fails with `Insufficient public IP address quota in VNET subscription (ALTVNET016)`
333
-
334
-
When you start the load test, Azure Load Testing injects the following Azure resources in the virtual network that contains the application endpoint:
335
-
336
-
- The test engine virtual machines. These VMs invoke your application endpoint during the load test.
337
-
- A public IP address.
338
-
- A network security group (NSG).
339
-
- An Azure Load Balancer.
340
-
341
-
Ensure that you have quota for at least one public IP address available in your subscription to use in the load test.
342
-
343
-
### Starting the load test fails with `Subnet with name "AzureFirewallSubnet" cannot be used for load testing (ALTVNET017)`
344
-
345
-
The subnet *AzureFirewallSubnet* is reserved and you can't use it for Azure Load Testing. Select another subnet for your load test.
0 commit comments