zoukankan      html  css  js  c++  java
  • config : 'option forwardfor' ignored for frontend 'openshift-api-server' as it requires HTTP mode.

    发现问题,

    [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 配置错误:

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


    版权声明
    本文原创发表于 博客园,作者为 阿K .     本文欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则视为侵权。
    欢迎关注本人微信公众号:觉醒的码农,或者扫码进群:

  • 相关阅读:
    基于智能学习与业务感知的工控安全监测体系建设
    深度解析工控网络流量特点
    Studio 从入门到精通 (一)
    AndroidStudio权威教程 AS添加第三方库的6种方式(Jar module so等)
    最全的资源教程-前端涉及的所有知识体系
    Android 屏幕适配(二)增强版百分比布局库(percent-support-lib)
    Android 屏幕适配(一)百分比布局库(percent-support-lib) 解析与扩展
    Android 手势识别类 ( 三 ) GestureDetector 源码浅析
    Android 手势识别类 ( 二 ) GestureDetector 源码浅析
    Android 手势识别类 ( 一 ) GestureDetector 基本介绍
  • 原文地址:https://www.cnblogs.com/FlyAway2013/p/14887956.html
Copyright © 2011-2022 走看看