mirror of
https://github.com/cvk98/Proxmox-load-balancer.git
synced 2026-04-25 04:25:50 +03:00
[GH-ISSUE #16] Unable to run #7
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#7
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 @swartjie on GitHub (Aug 27, 2023).
Original GitHub issue: https://github.com/cvk98/Proxmox-load-balancer/issues/16
hey Guys,
I have been trying to get the script to work.
I keep seeing:
INFO | START Load-balancer!
Traceback (most recent call last):
File "/root/Proxmox-load-balancer-main/plb.py", line 491, in
main()
File "/root/Proxmox-load-balancer-main/plb.py", line 461, in main
cluster = Cluster(server_url)
File "/root/Proxmox-load-balancer-main/plb.py", line 95, in init
self.cl_nodes: dict = self.cluster_hosts() # All cluster nodes
File "/root/Proxmox-load-balancer-main/plb.py", line 167, in cluster_hosts
self.master_node = rr.json()['data']['manager_status']['master_node']
KeyError: 'master_node'
I have disabled the
only_on_mastervariable by leaving it onOFFabut it's still not working...I'm currently running PVE
7.4-15Any advise on how to get it to work will be amazing?
@cvk98 commented on GitHub (Aug 28, 2023):
Hello.
self.master_node = rr.json()['data']['manager_status']['master_node']
self.quorate = (rr.json()['data']['quorum']['quorate'] == "1")