mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-19 00:55:15 +00:00
e0fb7180ae
MAIN BUG FIX: - Agent offline issue resolved (cluster created before pool scenario) - 2-method cluster lookup: pool_id -> cluster_id fallback - Auto-healing: pool_id NULL automatically corrected on first heartbeat SECURITY & VALIDATION: - Removed pool-based security check (token is globally usable) - Pool-cluster validation for new agents (frontend + backend) - Relaxed validation for agent upgrades (fallback pool_id tolerated) AGENT IMPROVEMENTS: - HTTP error logging in agent scripts (curl status code check) - Detailed backend error response logging - Better troubleshooting capabilities PRODUCTION SAFE: - Backward compatible (no breaking changes) - Existing agents unaffected (Method 1 priority) - Agent upgrades work (relaxed validation) - Global token model preserved (cross-pool usage OK)