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

Empty list of existing Storage Account Names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: _unsorted
    • Labels:
      None
    • Environment:
      Jenkins 2.73.3
      Azure Commons Plugin 0.1.5
      Azure Credentials 1.3.1
      Azure VM Agents 0.4.8
    • Similar Issues:

      Description

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

        Attachments

          Activity

          Hide
          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.

          Show
          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.
          Hide
          kentzo Ilya Kulakov added a comment -

          Chenyang Liu [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.

          Show
          kentzo Ilya Kulakov added a comment - Chenyang Liu [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.
          Hide
          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?

          Show
          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?
          Hide
          zackliu Chenyang Liu added a comment -

          Billy Sheppard 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.

          Show
          zackliu Chenyang Liu added a comment - Billy Sheppard 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.
          Hide
          azure_devops Azure DevOps added a comment -

          Fixed in 0.7.0

          Show
          azure_devops Azure DevOps added a comment - Fixed in 0.7.0
          Hide
          mattigot Matti added a comment - - edited

          hey Chenyang Liu , Ilya Kulakov 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

          Show
          mattigot Matti added a comment - - edited hey Chenyang Liu  , Ilya Kulakov 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

            People

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

              Dates

              Created:
              Updated:
              Resolved: