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

Empty list of existing Storage Account Names

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • _unsorted
    • None
    • Jenkins 2.73.3
      Azure Commons Plugin 0.1.5
      Azure Credentials 1.3.1
      Azure VM Agents 0.4.8

    Description

      While Azure portal shows that there is a Storage Account inside selected Resource Group, the list in Jenkins is empty.

      Attachments

        Activity

          mattigot Matti added a comment - - edited

          hey zackliu , kentzo azure_devops

           

          i am still experiencing this issue with the latest plugin

          trying to use a private storage in Azure, and the list is empty 

           

          using 

          Thanks

          mattigot Matti added a comment - - edited hey zackliu  , kentzo azure_devops   i am still experiencing this issue with the latest plugin trying to use a private storage in Azure, and the list is empty    using  779.v5ea1414ec40f Thanks
          azure_devops Azure DevOps added a comment -

          Fixed in 0.7.0

          azure_devops Azure DevOps added a comment - Fixed in 0.7.0
          zackliu Chenyang Liu added a comment -

          shepyard You need to do some change in storageAccountType or ResourceGroupName to let Jenkins UI to reload the existing storage account.  Or you can save your configuration and reopen the global configuration, then the account will also be reloaded.

          zackliu Chenyang Liu added a comment - shepyard You need to do some change in storageAccountType or ResourceGroupName to let Jenkins UI to reload the existing storage account.  Or you can save your configuration and reopen the global configuration, then the account will also be reloaded.

          Sorry I dont understand what you mean, we cannot add an existing resource group and if we leave it empty it just enters a random name after saving. How can we use an existing resource group?

          shepyard Billy Sheppard added a comment - Sorry I dont understand what you mean, we cannot add an existing resource group and if we leave it empty it just enters a random name after saving. How can we use an existing resource group?
          kentzo Ilya Kulakov added a comment -

          zackliu [1] indeed seemed to help. However, in addition to that I had to select Use Existing under Storage Account Name then change Resource Group Name to get contents reloaded.

          kentzo Ilya Kulakov added a comment - zackliu [1] indeed seemed to help. However, in addition to that I had to select Use Existing under Storage Account Name then change Resource Group Name to get contents reloaded.
          zackliu Chenyang Liu added a comment -

          Two possible reasons:
          1. Due to Jenkins' bug, we cannot get value of previous radio block, so I don't know you're choosing Create new Resource Group or Use existing Resource Group. The workaround in the plugin is guessing by whether you have typed something in Create new Resource Group. So if there is something in Create new Resource Group, the Use existing storage account will always take content in Create new as dependency. If you're using Use existing Resource Group, please make sure to clean content in Create new Resource Group.
          2.
          Use existing storage account will match your type of storage type, so please make sure the storage account is either Standard_LRS or Premium_LRS.

          zackliu Chenyang Liu added a comment - Two possible reasons: 1. Due to Jenkins' bug, we cannot get value of previous radio block, so I don't know you're choosing Create new Resource Group or Use existing Resource Group. The workaround in the plugin is guessing by whether you have typed something in Create new Resource Group. So if there is something in Create new Resource Group, the Use existing storage account will always take content in Create new as dependency. If you're using Use existing Resource Group, please make sure to clean content in Create new Resource Group. 2. Use existing storage account will match your type of storage type, so please make sure the storage account is either Standard_LRS or Premium_LRS.

          People

            zackliu Chenyang Liu
            kentzo Ilya Kulakov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: