Pulse: Can't add 2nd node in my cluster - all nodes/VMs duplicated in dashboard
v3.17.3
I want Pulse to continue monitorig even when I reboot one of my nodes. So I want to add both nodes to the config.
Here’s my sanitized config (.env):
PROXMOX_HOST=192.168.20.51
PROXMOX_PORT=8006
PROXMOX_TOKEN_ID=pulse-monitor@pam!pulse
PROXMOX_TOKEN_SECRET=4529ab7f-e20b-43e9-a51c-683f2cea4644
PROXMOX_ALLOW_SELF_SIGNED_CERTS=true
PROXMOX_HOST_1=192.168.20.52
PROXMOX_PORT_1=8006
PROXMOX_TOKEN_ID_1=pulse-monitor@pam!pulse
PROXMOX_TOKEN_SECRET_1=4529ab7f-e20b-43e9-a51c-683f2cea4644
PROXMOX_ALLOW_SELF_SIGNED_CERTS_2=true
PBS_HOST=192.168.20.55
PBS_PORT=8007
PBS_TOKEN_ID=pulse-monitor@pbs!pulse-monitor
PBS_TOKEN_SECRET=d6d2d10c-5334-42d1-9dc0-43805101f092
PBS_NODE_NAME=pbs
PBS_ALLOW_SELF_SIGNED_CERTS=true
ENABLE_HOT_RELOAD=true
PULSE_METRIC_INTERVAL_MS=2000
PULSE_DISCOVERY_INTERVAL_MS=30000
THEME_PREFERENCE=dark
AUTO_UPDATE_ENABLED=true
And a screenshot…
Note how all VMs are shown twice, as are all nodes (I only have 2 nodes in this cluster, but 4 are displayed…)
If I comment out all the _2 variables, here is the (correct) display
BUT, if I shut down node1, I lose my Pulse dashboard completely. Not ideal…
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 31 (30 by maintainers)
Commits related to this issue
- fix: prevent duplicate nodes when multiple endpoints point to same cluster - Add deduplication logic for nodes, VMs, and containers based on cluster identifier - Change Promise.all to Promise.allSett... — committed to rcourtman/Pulse by rcourtman a year ago
- fix: resolve dashboard freezing and node duplication in multi-node setups - Reduce API client timeout from 30s to 10s for improved responsiveness - Wrap critical discovery calls in Promise.allSettled... — committed to rcourtman/Pulse by rcourtman a year ago
- fix: resolve dashboard freezing and node duplication in multi-node setups - Changed Promise.all to Promise.allSettled to prevent one offline endpoint from blocking all others - Added intelligent node... — committed to rcourtman/Pulse by rcourtman a year ago
- fix: make node resource fetching non-blocking to prevent dashboard freezes - Changed fetchDataForNode to use Promise.allSettled instead of sequential await calls - Added 8-second timeout to individua... — committed to rcourtman/Pulse by rcourtman a year ago
- feat: implement smart cluster handling with endpoint prioritization - Add cluster membership detection to identify same-cluster endpoints - Implement endpoint prioritization with failover support - E... — committed to rcourtman/Pulse by rcourtman a year ago
- fix: make individual node resource fetching non-blocking The smart cluster handling prevented endpoint duplication but individual node resource fetching was still sequential and blocking. This adds: ... — committed to rcourtman/Pulse by rcourtman a year ago
- fix: resolve dashboard freezing and node duplication in multi-node setups - Changed Promise.all to Promise.allSettled to prevent one offline endpoint from blocking all others - Added intelligent node... — committed to Viningr/Pulse by rcourtman a year ago
- feat: implement smart cluster handling with endpoint prioritization - Add cluster membership detection to identify same-cluster endpoints - Implement endpoint prioritization with failover support - E... — committed to Viningr/Pulse by rcourtman a year ago
- fix: make individual node resource fetching non-blocking The smart cluster handling prevented endpoint duplication but individual node resource fetching was still sequential and blocking. This adds: ... — committed to Viningr/Pulse by rcourtman a year ago
Not sure at what exact point this was changed but - I just installed 3.33.1 and as far as I can tell, this is fixed! Going to close this long issue now 👍
yes, I added the node name in the config area, but 2 notes:
the displayed name appears to be incorrect. It shows PVE02 when it should show PVE01.
the app should do a case-insensitive string comparison, and if the real node name matches the manually input name, it should just display it once instead of the same string twice in a row (my opinion)
@Lynka7 If you have a cluster, you should only need to put the token details in for one of the nodes. @luckman212 I will get round to looking at this again soon - and we will get to the bottom of it