libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-713) GCE driver list_sizes does not return the price
Date Sat, 30 Apr 2016 14:05:12 GMT

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

ASF GitHub Bot commented on LIBCLOUD-713:
-----------------------------------------

Github user erjohnso closed the pull request at:

    https://github.com/apache/libcloud/pull/779


> 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
>          Components: Compute
>    Affects Versions: 0.15.1
>            Reporter: Webinav
>            Assignee: Eric Johnson
>            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