Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1273

Cannot work with multiple resource groups in Azure ARM

    Details

      Description

      Currently the Azure ARM provider assumes one resource group for each location, with a name in the form: prefix-location. Whenever a resource is created or looked up, jclouds builds that resource group name and uses it, ignoring all others.

      The ComputeService.listNodes implementation, however, lists the VMs in all resource groups, and that causes conflicts, since the transformation functions and other parts of the code only consider the "default" resource group.

      A more flexible approach should be used:

      • Let users configure the name of a default resource group to be used to create resources.
      • When listing existing resources, jclouds should try to find them in any resource group.
      • It would be good to change the IDs of the entities returned by jclouds from location/name to resourcegroup/name, as it better identifies the resource.

        Issue Links

          Activity

          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 54e5ce50a43250c4f87414506b3bba4d8365284e in jclouds-labs's branch refs/heads/master from Ignasi Barrera
          [ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs.git;h=54e5ce5 ]

          JCLOUDS-1273/JCLOUDS-1226: Support multiple resource groups in ARM

          Show
          jira-bot ASF subversion and git services added a comment - Commit 54e5ce50a43250c4f87414506b3bba4d8365284e in jclouds-labs's branch refs/heads/master from Ignasi Barrera [ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs.git;h=54e5ce5 ] JCLOUDS-1273 / JCLOUDS-1226 : Support multiple resource groups in ARM
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 40d29820ebd2f3fbece1f55e359e2ddf21f8bf56 in jclouds-labs's branch refs/heads/2.0.x from Ignasi Barrera
          [ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs.git;h=40d2982 ]

          JCLOUDS-1273/JCLOUDS-1226: Support multiple resource groups in ARM

          Show
          jira-bot ASF subversion and git services added a comment - Commit 40d29820ebd2f3fbece1f55e359e2ddf21f8bf56 in jclouds-labs's branch refs/heads/2.0.x from Ignasi Barrera [ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs.git;h=40d2982 ] JCLOUDS-1273 / JCLOUDS-1226 : Support multiple resource groups in ARM

            People

            • Assignee:
              nacx Ignasi Barrera
              Reporter:
              nacx Ignasi Barrera
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development