Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63540

azure vm agent plugin is not resolving the virtual network and subnet for different resource group to create VM's with Private ip

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • _unsorted
    • None

      I have setup jenkins and updated the azure credentials to configure the azure vm agent plugin.

      When i try to scale my agent thru template, i need to provide virtual network, resource group name and subnet to make sure the vm is created with private ip's.

      azure vm agent plugin is not resolving the virtual network and subnet for different resource group to create VM's with Private ip.

      The error message says that "The virtual network is not available in the resource group provided".

      But i have virtual network in my resource group. Not sure why it is not resolving.

       

      The following errors occurred while validating the template.
      1: The virtual network xxxxxx-xxxxxxx-xxxxxxxx does not exist in the resource group xxxx-xxxxxxxxxx-xxxxxxx-xxxxxx in this subscription.

       

       

       

            azure_devops Azure DevOps
            amydearmuthu MUTHUKUMAR ARUNACHALAM
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: