You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Maarten van Schaik (JIRA)" <ji...@apache.org> on 2015/05/15 13:54:00 UTC

[jira] [Created] (LIBCLOUD-712) EC2 driver modifies region details

Maarten van Schaik created LIBCLOUD-712:
-------------------------------------------

             Summary: 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)