diff --git a/.changelogs/1.1.6.1/296_fix_validate_node_presence_when_pinning_guests.yml b/.changelogs/1.1.6.1/296_fix_validate_node_presence_when_pinning_guests.yml new file mode 100644 index 0000000..ce11607 --- /dev/null +++ b/.changelogs/1.1.6.1/296_fix_validate_node_presence_when_pinning_guests.yml @@ -0,0 +1,2 @@ +fixed: + - Validate for node presence when pinning VMs to avoid crashing (@gyptazy). [#296] diff --git a/.changelogs/1.1.6.1/release_meta.yml b/.changelogs/1.1.6.1/release_meta.yml new file mode 100644 index 0000000..c1d1f10 --- /dev/null +++ b/.changelogs/1.1.6.1/release_meta.yml @@ -0,0 +1 @@ +date: 2025-09-04 diff --git a/CHANGELOG.md b/CHANGELOG.md index d48da75..f7b5e96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,13 @@ 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.1.6] - 2027-09-04 +## [1.1.6.1] - 2025-09-04 + +### Fixed + +- Validate for node presence when pinning VMs to avoid crashing (@gyptazy). [#296] + +## [1.1.6] - 2025-09-04 ### Added diff --git a/debian/changelog b/debian/changelog index f785838..5c48120 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +proxlb (1.1.6.1) stable; urgency=medium + + * Validate for node presence when pinning VMs to avoid crashing. (Closes: #296) + + -- Florian Paul Azim Hoberg Thu, 04 Sep 2025 19:23:51 +0000 + proxlb (1.1.6) stable; urgency=medium * Add validation for provided API user token id to avoid confusions. (Closes: #291) diff --git a/helm/proxlb/Chart.yaml b/helm/proxlb/Chart.yaml index 9911e7b..6168661 100644 --- a/helm/proxlb/Chart.yaml +++ b/helm/proxlb/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "1.1.6" +version: "1.1.6.1" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v1.1.6" +appVersion: "v1.1.6.1" diff --git a/helm/proxlb/values.yaml b/helm/proxlb/values.yaml index 614162f..dae5e25 100644 --- a/helm/proxlb/values.yaml +++ b/helm/proxlb/values.yaml @@ -1,7 +1,7 @@ image: registry: cr.gyptazy.com repository: proxlb/proxlb - tag: v1.1.6 + tag: v1.1.6.1 pullPolicy: IfNotPresent imagePullSecrets: [ ] diff --git a/misc/01-replace-version.sh b/misc/01-replace-version.sh index b7da816..de8d9d5 100644 --- a/misc/01-replace-version.sh +++ b/misc/01-replace-version.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -VERSION="1.1.4" +VERSION="1.1.6.1" # ProxLB sed -i "s/^__version__ = .*/__version__ = \"$VERSION\"/" "proxlb/utils/version.py" diff --git a/proxlb/models/guests.py b/proxlb/models/guests.py index c3a9fb5..7bddb36 100644 --- a/proxlb/models/guests.py +++ b/proxlb/models/guests.py @@ -79,7 +79,7 @@ class Guests: guests['guests'][guest['name']]['affinity_groups'] = Tags.get_affinity_groups(guests['guests'][guest['name']]['tags']) guests['guests'][guest['name']]['anti_affinity_groups'] = Tags.get_anti_affinity_groups(guests['guests'][guest['name']]['tags']) guests['guests'][guest['name']]['ignore'] = Tags.get_ignore(guests['guests'][guest['name']]['tags']) - guests['guests'][guest['name']]['node_relationships'] = Tags.get_node_relationships(guests['guests'][guest['name']]['tags']) + guests['guests'][guest['name']]['node_relationships'] = Tags.get_node_relationships(guests['guests'][guest['name']]['tags'], nodes) guests['guests'][guest['name']]['type'] = 'vm' logger.debug(f"Resources of Guest {guest['name']} (type VM) added: {guests['guests'][guest['name']]}") diff --git a/proxlb/utils/version.py b/proxlb/utils/version.py index 4c72955..740bd3d 100644 --- a/proxlb/utils/version.py +++ b/proxlb/utils/version.py @@ -3,5 +3,5 @@ __app_desc__ = "A DRS alike loadbalancer for Proxmox clusters." __author__ = "Florian Paul Azim Hoberg " __copyright__ = "Copyright (C) 2025 Florian Paul Azim Hoberg (@gyptazy)" __license__ = "GPL-3.0" -__version__ = "1.1.6" +__version__ = "1.1.6.1" __url__ = "https://github.com/gyptazy/ProxLB" diff --git a/setup.py b/setup.py index 4deef41..40ff8d2 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name="proxlb", - version="1.1.6", + version="1.1.6.1", description="A DRS alike loadbalancer for Proxmox clusters.", long_description="An advanced DRS alike loadbalancer for Proxmox clusters that also supports maintenance modes and affinity/anti-affinity rules.", author="Florian Paul Azim Hoberg",