From 16c5ee4d74699a0f4ae26019f84917c2da86a852 Mon Sep 17 00:00:00 2001 From: gyptazy Date: Wed, 30 Oct 2024 17:04:14 +0100 Subject: [PATCH] release: Create release 1.0.5 --- .../1.0.5/104_docs_bool_adjustment.yml | 2 +- .../1.0.5/107_fix_offline_node_eval.yml | 2 +- .../113_fix_migration_from_local_disk.yml | 2 +- .../1.0.5/98_fix_log_verbosity_opts.yml | 2 +- .changelogs/1.0.5/release_meta.yml | 2 +- .changelogs/1.0.6/release_meta.yml | 1 + CHANGELOG.md | 14 +++++++++++++ README.md | 5 +++-- packaging/CMakeLists.txt | 6 +++--- packaging/changelog_debian | 20 ++++++++++++++----- packaging/changelog_redhat | 17 +++++++++++----- proxlb | 4 ++-- 12 files changed, 55 insertions(+), 22 deletions(-) create mode 100644 .changelogs/1.0.6/release_meta.yml diff --git a/.changelogs/1.0.5/104_docs_bool_adjustment.yml b/.changelogs/1.0.5/104_docs_bool_adjustment.yml index 783162a..3aab649 100644 --- a/.changelogs/1.0.5/104_docs_bool_adjustment.yml +++ b/.changelogs/1.0.5/104_docs_bool_adjustment.yml @@ -1,2 +1,2 @@ changed: - - Change docs to make bool usage in configs more clear. [#104] + - Change docs to make bool usage in configs more clear (by @gyptazy). [#104] diff --git a/.changelogs/1.0.5/107_fix_offline_node_eval.yml b/.changelogs/1.0.5/107_fix_offline_node_eval.yml index 9d2037e..c32f377 100644 --- a/.changelogs/1.0.5/107_fix_offline_node_eval.yml +++ b/.changelogs/1.0.5/107_fix_offline_node_eval.yml @@ -1,2 +1,2 @@ fixed: - - Fix node (and its objects) evaluation when not reachable (e.g., maintenance). [#107] + - Fix node (and its objects) evaluation when not reachable, e.g., maintenance (by @gyptazy). [#107] diff --git a/.changelogs/1.0.5/113_fix_migration_from_local_disk.yml b/.changelogs/1.0.5/113_fix_migration_from_local_disk.yml index 728f57c..03b0474 100644 --- a/.changelogs/1.0.5/113_fix_migration_from_local_disk.yml +++ b/.changelogs/1.0.5/113_fix_migration_from_local_disk.yml @@ -1,2 +1,2 @@ fixed: - - Fix migration from local disks. [#113] + - Fix migration from local disks (by @greenlogles). [#113] diff --git a/.changelogs/1.0.5/98_fix_log_verbosity_opts.yml b/.changelogs/1.0.5/98_fix_log_verbosity_opts.yml index 333cf4b..155e44f 100644 --- a/.changelogs/1.0.5/98_fix_log_verbosity_opts.yml +++ b/.changelogs/1.0.5/98_fix_log_verbosity_opts.yml @@ -1,2 +1,2 @@ fixed: - - Fix allowed values (add DEBUG, WARNING) for log verbosity. [#98] + - Fix allowed values (add DEBUG, WARNING) for log verbosity (by @gyptazy). [#98] diff --git a/.changelogs/1.0.5/release_meta.yml b/.changelogs/1.0.5/release_meta.yml index c19765d..f55a407 100644 --- a/.changelogs/1.0.5/release_meta.yml +++ b/.changelogs/1.0.5/release_meta.yml @@ -1 +1 @@ -date: TBD +date: 2024-10-30 diff --git a/.changelogs/1.0.6/release_meta.yml b/.changelogs/1.0.6/release_meta.yml new file mode 100644 index 0000000..c19765d --- /dev/null +++ b/.changelogs/1.0.6/release_meta.yml @@ -0,0 +1 @@ +date: TBD diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ee6567..29e04f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.5] - 2024-10-30 + +### Changed + +- Change docs to make bool usage in configs more clear. [#104] + +### Fixed + +- Fix migration from local disks (by @greenlogles). [#113] +- Fix allowed values (add DEBUG, WARNING) for log verbosity. [#98] +- Fix node (and its objects) evaluation when not reachable (e.g., maintenance). [#107] +- Fix evaluation of maintenance mode where comparing list & string resulted in a crash (by @glitchvern). [#106] + + ## [1.0.4] - 2024-10-11 ### Added diff --git a/README.md b/README.md index e88c482..0febb5f 100644 --- a/README.md +++ b/README.md @@ -270,8 +270,8 @@ The executable must be able to read the config file, if no dedicated config file The easiest way to get started is by using the ready-to-use packages that I provide on my CDN and to run it on a Linux Debian based system. This can also be one of the Proxmox nodes itself. ``` -wget https://cdn.gyptazy.com/files/os/debian/proxlb/proxlb_1.0.4_amd64.deb -dpkg -i proxlb_1.0.4_amd64.deb +wget https://cdn.gyptazy.com/files/os/debian/proxlb/proxlb_1.0.5_amd64.deb +dpkg -i proxlb_1.0.5_amd64.deb # Adjust your config vi /etc/proxlb/proxlb.conf systemctl restart proxlb @@ -368,6 +368,7 @@ Container Images for Podman, Docker etc., can be found at: | Version | Image | |------|:------:| | latest | cr.gyptazy.com/proxlb/proxlb:latest | +| v1.0.5 | cr.gyptazy.com/proxlb/proxlb:v1.0.5 | | v1.0.4 | cr.gyptazy.com/proxlb/proxlb:v1.0.4 | | v1.0.3 | cr.gyptazy.com/proxlb/proxlb:v1.0.3 | | v1.0.2 | cr.gyptazy.com/proxlb/proxlb:v1.0.2 | diff --git a/packaging/CMakeLists.txt b/packaging/CMakeLists.txt index 9ada078..c393667 100644 --- a/packaging/CMakeLists.txt +++ b/packaging/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(proxmox-rebalancing-service VERSION 1.0.4) +project(proxmox-rebalancing-service VERSION 1.0.5) install(PROGRAMS ../proxlb DESTINATION /bin) install(FILES ../proxlb.conf DESTINATION /etc/proxlb) @@ -9,8 +9,8 @@ install(FILES proxlb.service DESTINATION /etc/systemd/system) set(CPACK_PACKAGE_NAME "proxlb") set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/../LICENSE") set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/../README.md") -set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Florian Paul Azim Hoberg ") -set(CPACK_PACKAGE_CONTACT "Florian Paul Azim Hoberg ") +set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Florian Paul Azim Hoberg ") +set(CPACK_PACKAGE_CONTACT "Florian Paul Azim Hoberg ") set(CPACK_PACKAGE_VENDOR "gyptazy") # RPM packaging diff --git a/packaging/changelog_debian b/packaging/changelog_debian index 36a9119..e02c9af 100644 --- a/packaging/changelog_debian +++ b/packaging/changelog_debian @@ -1,3 +1,13 @@ +proxlb (1.0.5) unstable; urgency=low + + * Fix migration from local disks. + * Fix allowed values (add DEBUG, WARNING) for log verbosity. + * Fix node (and its objects) evaluation when not reachable (e.g., maintenance). + * Fix evaluation of maintenance mode where comparing list & string resulted in a crash. + * Change docs to make bool usage in configs more clear. + + -- Florian Paul Azim Hoberg Wed, 30 Oct 2024 17:02:31 +0100 + proxlb (1.0.4) unstable; urgency=low * Add feature to make API timeout configureable. @@ -8,7 +18,7 @@ proxlb (1.0.4) unstable; urgency=low * Fix CPU balancing where calculations are done in float instead of int. (by @glitchvern) * Fix documentation for the underlying infrastructure. - -- Florian Paul Azim Hoberg Fri, 11 Oct 2024 06:14:13 +0200 + -- Florian Paul Azim Hoberg Fri, 11 Oct 2024 06:14:13 +0200 proxlb (1.0.3) unstable; urgency=low @@ -28,7 +38,7 @@ proxlb (1.0.3) unstable; urgency=low * Fix handling of unset `ignore_nodes` and `ignore_vms` resulted in an attribute error. * Fix anti-affinity rules not evaluating a new and different node. - -- Florian Paul Azim Hoberg Wed, 11 Sep 2024 17:31:03 +0200 + -- Florian Paul Azim Hoberg Wed, 11 Sep 2024 17:31:03 +0200 proxlb (1.0.2) unstable; urgency=low @@ -38,16 +48,16 @@ proxlb (1.0.2) unstable; urgency=low * Fix CMake packaging for Debian package to avoid overwriting the config file. * Fix some wonkey code styles. - -- Florian Paul Azim Hoberg Tue, 13 Aug 2024 17:28:14 +0200 + -- Florian Paul Azim Hoberg Tue, 13 Aug 2024 17:28:14 +0200 proxlb (1.0.0) unstable; urgency=low * Initial release of ProxLB. - -- Florian Paul Azim Hoberg Thu, 01 Aug 2024 17:04:12 +0200 + -- Florian Paul Azim Hoberg Thu, 01 Aug 2024 17:04:12 +0200 proxlb (0.9.0) unstable; urgency=low * Initial development release of ProxLB as a tech preview. - -- Florian Paul Azim Hoberg Sun, 07 Jul 2024 05:38:41 +0200 + -- Florian Paul Azim Hoberg Sun, 07 Jul 2024 05:38:41 +0200 diff --git a/packaging/changelog_redhat b/packaging/changelog_redhat index dd412ec..b93b801 100644 --- a/packaging/changelog_redhat +++ b/packaging/changelog_redhat @@ -1,4 +1,11 @@ -* Fri Oct 11 2024 Florian Paul Azim Hoberg +* Wed Oct 30 2024 Florian Paul Azim Hoberg +- Fix migration from local disks. +- Fix allowed values (add DEBUG, WARNING) for log verbosity. +- Fix node (and its objects) evaluation when not reachable (e.g., maintenance). +- Fix evaluation of maintenance mode where comparing list & string resulted in a crash. +- Change docs to make bool usage in configs more clear. + +* Fri Oct 11 2024 Florian Paul Azim Hoberg - Add feature to make API timeout configureable. - Add maintenance mode to evacuate a node and move workloads for other nodes in the cluster. - Add version output cli arg. @@ -7,7 +14,7 @@ - Fix CPU balancing where calculations are done in float instead of int. (by @glitchvern) - Fix documentation for the underlying infrastructure. -* Wed Sep 12 2024 Florian Paul Azim Hoberg +* Wed Sep 12 2024 Florian Paul Azim Hoberg - Add a convert function to cast all bool alike options from configparser to bools. - Add a config parser options for future features. - Add a config versio schema that must be supported by ProxLB. @@ -24,14 +31,14 @@ - Fix handling of unset `ignore_nodes` and `ignore_vms` resulted in an attribute error. - Fix anti-affinity rules not evaluating a new and different node. -* Tue Aug 13 2024 Florian Paul Azim Hoberg +* Tue Aug 13 2024 Florian Paul Azim Hoberg - Add option to run migration in parallel or sequentially. - Add option to run ProxLB only on a Proxmox cluster master (req. HA feature). - Fixed daemon timer to use hours instead of minutes. - Fixed some wonkey code styles. -* Thu Aug 01 2024 Florian Paul Azim Hoberg +* Thu Aug 01 2024 Florian Paul Azim Hoberg - Initial release of ProxLB. -* Sun Jul 07 2024 Florian Paul Azim Hoberg +* Sun Jul 07 2024 Florian Paul Azim Hoberg - Initial development release of ProxLB as a tech preview. diff --git a/proxlb b/proxlb index 794915b..79fa6d6 100755 --- a/proxlb +++ b/proxlb @@ -42,9 +42,9 @@ import urllib3 # Constants __appname__ = "ProxLB" -__version__ = "1.0.5b" +__version__ = "1.0.5" __config_version__ = 3 -__author__ = "Florian Paul Azim Hoberg @gyptazy" +__author__ = "Florian Paul Azim Hoberg @gyptazy" __errors__ = False