libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Loria (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LIBCLOUD-829) Breaking change with EC2 driver doesn't actually exist
Date Wed, 22 Jun 2016 20:12:16 GMT

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

Mario Loria updated LIBCLOUD-829:
---------------------------------
    Priority: Blocker  (was: Major)

> Breaking change with EC2 driver doesn't actually exist
> ------------------------------------------------------
>
>                 Key: LIBCLOUD-829
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-829
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Mario Loria
>            Priority: Blocker
>
> Getting traceback when I try to use the new format:
> ```
> DRIVER = get_driver(Provider.EC2, region=settings.AWS_REGION)
> CONNECTION = DRIVER(
>     settings.AWS_ACCESS_ID,
>     settings.AWS_SECRET_KEY
> )
> ```
> Yields the following:
> ```
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> <ipython-input-3-d7ae68561a4a> in <module>()
> ----> 1 from orchid.cloud import instance
> /home/mloria/arrovenv/orchid/orchid/cloud/instance.py in <module>()
>      25 
>      26 
> ---> 27 DRIVER = get_driver(Provider.EC2, region=settings.AWS_REGION)
>      28 CONNECTION = DRIVER(
>      29     settings.AWS_ACCESS_ID,
> TypeError: get_driver() got an unexpected keyword argument 'region'
> In [4]: exit
> ```



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

Mime
View raw message