[JIRA] (JENKINS-57414) Azure VM agent is not able to use existing resource group in different regions

40 views
Skip to first unread message

chrissy.meyer25@gmail.com (JIRA)

unread,
May 11, 2019, 5:17:02 AM5/11/19
to jenkinsc...@googlegroups.com
Christian Meyer created an issue
 
Jenkins / Bug JENKINS-57414
Azure VM agent is not able to use existing resource group in different regions
Issue Type: Bug Bug
Assignee: Azure DevOps
Components: azure-vm-agents-plugin
Created: 2019-05-11 09:16
Priority: Minor Minor
Reporter: Christian Meyer

We are using a Jenkins hosted in Azure.

Now we have created the first VM agents in west-europe, the resource group is also linked to west-europe.

When we want to create another VM agent within another region e.g. east-us2 we are getting the following message and the VM agent will get not deployed:

{"code":"InvalidResourceGroupLocation","message":"Invalid resource group location 'eastus2'. The Resource group already exists in location 'westeurope'."}

 

Within the Azure Portal we are able to create in our resource group (west-europe) also VMs, which are hosted in different regions e.g. east-us2.

 

Could you please help and support us?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

chrissy.meyer25@gmail.com (JIRA)

unread,
May 11, 2019, 5:24:02 AM5/11/19
to jenkinsc...@googlegroups.com
Christian Meyer updated an issue
Change By: Christian Meyer
We are using a Jenkins hosted in Azure.

Now we have created the first VM agents in west-europe, the and reuse an existing resource group which is also linked to west-europe.

When we want to create another VM agent within another region e.g. east-us2
, we are getting the following message and the VM agent will get not deployed:

_ {"code":"InvalidResourceGroupLocation","message":"Invalid resource group location 'eastus2'. The Resource group already exists in location 'westeurope'."} _

It seems that the plugin trys to create a new resource group in each region, but we want to reuse the existing resource group.

 

Within the Azure Portal we are able to create in our resource group (west-europe) also VMs, which are hosted in different regions e.g. east-us2.

 

Could you please help and support us?

jieshe@microsoft.com (JIRA)

unread,
May 13, 2019, 3:02:02 AM5/13/19
to jenkinsc...@googlegroups.com

jieshe@microsoft.com (JIRA)

unread,
May 13, 2019, 3:08:01 AM5/13/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-57414
 
Re: Azure VM agent is not able to use existing resource group in different regions

How do you configure the template here? Do you choose the Using existing for Resource Group name?

chrissy.meyer25@gmail.com (JIRA)

unread,
May 13, 2019, 5:41:02 AM5/13/19
to jenkinsc...@googlegroups.com

We are using an existing Resource group within the cloud configuration. And within the same cloud configuration (Microsoft Azure VM Agents) we have added one template for a Windows 10 VM in Europe and another one for a Windows 10 VM in US.

The first template is working fine, but for the second template we are getting the error message, which was mentioned in the ticket.

jieshe@microsoft.com (JIRA)

unread,
May 14, 2019, 4:09:02 AM5/14/19
to jenkinsc...@googlegroups.com
Jie Shen commented on Bug JENKINS-57414

Christian Meyer confirmed this is a bug in the plugin, I will prepare a fix for this.

jieshe@microsoft.com (JIRA)

unread,
May 15, 2019, 10:37:01 PM5/15/19
to jenkinsc...@googlegroups.com

vscjenkins@microsoft.com (JIRA)

unread,
May 15, 2019, 10:43:02 PM5/15/19
to jenkinsc...@googlegroups.com
Azure DevOps started work on Bug JENKINS-57414
 
Change By: Azure DevOps
Status: Open In Progress

jieshe@microsoft.com (JIRA)

unread,
May 31, 2019, 4:06:02 AM5/31/19
to jenkinsc...@googlegroups.com
Jie Shen closed an issue as Fixed
 
Change By: Jie Shen
Status: In Progress Closed
Resolution: Fixed
Released As: 1.0.1
Reply all
Reply to author
Forward
0 new messages