Compare commits

..

1 Commits

Author SHA1 Message Date
Florian Paul Azim Hoberg
71c8709d47 feature(API): Add ProxLB API
Fixes: #8
2024-07-12 13:55:17 +02:00
186 changed files with 1347 additions and 5799 deletions

View File

@@ -1,2 +1,2 @@
added:
- Add Docker/Podman support. [#10 by @daanbosch]
- Add container (e.g., Docker, Podman) support. [#10 by @daanbosch]

View File

@@ -1,2 +0,0 @@
added:
- Add option to rebalance by assigned VM resources to avoid overprovisioning. [#16]

View File

@@ -1,4 +0,0 @@
added:
- Add feature to make log verbosity configurable [#17].
changed:
- Adjusted general logging and log more details.

View File

@@ -1,2 +0,0 @@
added:
- Add LXC/Container integration. [#27]

View File

@@ -1,2 +0,0 @@
added:
- Add option_mode to rebalance by node's free resources in percent (instead of bytes). [#29]

View File

@@ -1 +1 @@
date: 2024-08-01
date: TBD

View File

@@ -1,2 +0,0 @@
added:
- Add option to run ProxLB only on the Proxmox's master node in the cluster (reg. HA feature). [#40]

View File

@@ -1,2 +0,0 @@
added:
- Add option to run migrations in parallel or sequentially. [#41]

View File

@@ -1,2 +0,0 @@
changed:
- Fix daemon timer to use hours instead of minutes. [#45]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix CMake packaging for Debian package to avoid overwriting the config file. [#49]

View File

@@ -1 +0,0 @@
date: 2024-08-13

View File

@@ -1,2 +0,0 @@
added:
- Add storage balancing function. [#51]

View File

@@ -1,6 +0,0 @@
added:
- Add a convert function to cast all bool alike options from configparser to bools. [#53]
- Add a config parser options for future features. [#53]
- Add a config versio schema that must be supported by ProxLB. [#53]
changed:
- Improve the underlying code base for future implementations. [#53]

View File

@@ -1,2 +0,0 @@
added:
- Add feature to allow the API hosts being provided as a comma separated list. [#60]

View File

@@ -1,2 +0,0 @@
fixed:
- Improved the overall validation and error handling. [#64]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix anti-affinity rules not evaluating a new and different node. [#67]

View File

@@ -1,2 +0,0 @@
changed:
- Provide a more reasonable output when HA services are not active in a Proxmox cluster. [#68]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix handling of unset `ignore_nodes` and `ignore_vms` resulted in an attribute error. [#71]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix documentation for the master_only parameter placed in the wrong config section. [#74]

View File

@@ -1,2 +0,0 @@
added:
- Add cli arg `-b` to return the next best node for next VM/CT placement. [#8]

View File

@@ -1,2 +0,0 @@
fixed:
- Fixed `master_only` function by inverting the condition.

View File

@@ -1,4 +0,0 @@
fixed:
- Fix bug in the `proxlb.conf` in the vm_balancing section.
added:
- Add doc how to add dedicated user for authentication. (by @Dulux-Oz)

View File

@@ -1 +0,0 @@
date: 2024-09-12

View File

@@ -1,2 +0,0 @@
added:
- Add maintenance mode to evacuate a node and move workloads for other nodes in the cluster. [#58]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix CPU balancing where calculations are done in float instead of int. (by @glitchvern) [#75]

View File

@@ -1,3 +0,0 @@
changed:
- Run storage balancing only on supported shared storages. [#79]
- Run storage balancing only when needed to save time. [#79]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix documentation for the underlying infrastructure. [#81]

View File

@@ -1,2 +0,0 @@
added:
- Add version output cli arg. [#89]

View File

@@ -1,2 +0,0 @@
added:
- Add feature to make API timeout configureable. [#91]

View File

@@ -1 +0,0 @@
date: 2024-10-11

View File

@@ -1,2 +0,0 @@
changed:
- Change docs to make bool usage in configs more clear (by @gyptazy). [#104]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix evaluation of maintenance mode where comparing list & string resulted in a crash (by @glitchvern). [#106]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix node (and its objects) evaluation when not reachable, e.g., maintenance (by @gyptazy). [#107]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix migration from local disks (by @greenlogles). [#113]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix allowed values (add DEBUG, WARNING) for log verbosity (by @gyptazy). [#98]

View File

@@ -1 +0,0 @@
date: 2024-10-30

View File

@@ -1,2 +0,0 @@
fixed:
- Fix that a scheduler time definition of 1 (int) gets wrongly interpreted as a bool (by @gyptazy). [#115]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix maintenance mode when using cli arg and config mode by using the merged list (by @CartCaved). [#119]

View File

@@ -1 +0,0 @@
date: 2024-12-24

View File

@@ -1,11 +0,0 @@
fixed:
- Refactored code base for ProxLB [#114]
- Switched to `pycodestyle` for linting [#114]
- Package building will be done within GitHub actions pipeline [#114]
- ProxLB now only returns a warning when no guests for further balancing are not present (instead of quitting) [132#]
- All nodes (according to the free resources) will be used now [#130]
- Fixed logging outputs where highest/lowest were mixed-up [#129]
- Stop balancing when movement would get worste (new force param to enfoce for affinity rules) [#128]
- Added requested documentation regarding Proxmox HA groups [#127]
- Rewrite of the whole affinity/anti-affinity rules evaluation and placement [#123]
- Fixed the `ignore` parameter for nodes where the node and guests on the node will be untouched [#102]

View File

@@ -1,2 +0,0 @@
feature:
- Add Proxmox API authentication support. [#125]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix the systemd unit file to start ProxLB after pveproxy (by @robertdahlem). [#137]

View File

@@ -1 +0,0 @@
date: 2025-04-01

View File

@@ -1,2 +0,0 @@
fixed:
- Fix tag evluation for VMs for being ignored for further balancing [#163]

View File

@@ -1,2 +0,0 @@
fixed:
- Improve logging verbosity of messages that had a wrong servity [#165]

View File

@@ -1,2 +0,0 @@
feature:
- Add a more flexible way to define schedules in minutes or hours (by @gyptazy) [#168]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix Python path for Docker entrypoint (by @crandler) [#170]

View File

@@ -1,2 +0,0 @@
fixed:
- Honor the value when balancing should not be performed and stop balancing [#174]

View File

@@ -1,2 +0,0 @@
changed:
- Change the default behaviour of the daemon mode to active [#176]

View File

@@ -1,2 +0,0 @@
changed:
- Change the default banalcing mode to used instead of assigned [#180]

View File

@@ -1,2 +0,0 @@
feature:
- Add validation for the minimum required permissions of a user in Proxmox [#184]

View File

@@ -1,2 +0,0 @@
fix:
- add handler to log messages with severity less than info to the screen when there is no systemd integration, for instance, inside a docker container (by @glitchvern) [#185]

View File

@@ -1,2 +0,0 @@
fixed:
- allow the use of minutes instead of hours and only accept hours or minutes in the format (by @glitchvern) [#187]

View File

@@ -1,2 +0,0 @@
fixed:
- Set cpu_used to the cpu usage, which is a percent, times the total number of cores to get a number where guest cpu_used can be added to nodes cpu_used and be meaningful (by @glitchvern) [#195]

View File

@@ -1,2 +0,0 @@
fixed:
- Remove hard coded memory usage from lowest usage node and use method and mode specified in configuration instead (by @glitchvern) [#197]

View File

@@ -1,2 +0,0 @@
fixed:
- Requery a guest if that running guest reports 0 cpu usage (by @glitchvern) [#200]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix the guest type relationship in the logs when a migration job failed (by @gyptazy) [#204]

View File

@@ -1,2 +0,0 @@
added:
- Providing the API upstream error message when migration fails in debug mode (by @gyptazy) [#205]

View File

@@ -1 +0,0 @@
date: 2025-04-20

View File

@@ -1,2 +0,0 @@
added:
- Prevent redundant rebalancing by validating existing affinity enforcement before taking actions (@gyptazy). [#335]

View File

@@ -1,2 +0,0 @@
added:
- Add safety-guard for PVE 8 users when activating conntrack-aware migrations mistakenly (@gyptazy). [#359]

View File

@@ -1,3 +0,0 @@
fixed:
- Fixed the Proxmox API connection validation which returned a false-positive logging message of timeouts (@gyptazy). [#361]
- Refactored Proxmox API connection functions

View File

@@ -1,2 +0,0 @@
fixed:
- Fixed a crash during PVE resource pool enumeration by skipping members not having a 'name' property (@stefanoettl). [#368]

View File

@@ -1 +0,0 @@
date: 2025-11-25

View File

@@ -1,2 +0,0 @@
fixed:
- Fixed missing overprovisioning safety guard to avoid node overprovisioning (@gyptazy). [#275]

View File

@@ -1,2 +0,0 @@
fixed:
- Fixed affinity matrix pre-validation by inverting validations (@Thalagyrt). [#335]

View File

@@ -1,2 +0,0 @@
added:
- Add resource reservation support for PVE nodes (@Chipmonk2). [#373]

View File

@@ -1,3 +0,0 @@
changed:
- Changed balancing and sorting behaviour (@gyptazy). [#378]
- Balancing objects will be ordered by: count of objects in affinity-rules, followed by memory size

View File

@@ -1,2 +0,0 @@
added:
- Add possibility to sort and select balancing workloads by smaller/larger guest objects (@gyptazy). [#387]

View File

@@ -1,3 +0,0 @@
added:
- Add support for Proxmox's native HA (affinity/anti-affinity) rules (@gyptazy). [#391]
- Add support for Proxmox's native HA (node-affinity) rules for pinning guests to nodes (@gyptazy). [#391]

View File

@@ -1,2 +0,0 @@
fixed:
- Fixed pool based node pinning (@gyptazy). [#395]

View File

@@ -1,2 +0,0 @@
added:
- Add HA job validation for migration jobs (@gytazy). [#402]

View File

@@ -1,2 +0,0 @@
added:
- Add support for configuring node-pinning strictness (default: true) within pools (@gyptazy). [#406]

View File

@@ -1,2 +0,0 @@
fixed:
- Fixed that ignored VMs/CTs got moved to another node when being ignored (@gyptazy). [#408]

View File

@@ -1,2 +0,0 @@
added:
- Add new option to enforce node/guest pinning even when cluster is balanced from a resource perspective (@gyptazy). [#414]

View File

@@ -1 +0,0 @@
date: 2026-01-12

View File

@@ -1,2 +0,0 @@
fixed:
- Fix PSI based balancing which resulted in a Python KeyError (@gyptazy). [#420]

View File

@@ -1 +0,0 @@
date: TBD

View File

@@ -1,2 +0,0 @@
fixed:
- Fix systemd unit file to run after network on non PVE nodes (by @robertdahlem) [#137]

View File

@@ -1,2 +0,0 @@
added:
- Add a configurable retry mechanism when connecting to the Proxmox API (by @gyptazy) [#157]

View File

@@ -1,2 +0,0 @@
added:
- Add 1-to-1 relationships between guest and hypervisor node to ping a guest on a node (by @gyptazy) [#218]

View File

@@ -1,2 +0,0 @@
fixed:
- Force type cast cpu count of guests to int for some corner cases where a str got returned (by @gyptazy). [#222]

View File

@@ -1 +0,0 @@
date: 2025-05-13

View File

@@ -1,2 +0,0 @@
added:
- Add relaod (SIGHUP) function to ProxLB to reload the configuration (by @gyptazy). [#189]

View File

@@ -1,2 +0,0 @@
fixed:
- Align maintenance mode with Proxmox HA maintenance mode (by @gyptazy). [#232]

View File

@@ -1,2 +0,0 @@
added:
- Add optional wait time parameter to delay execution until the service takes action (by @gyptazy). #239

View File

@@ -1,2 +0,0 @@
added:
- Make the amount of parallel migrations configurable (by @gyptazy). [#241]

View File

@@ -1,2 +0,0 @@
changed:
- Use the average CPU consumption of a guest within the last 60 minutes instead of the current CPU usage (by @philslab-ninja & @gyptazy). [#94]

View File

@@ -1 +0,0 @@
date: 2025-06-19

View File

@@ -1,2 +0,0 @@
added:
- Allow pinning of guests to a group of nodes (@gyptazy). [#245]

View File

@@ -1,2 +0,0 @@
fixed:
- Fixed an issue where balancing was performed in combination of deactivated balancing and dry-run mode (@gyptazy). [#248]

View File

@@ -1,2 +0,0 @@
fixed:
- Modified log levels to make output lighter at INFO level (@pmarasse) [#255]

View File

@@ -1 +0,0 @@
date: 2025-06-27

View File

@@ -1,2 +0,0 @@
added:
- Allow custom API ports instead of fixed tcp/8006 (@gyptazy). [#260]

View File

@@ -1 +0,0 @@
date: 2025-07-14

View File

@@ -1,2 +0,0 @@
fixed:
- Fix balancing evaluation of guest types (e.g., VM or CT) (@gyptazy). [#268]

View File

@@ -1,2 +0,0 @@
added:
- Add validation for provided API user token id to avoid confusions (@gyptazy). [#291]

View File

@@ -1,2 +0,0 @@
fixed:
- Fix stacktrace output when validating permissions on non existing users in Proxmox (@gyptazy). [#291]

View File

@@ -1,3 +0,0 @@
fixed:
- Fix Overprovisioning first node if anti_affinity_group has only one member (@MiBUl-eu). [#295]

View File

@@ -1,3 +0,0 @@
fixed:
- Validate for node presence when pinning guests to avoid crashing (@gyptazy). [#296]

Some files were not shown because too many files have changed in this diff Show More