libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Webinav (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LIBCLOUD-713) GCE driver list_sizes does not return the price
Date Wed, 20 May 2015 11:39:01 GMT

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

Webinav updated LIBCLOUD-713:
-----------------------------
    Affects Version/s: 0.15.1

> GCE driver list_sizes does not return the price
> -----------------------------------------------
>
>                 Key: LIBCLOUD-713
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-713
>             Project: Libcloud
>          Issue Type: Bug
>    Affects Versions: 0.15.1
>            Reporter: Webinav
>            Priority: Minor
>             Fix For: 0.15.1
>
>
> I am using libcloud 0.15.1 and trying to pullout the pricing details for GCE
> I noticed that there is a KeyError exception thrown which causes the price to be set
as None
> Driver: GCE
> File: gce.py
> API: _to_node_size()
> Snippet:
>         try:
>             price = self._get_size_price(size_id=machine_type['name'])
>         except KeyError:
>             price = None



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

Mime
View raw message