jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCLOUDS-1226) Jclouds-labs: Region required in Azure ARM
Date Tue, 25 Apr 2017 22:15:04 GMT

     [ https://issues.apache.org/jira/browse/JCLOUDS-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ignasi Barrera resolved JCLOUDS-1226.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.2
                   2.1.0

> Jclouds-labs: Region required in Azure ARM
> ------------------------------------------
>
>                 Key: JCLOUDS-1226
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1226
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 2.0.0
>            Reporter: Duncan Godwin
>              Labels: azurecompute-arm
>             Fix For: 2.1.0, 2.0.2
>
>
> When launching a VM with the [Azurecompute-arm|https://github.com/jclouds/jclouds-labs/tree/e1670f5c97442be977bf97cbf3b35423b1377532/azurecompute-arm]
module, if no region is specified the provisioning fails. 
> Jclouds attempts to list the hardware profiles [here|https://github.com/jclouds/jclouds-labs/blob/2e3874301895557c366bc0c613605d68704f9305/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/functions/VirtualMachineToNodeMetadata.java#L292-L297].
This then calls the code [here|https://github.com/jclouds/jclouds-labs/blob/e1670f5c97442be977bf97cbf3b35423b1377532/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java#L173-L186]
which, if no region is specified, requests hardware profiles from all regions. Unfortunately
the IDs returned are the same from all regions, leading to conflicting objects in the Map.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message