Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-713

GCE driver list_sizes does not return the price

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.15.1
    • Fix Version/s: 0.15.1
    • Component/s: Compute
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              erjohnso Eric Johnson
              Reporter:
              webinav Webinav
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: