mirror of
https://github.com/cvk98/Proxmox-load-balancer.git
synced 2026-04-25 04:25:50 +03:00
[GH-ISSUE #21] no ['master_node'] value - script error #15
Labels
No labels
documentation
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxmox-load-balancer#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tradeforlife on GitHub (Mar 1, 2024).
Original GitHub issue: https://github.com/cvk98/Proxmox-load-balancer/issues/21
As of 1/03/2024 Proxmox hosts fully patched using a ubuntu 23.x LXC within a python env and the current build of Proxmox-load-balancer of 1/03/2024. when I run the program after updating the config file with correct info I get.
I edit the plb.py to show the output of the rr.json() within the cluster_hosts(self) function and it showed the below output. there is no master_node key. I'm not sure if it's not required anymore of I have something changed in my cluster.. either way it's not working.
Cluster Information
@Tradeforlife commented on GitHub (Mar 1, 2024):
NOTE : I just commented out
any it seems to be running, not sure if this is required anywhere else.
@cvk98 commented on GitHub (Mar 1, 2024):
This is required if the script is installed on all nodes. In this case, only 1 should decide how to balance. And thus the HA master is selected. If you have 1 instance, this mechanism is not needed at all.
@cvk98 commented on GitHub (Mar 1, 2024):
Without HA, there is no master node in the cluster.
@Tradeforlife commented on GitHub (Mar 1, 2024):
I uncommented the line and enabled HA and now it's working as expected, thanks.