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

Unable to use multiple Azure Profile Configuration using same subscription/credentials

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • Jenkins 2.32.3 on Windows 2012 R2.
      Azure VM Agents 0.4.3
      Azure Credentials 1.0

      When trying to use multiple Azure Profile Configurations that use the same Azure Credential/subscription, messages are found in AzureVMCloudVerificationTask logs indicating that that the process could not retrieve agent template. VM Agents are not stood up beyond the first defined Azure Profile Configuration in this scenario. It appears that the subscription ID is used as part of the agent template name, which in this scenario (more than one cloud configuration using same credentials) appears to cause an issue with it finding templates beyond the first define.

      Logs of AzureVMCloudVerificationTask when template can not be found.:
      Mar 21, 2017 7:21:42 PM INFO com.microsoft.azure.vmagent.AzureVMCloudVerificationTask executeAzureVMCloudVerificationTask: execute: verifying 1 template(s)
      Mar 21, 2017 7:21:42 PM INFO com.microsoft.azure.vmagent.AzureVMCloudVerificationTask executeAzureVMCloudVerificationTask: execute: verifying crousn2 in AzureVMAgents-ce514655-97cf-4a69-9173-554e1f246f9d
      Mar 21, 2017 7:21:42 PM INFO com.microsoft.azure.vmagent.AzureVMCloudVerificationTask executeAzureVMCloudVerificationTask: execute: could not retrieve agent template named crousn2 in AzureVMAgents-ce514655-97cf-4a69-9173-554e1f246f9d
      Mar 21, 2017 7:21:42 PM INFO com.microsoft.azure.vmagent.AzureVMCloudVerificationTask executeAzureVMCloudVerificationTask: execute: end
       

            azure_devops Azure DevOps
            crousn1 nathan crouse
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: