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

GCE driver list_sizes does not return the price

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.15.1
    • 0.15.1
    • Compute
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: