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

Can not retrieve more than 500VM on Google cloud

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • Compute
    • None
    • Google cloud project with more than 500VMs (python 3 and last libcloud version AVL on pip)

    Description

      Today I notice that some of our VMs were not retrieve by our internal toolings. After some investigation it seems that libcloud "list_nodes()" method on google can only retrieve max 500VMs:

       

      [root@stackviewer-5cbcd8695-x964t /]# grep -o Vm response.log | wc -l
      500

       

      when we have in reality around 750 VMs. So i had a quick look and my first guess is that it comes from the call made by liblcoud using this REST API:

      https://cloud.google.com/compute/docs/reference/rest/v1/instances/aggregatedList

      with an optional argument "maxResults" that has a default value of 500 (which seems also to be the max value BTW). I think i m on the good lead due to this 500 limit mentioned in the doc and also observe on my side.

      I will have a deeper look but just quickly open this ticket in case other people already saw this limit

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            charly37 charles walker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: