cvk98 / Proxmox-load-balancer

Designed to constantly maintain the Proxmox cluster in balance
GNU General Public License v3.0
171 stars 20 forks source link

fix: exclude nodes that are not online from balancing #14

Closed dmitry-ko closed 1 year ago

dmitry-ko commented 1 year ago

If at least one node in cluster is offline cluster/resources return JSON without cpu and mem fields for this node. It will raise KeyError on this parameters and disable balancing on remaining nodes.

cvk98 commented 1 year ago

thank you for your correction