Azure-Samples / jmeter-aci-terraform

Scalable cloud load/stress testing pipeline solution with Apache JMeter and Terraform to dynamically provision and destroy the required infrastructure on Azure.
MIT License
119 stars 99 forks source link

Error creating/updating container group "jmeter-worker" under SETUP: Run Terraform Apply step #70

Open PankajNalawade opened 2 years ago

PankajNalawade commented 2 years ago

I am trying to run performance test on 2 different worker by using Azure triggers functionality, so for example running test for 1hr and then keeping 30 min gap and then another run for 1hr,by creating triggers in Azure. 1st Run always run fine but during 2nd run I always see issue mentioned below.

Error: Error creating/updating container group "jmeter-worker1" (Resource Group "jmeter"): containerinstance.ContainerGroupsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="NetworkProfileNotFound" Message="Network profile '/subscriptions/abcdefg-tttt-54we-6589-eeee98g65236/resourceGroups/jmeter/providers/Microsoft.Network/networkProfiles/jmeternetprofile' is not found for container group 'jmeter-worker1'."

on main.tf line 75, in resource "azurerm_container_group" "jmeter_workers": 75: resource "azurerm_container_group" "jmeter_workers" {

Error: Error creating/updating container group "jmeter-worker0" (Resource Group "jmeter"): containerinstance.ContainerGroupsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="NetworkProfileNotFound" Message="Network profile '/subscriptions/abcdefg-tttt-54we-6589-eeee98g65236/resourceGroups/jmeter/providers/Microsoft.Network/networkProfiles/jmeternetprofile' is not found for container group 'jmeter-worker0'."

on main.tf line 75, in resource "azurerm_container_group" "jmeter_workers": 75: resource "azurerm_container_group" "jmeter_workers" {

image

Any Idea how to resolve this issue?

matijavugi commented 2 years ago

Hi, have you figured this out? We are experiencing the same thing.