config : 'option forwardfor' ignored for frontend 'openshift-api-server' as it requi

Posted 10年 Java程序员,硬核人生!勇往直前,永不退缩!

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了config : 'option forwardfor' ignored for frontend 'openshift-api-server' as it requi相关的知识,希望对你有一定的参考价值。

 

发现问题,

[root@registry ~]# systemctl status haproxy
● haproxy.service - HAProxy Load Balancer
Loaded: loaded (/usr/lib/systemd/system/haproxy.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 三 2021-06-16 08:41:15 CST; 7s ago
Process: 44290 ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid $OPTIONS (code=exited, status=1/FAILURE)
Main PID: 44290 (code=exited, status=1/FAILURE)

6月 16 08:41:15 registry.openshit4.example.com haproxy-systemd-wrapper[44290]: [ALERT] 166/084112 (44291) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
6月 16 08:41:15 registry.openshit4.example.com haproxy-systemd-wrapper[44290]: [WARNING] 166/084115 (44291) : config : \'option forwardfor\' ignored for frontend \'openshift-api-server\' as it requires HTTP mode.
6月 16 08:41:15 registry.openshit4.example.com haproxy-systemd-wrapper[44290]: [WARNING] 166/084115 (44291) : config : \'option forwardfor\' ignored for backend \'openshift-api-server\' as it requires HTTP mode.
6月 16 08:41:15 registry.openshit4.example.com haproxy-systemd-wrapper[44290]: [WARNING] 166/084115 (44291) : config : \'option forwardfor\' ignored for frontend \'machine-config-server\' as it requires HTTP mode.
6月 16 08:41:15 registry.openshit4.example.com haproxy-systemd-wrapper[44290]: [WARNING] 166/084115 (44291) : config : \'option forwardfor\' ignored for backend \'machine-config-server\' as it requires HTTP mode.
6月 16 08:41:15 registry.openshit4.example.com haproxy-systemd-wrapper[44290]: [ALERT] 166/084115 (44291) : Fatal errors found in configuration.
6月 16 08:41:15 registry.openshit4.example.com haproxy-systemd-wrapper[44290]: haproxy-systemd-wrapper: exit, haproxy RC=1
6月 16 08:41:15 registry.openshit4.example.com systemd[1]: haproxy.service: main process exited, code=exited, status=1/FAILURE
6月 16 08:41:15 registry.openshit4.example.com systemd[1]: Unit haproxy.service entered failed state.
6月 16 08:41:15 registry.openshit4.example.com systemd[1]: haproxy.service failed.

 

原来是ip 配置错误:

 

 

我擦, 这错误提示 不靠谱!

以上是关于config : 'option forwardfor' ignored for frontend 'openshift-api-server' as it requi的主要内容,如果未能解决你的问题,请参考以下文章

vue如何修改title标签中的htmlWebpackPlugin.options.title

怎么修改703N源码,使AR9331 openwrt 增加四LAN口支持

选项 Cors 方法无法阻止

如何编辑配置openwrt,来实现pppoe拨号上网

thinkphp常量怎么定义并在模板中使用?

Vue学习之webpack打包报The 'mode' option has not been set