libcloud-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] (LIBCLOUD-712) EC2 driver modifies region details
Date Fri, 15 May 2015 13:39:00 GMT

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

ASF subversion and git services commented on LIBCLOUD-712:
----------------------------------------------------------

Commit 59cfd4fda8bde20a6d9b9f8e18703115c0fe0105 in libcloud's branch refs/heads/trunk from
[~henkslaaf]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=59cfd4f ]

Merge LIBCLOUD-712_fix-ec2-sigver into trunk

closes #712


> EC2 driver modifies region details
> ----------------------------------
>
>                 Key: LIBCLOUD-712
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-712
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Maarten van Schaik
>
> When creating an EC2 connection, the signature version is taken from the region details
using a pop-operation. This modifies the configuration: subsequent connections will not have
the signature version available and will fall back to version 2.
> Example:
> {code}
> from libcloud.compute.drivers.ec2 import EC2NodeDriver
> drv = EC2NodeDriver('abc', region='eu-central-1')
> print drv.signature_version
> drv2 = EC2NodeDriver('abc', region='eu-central-1')
> print drv2.signature_version
> {code}
> Prints:
> {code}
> 4
> 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message