Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure arm driver does not list all nodes #1824

Closed
jan-mue opened this issue Dec 19, 2022 · 1 comment
Closed

Azure arm driver does not list all nodes #1824

jan-mue opened this issue Dec 19, 2022 · 1 comment

Comments

@jan-mue
Copy link
Contributor

jan-mue commented Dec 19, 2022

Summary

The Azure ARM driver only lists 50 nodes in a subscription.

Detailed Information

The function list_nodes() of the Azure ARM driver only lists 50 nodes when the Azure Portal shows more than 50 VMs.

This is probably caused by missing pagination here:
https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/azure_arm.py#L474

According to the documentation, there should be a property nextLink in the response:
https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/list-all

Libcloud version: 3.6.1
Python version: 3.10
Operating system: Ubuntu 20.04

@Kami
Copy link
Member

Kami commented Sep 20, 2023

Resolved via #1850.

@Kami Kami closed this as completed Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants