libcloud icon indicating copy to clipboard operation
libcloud copied to clipboard

Error list Google GKE clusters - zones deprecated

Open niso120b opened this issue 6 years ago • 1 comments

Summary

Container GKE Provider failed to list and do actions on Google Cloud because of the zones its now deprecated and now you should use locations

Detailed Information

Traceback (most recent call last): File "container.py", line 39, in gce.list_clusters() File "container.py", line 33, in list_clusters clusters = self.gke.list_clusters(ex_zone=zone) File "/usr/local/lib/python2.7/site-packages/libcloud/container/drivers/gke.py", line 178, in list_clusters response = self.connection.request(request, method='GET').object File "/usr/local/lib/python2.7/site-packages/libcloud/container/drivers/gke.py", line 67, in request response = super(GKEConnection, self).request(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/libcloud/common/google.py", line 813, in request *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/libcloud/common/base.py", line 638, in request response = responseCls(**kwargs) File "/usr/local/lib/python2.7/site-packages/libcloud/common/base.py", line 154, in init self.object = self.parse_body() File "/usr/local/lib/python2.7/site-packages/libcloud/common/google.py", line 277, in parse_body raise ResourceNotFoundError(message, self.status, code) libcloud.common.google.ResourceNotFoundError: u'\n\n \n \n Error 404 (Not Found)!!1\n \n \n

404. That\u2019s an error.\n

The requested URL /v1/projects//zones/clusters was not found on this server. That\u2019s all we know.'

niso120b avatar Oct 28 '19 15:10 niso120b

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.

stale[bot] avatar Mar 20 '20 22:03 stale[bot]