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] [Commented] (JCLOUDS-1226) Jclouds-labs: Region required in Azure ARM
Date Mon, 24 Apr 2017 15:03:04 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981303#comment-15981303

Ignasi Barrera commented on JCLOUDS-1226:

This should be fixed as part of JCLOUDS-1273: https://github.com/jclouds/jclouds-labs/pull/385

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

View raw message