OpenStack: prefer server tags instead of metadata #79
Labels
effort/2d
Effort for issue is around 2 days
kind/enhancement
Enhancement, improvement, extension
lifecycle/rotten
Nobody worked on this for 12 months (final aging stage)
platform/openstack
OpenStack platform/infrastructure
At the moment Gardener nodes are detected by listing all the servers in the project, then the servers list is filtered at the MCM side:
https://github.com/gardener/machine-controller-manager/blob/86b72854549fa6cbe6c6a8c1c5ec727f164f07f3/pkg/driver/driver_openstack.go#L286
OpenStack Nova supports tags, and tags can be used to efficiently filter compute nodes, see https://github.com/gophercloud/gophercloud/blob/193120096e295dd6fe47e5e047e5fe1a5b231e54/openstack/compute/v2/servers/requests.go#L59..L74
Filtering by tags is more efficient and it can reduce the load on the nova API side.
cc @hardikdr @prashanth26
The text was updated successfully, but these errors were encountered: