fosshostorg / aarch64

Dashboard and API for https://console.aarch64.com
https://console.aarch64.com
GNU Affero General Public License v3.0
12 stars 7 forks source link

Admin setting to remove hypervisor from provisioning pool #56

Closed natesales closed 3 years ago

natesales commented 3 years ago

If a hypervisor goes offline, we shouldn't try to schedule new VMs on it. Let's add a check before the host usage calculation https://github.com/fosshostorg/aarch64/blob/main/api.py#L623 to exclude a set list of hypervisors.