healthcheck - 一直是Initializing状态

healthcheck - 一直是Initializing状态 日志如下 2018/3/22 上午11:21:12time="2018-03-22T03:21:12Z" level=info msg="Starting haproxy listener" 2018/3/22 上午11:21:12time="2018-03-22T03:21:12Z" level=info msg="healthCheck -- starting haproxy\n * Starting haproxy haproxy\n   ...done.\n" 2018/3/22 上午11:21:12time="2018-03-22T03:21:12Z" level=info msg="Scheduling apply config" 2018/3/22 上午11:21:12time="2018-03-22T03:21:12Z" level=info msg="healthCheck -- reloading haproxy config with the new config changes\n[WARNING] 080/032112 (35) : config : 'option forwardfor' ignored for proxy 'web' as it requires HTTP mode.\n[WARNING] 080/032112 (35) : config : 'option forwardfor' ignored for backend 'cattle-53e540f7-bec2-40a3-801f-742d2a94c563_7c23dc77-baf1-4e06-ac64-cc4b3e2cd6fa_1' as it requires HTTP mode.\n[WARNING] 080/032112 (35) : config : 'option forwardfor' ignored for backend 'cattle-53e540f7-bec2-40a3-801f-742d2a94c563_5e8c8707-09a3-4971-8dee-7316c4afbc15_1' as it requires HTTP mode.\n" 2018/3/22 上午11:21:13time="2018-03-22T03:21:13Z" level=info msg="Scheduling apply config" 2018/3/22 上午11:21:13time="2018-03-22T03:21:13Z" level=info msg="healthCheck -- no changes in haproxy config\n" 2018/3/22 上午11:21:14time="2018-03-22T03:21:14Z" level=info msg="Scheduling apply config" 2018/3/22 上午11:21:14time="2018-03-22T03:21:14Z" level=info msg="healthCheck -- no changes in haproxy config\n" 2018/3/22 上午11:21:14time="2018-03-22T03:21:14Z" level=info msg="Monitoring 3 backends" 2018/3/22 上午11:21:16time="2018-03-22T03:21:16Z" level=info msg="53e540f7-bec2-40a3-801f-742d2a94c563_7c23dc77-baf1-4e06-ac64-cc4b3e2cd6fa_1=DOWN" 2018/3/22 上午11:21:16time="2018-03-22T03:21:16Z" level=info msg="53e540f7-bec2-40a3-801f-742d2a94c563_5e8c8707-09a3-4971-8dee-7316c4afbc15_1=DOWN" 2018/3/22 上午11:21:16time="2018-03-22T03:21:16Z" level=info msg="53e540f7-bec2-40a3-801f-742d2a94c563_1d059e14-739b-49da-832f-e3ab546b7a7e_1=DOWN" 按提示操作如下 root@3b87c38fda33:/# healthcheck --metadata-address 169.254.169.250 INFO[0015] Starting haproxy listener INFO[0015] healthCheck -- starting haproxy [WARNING] 080/031549 (85) : config : 'option forwardfor' ignored for proxy 'web' as it requires HTTP mode. [WARNING] 080/031549 (85) : config : 'option forwardfor' ignored for backend 'cattle-53e540f7-bec2-40a3-801f-742d2a94c563_7c23dc77-baf1-4e06-ac64-cc4b3e2cd6fa_1' as it requires HTTP mode. [WARNING] 080/031549 (85) : config : 'option forwardfor' ignored for backend 'cattle-53e540f7-bec2-40a3-801f-742d2a94c563_5e8c8707-09a3-4971-8dee-7316c4afbc15_1' as it requires HTTP mode. INFO[0015] Scheduling apply config INFO[0015] healthCheck -- no changes in haproxy config INFO[0017] Monitoring 3 backends INFO[0019] 53e540f7-bec2-40a3-801f-742d2a94c563_7c23dc77-baf1-4e06-ac64-cc4b3e2cd6fa_1=DOWN INFO[0019] 53e540f7-bec2-40a3-801f-742d2a94c563_5e8c8707-09a3-4971-8dee-7316c4afbc15_1=DOWN INFO[0019] 53e540f7-bec2-40a3-801f-742d2a94c563_1d059e14-739b-49da-832f-e3ab546b7a7e_1=DOWN 组件     版本 Rancher     v1.6.14 Cattle     v0.183.37 用户界面     v1.6.42 Rancher CLI     v0.6.7 Rancher Compose     v0.12.5  
已邀请:
500  4500 端口放行了吗?

zlcolin - radarlab.org-金融其实很简单!

228.151 
root@hs228151:~# ufw status
Status: active

To                         Action      From
--                         ------      ----
500/udp                    ALLOW       Anywhere                  
4500/udp                   ALLOW       Anywhere                  
500/udp (v6)               ALLOW       Anywhere (v6)             
4500/udp (v6)              ALLOW       Anywhere (v6)   

228.61
root@hs228061:~# ufw status
Status: active
To                         Action      From
--                         ------      ----
500/udp                    ALLOW       Anywhere                  
4500/udp                   ALLOW       Anywhere                  
500/udp (v6)               ALLOW       Anywhere (v6)             
4500/udp (v6)              ALLOW       Anywhere (v6)       

要回复问题请先登录注册