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

Generated storage account name is only using "resource group" for generation of GUID

    Details

    • Similar Issues:

      Description

      I have two subscriptions for difference Jenkins masters, when I used the same "Resource Group" in the UI, the automatically generated "Storage Account Name" created the same name on both Jenkins masters leading to an ARM template deployment failure.

      I think the fix would be to use a hash of the Subscription ID and the Resource Group name to generate the storage acocunt name since that must be globally unique

        Attachments

          Activity

          Hide
          clguiman Claudiu Guiman added a comment -

          The fix is waiting for code review and testing: https://github.com/jenkinsci/azure-vm-agents-plugin/pull/3

          Show
          clguiman Claudiu Guiman added a comment - The fix is waiting for code review and testing: https://github.com/jenkinsci/azure-vm-agents-plugin/pull/3
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Claudiu Guiman
          Path:
          src/main/java/com/microsoft/azure/AzureVMAgentTemplate.java
          http://jenkins-ci.org/commit/azure-vm-agents-plugin/2f144469b98b6bce9a083688ee9620dc352bd4ee
          Log:
          Generate the storage account name from subscription id and resource group name JENKINS-40288

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Claudiu Guiman Path: src/main/java/com/microsoft/azure/AzureVMAgentTemplate.java http://jenkins-ci.org/commit/azure-vm-agents-plugin/2f144469b98b6bce9a083688ee9620dc352bd4ee Log: Generate the storage account name from subscription id and resource group name JENKINS-40288

            People

            • Assignee:
              clguiman Claudiu Guiman
              Reporter:
              rtyler R. Tyler Croy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: