jclouds-notifications mailing list archives

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

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

ASF subversion and git services commented on JCLOUDS-1226:
----------------------------------------------------------

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

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


> 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
(v6.3.15#6346)

Mime
View raw message