centos7.9,通过OBD安装,OB数据库社区版4.2.1.7,ob-configserver组件屡次安装失败
[2024-07-05 09:45:23.140] [DEBUG] – 172.16.10.172: request ob-configserver failed: HTTPConnectionPool(host=‘172.16.10.172’, port=8080): Max retries exceeded with url: /services?Action=GetObProxyConfig (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f2d025c0520>: Failed to establish a new connection: [Errno 111] Connection refused’))
帮忙把这些日志信息都发出来吧 暂时未找到具体原因呢需要上下文看一下
我想请教一下,这个组件是需要和OB数据库在一个服务器上吗?每个OB数据库节点需要单独这个配置服务组件吗?(不太了解这个组件,好像是新增的,一个月前部署的时候还没有)
部署日志:
[2024-07-05 09:45:21.747] [DEBUG] - Get deploy config
[2024-07-05 09:45:21.748] [INFO] Search plugins
[2024-07-05 09:45:21.748] [DEBUG] - Searching start_check plugin for components …
[2024-07-05 09:45:21.748] [DEBUG] - Searching start_check plugin for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.748] [DEBUG] - Found for ob-configserver-py_script_start_check-1.0.0 for ob-configserver-1.0.0
[2024-07-05 09:45:21.748] [DEBUG] - Searching start_check plugin for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.748] [DEBUG] - Found for oceanbase-ce-py_script_start_check-4.2.1.4 for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.748] [DEBUG] - Searching start_check plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.749] [DEBUG] - Found for obproxy-ce-py_script_start_check-4.2.3 for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.749] [DEBUG] - Searching start_check plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.749] [DEBUG] - Found for obagent-py_script_start_check-1.3.0 for obagent-4.2.2
[2024-07-05 09:45:21.749] [DEBUG] - Searching start_check plugin for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.749] [DEBUG] - Found for ocp-express-py_script_start_check-4.2.2 for ocp-express-4.2.2
[2024-07-05 09:45:21.749] [DEBUG] - Searching create_tenant plugin for components …
[2024-07-05 09:45:21.749] [DEBUG] - Searching create_tenant plugin for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.750] [DEBUG] - No such create_tenant plugin for ob-configserver-1.0.0
[2024-07-05 09:45:21.750] [DEBUG] - Searching create_tenant plugin for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.750] [DEBUG] - Found for oceanbase-ce-py_script_create_tenant-4.2.0.0 for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.750] [DEBUG] - Searching create_tenant plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.750] [DEBUG] - No such create_tenant plugin for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.750] [DEBUG] - Searching create_tenant plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.751] [DEBUG] - No such create_tenant plugin for obagent-4.2.2
[2024-07-05 09:45:21.751] [DEBUG] - Searching create_tenant plugin for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.751] [DEBUG] - No such create_tenant plugin for ocp-express-4.2.2
[2024-07-05 09:45:21.751] [DEBUG] - Searching tenant_optimize plugin for components …
[2024-07-05 09:45:21.751] [DEBUG] - Searching tenant_optimize plugin for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.751] [DEBUG] - No such tenant_optimize plugin for ob-configserver-1.0.0
[2024-07-05 09:45:21.751] [DEBUG] - Searching tenant_optimize plugin for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.752] [DEBUG] - No such tenant_optimize plugin for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.752] [DEBUG] - Searching tenant_optimize plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.752] [DEBUG] - No such tenant_optimize plugin for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.752] [DEBUG] - Searching tenant_optimize plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.752] [DEBUG] - No such tenant_optimize plugin for obagent-4.2.2
[2024-07-05 09:45:21.752] [DEBUG] - Searching tenant_optimize plugin for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.752] [DEBUG] - No such tenant_optimize plugin for ocp-express-4.2.2
[2024-07-05 09:45:21.752] [DEBUG] - Searching start plugin for components …
[2024-07-05 09:45:21.752] [DEBUG] - Searching start plugin for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.753] [DEBUG] - Found for ob-configserver-py_script_start-1.0.0 for ob-configserver-1.0.0
[2024-07-05 09:45:21.753] [DEBUG] - Searching start plugin for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.753] [DEBUG] - Found for oceanbase-ce-py_script_start-4.2.1.4 for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.753] [DEBUG] - Searching start plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.754] [DEBUG] - Found for obproxy-ce-py_script_start-4.2.3 for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.754] [DEBUG] - Searching start plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.754] [DEBUG] - Found for obagent-py_script_start-1.3.0 for obagent-4.2.2
[2024-07-05 09:45:21.754] [DEBUG] - Searching start plugin for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.754] [DEBUG] - Found for ocp-express-py_script_start-4.2.2 for ocp-express-4.2.2
[2024-07-05 09:45:21.754] [DEBUG] - Searching connect plugin for components …
[2024-07-05 09:45:21.754] [DEBUG] - Searching connect plugin for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.755] [DEBUG] - Found for ob-configserver-py_script_connect-1.0.0 for ob-configserver-1.0.0
[2024-07-05 09:45:21.755] [DEBUG] - Searching connect plugin for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.755] [DEBUG] - Found for oceanbase-ce-py_script_connect-4.2.1.4 for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.755] [DEBUG] - Searching connect plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.756] [DEBUG] - Found for obproxy-ce-py_script_connect-3.1.0 for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.756] [DEBUG] - Searching connect plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.756] [DEBUG] - Found for obagent-py_script_connect-1.3.0 for obagent-4.2.2
[2024-07-05 09:45:21.756] [DEBUG] - Searching connect plugin for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.756] [DEBUG] - Found for ocp-express-py_script_connect-1.0.1 for ocp-express-4.2.2
[2024-07-05 09:45:21.756] [DEBUG] - Searching bootstrap plugin for components …
[2024-07-05 09:45:21.756] [DEBUG] - Searching bootstrap plugin for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.757] [DEBUG] - Found for ob-configserver-py_script_bootstrap-1.0.0 for ob-configserver-1.0.0
[2024-07-05 09:45:21.757] [DEBUG] - Searching bootstrap plugin for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.757] [DEBUG] - Found for oceanbase-ce-py_script_bootstrap-4.2.1.4 for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.757] [DEBUG] - Searching bootstrap plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.757] [DEBUG] - Found for obproxy-ce-py_script_bootstrap-3.1.0 for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.757] [DEBUG] - Searching bootstrap plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.758] [DEBUG] - Found for obagent-py_script_bootstrap-0.1 for obagent-4.2.2
[2024-07-05 09:45:21.758] [DEBUG] - Searching bootstrap plugin for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.758] [DEBUG] - Found for ocp-express-py_script_bootstrap-1.0.1 for ocp-express-4.2.2
[2024-07-05 09:45:21.758] [DEBUG] - Searching display plugin for components …
[2024-07-05 09:45:21.758] [DEBUG] - Searching display plugin for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.758] [DEBUG] - Found for ob-configserver-py_script_display-1.0.0 for ob-configserver-1.0.0
[2024-07-05 09:45:21.759] [DEBUG] - Searching display plugin for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.759] [DEBUG] - Found for oceanbase-ce-py_script_display-3.1.0 for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.759] [DEBUG] - Searching display plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.759] [DEBUG] - Found for obproxy-ce-py_script_display-3.1.0 for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.759] [DEBUG] - Searching display plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.759] [DEBUG] - Found for obagent-py_script_display-1.3.0 for obagent-4.2.2
[2024-07-05 09:45:21.759] [DEBUG] - Searching display plugin for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.760] [DEBUG] - Found for ocp-express-py_script_display-1.0.1 for ocp-express-4.2.2
[2024-07-05 09:45:21.760] [INFO] Load cluster param plugin
[2024-07-05 09:45:21.760] [DEBUG] - Get local repository oceanbase-ce-4.2.1.7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.760] [DEBUG] - Get local repository obproxy-ce-4.2.3.0-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.760] [DEBUG] - Get local repository obagent-4.2.2-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.760] [DEBUG] - Get local repository ocp-express-4.2.2-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.760] [DEBUG] - Get local repository ob-configserver-1.0.0-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.760] [DEBUG] - Searching param plugin for components …
[2024-07-05 09:45:21.760] [DEBUG] - Search param plugin for oceanbase-ce
[2024-07-05 09:45:21.761] [DEBUG] - Found for oceanbase-ce-param-4.2.1.4 for oceanbase-ce-4.2.1.7
[2024-07-05 09:45:21.761] [DEBUG] - Applying oceanbase-ce-param-4.2.1.4 for oceanbase-ce-4.2.1.7-107000162024060611.el7-f69097e5f6056a0f6949867a799eea3724a905aa
[2024-07-05 09:45:21.761] [DEBUG] - Search param plugin for obproxy-ce
[2024-07-05 09:45:21.761] [DEBUG] - Found for obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0
[2024-07-05 09:45:21.761] [DEBUG] - Applying obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639
[2024-07-05 09:45:21.762] [DEBUG] - Search param plugin for obagent
[2024-07-05 09:45:21.762] [DEBUG] - Found for obagent-param-1.3.0 for obagent-4.2.2
[2024-07-05 09:45:21.762] [DEBUG] - Applying obagent-param-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-07-05 09:45:21.762] [DEBUG] - Search param plugin for ocp-express
[2024-07-05 09:45:21.762] [DEBUG] - Found for ocp-express-param-4.1.0 for ocp-express-4.2.2
[2024-07-05 09:45:21.762] [DEBUG] - Applying ocp-express-param-4.1.0 for ocp-express-4.2.2-100000022024011120.el7-09ffcf156d1df9318a78af52656f499d2315e3f7
[2024-07-05 09:45:21.762] [DEBUG] - Search param plugin for ob-configserver
[2024-07-05 09:45:21.762] [DEBUG] - Found for ob-configserver-param-1.0.0 for ob-configserver-1.0.0
[2024-07-05 09:45:21.762] [DEBUG] - Applying ob-configserver-param-1.0.0 for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.763] [DEBUG] - Call ob-configserver-py_script_start_check-1.0.0 for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.763] [INFO] Check before start ob-configserver
[2024-07-05 09:45:21.763] [DEBUG] – root@172.16.10.172 execute: cat /root/data_shere/obconfigserver/run/ob-configserver.pid
[2024-07-05 09:45:21.779] [DEBUG] – exited code 1, error output:
[2024-07-05 09:45:21.779] [DEBUG] cat: /root/data_shere/obconfigserver/run/ob-configserver.pid: 没有那个文件或目录
[2024-07-05 09:45:21.780] [DEBUG]
[2024-07-05 09:45:21.780] [DEBUG] – 172.16.10.172 port check
[2024-07-05 09:45:21.780] [DEBUG] – root@172.16.10.172 execute: bash -c ‘cat /proc/net/tcp*’ | awk -F’ ’ ‘{if($4==“0A”) print $2,$4,$10}’ | grep ‘:1F90’ | awk -F’ ’ ‘{print $3}’ | uniq
[2024-07-05 09:45:21.833] [DEBUG] – exited code 0
[2024-07-05 09:45:21.833] [DEBUG] – 172.16.10.172 parameter check
[2024-07-05 09:45:21.834] [DEBUG] – 172.16.10.172 database check
[2024-07-05 09:45:21.834] [DEBUG] - plugin ob-configserver-py_script_start_check-1.0.0 result: True
[2024-07-05 09:45:21.834] [DEBUG] - Call ob-configserver-py_script_start-1.0.0 for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:21.834] [DEBUG] - import start
[2024-07-05 09:45:21.835] [DEBUG] - add start ref count to 1
[2024-07-05 09:45:21.835] [INFO] Start ob-configserver
[2024-07-05 09:45:21.835] [DEBUG] – root@172.16.10.172 execute: cat /root/data_shere/obconfigserver/run/ob-configserver.pid
[2024-07-05 09:45:21.885] [DEBUG] – exited code 1, error output:
[2024-07-05 09:45:21.885] [DEBUG] cat: /root/data_shere/obconfigserver/run/ob-configserver.pid: 没有那个文件或目录
[2024-07-05 09:45:21.885] [DEBUG]
[2024-07-05 09:45:21.888] [DEBUG] – write log:
[2024-07-05 09:45:21.888] [DEBUG] level: info
[2024-07-05 09:45:21.888] [DEBUG] filename: /root/data_shere/obconfigserver/log/ob-configserver.log
[2024-07-05 09:45:21.888] [DEBUG] maxsize: 30
[2024-07-05 09:45:21.888] [DEBUG] maxage: 7
[2024-07-05 09:45:21.888] [DEBUG] maxbackups: 10
[2024-07-05 09:45:21.888] [DEBUG] localtime: true
[2024-07-05 09:45:21.888] [DEBUG] compress: true
[2024-07-05 09:45:21.888] [DEBUG] server:
[2024-07-05 09:45:21.889] [DEBUG] address: 0.0.0.0:8080
[2024-07-05 09:45:21.889] [DEBUG] run_dir: run
[2024-07-05 09:45:21.889] [DEBUG] vip:
[2024-07-05 09:45:21.889] [DEBUG] address: 172.16.10.172
[2024-07-05 09:45:21.889] [DEBUG] port: 8080
[2024-07-05 09:45:21.889] [DEBUG] storage:
[2024-07-05 09:45:21.889] [DEBUG] database_type: sqlite3
[2024-07-05 09:45:21.889] [DEBUG] connection_url: /root/data_shere/obconfigserver/.data.db?cache=shared&_fk=1
[2024-07-05 09:45:21.889] [DEBUG] to root@172.16.10.172:22: /root/data_shere/obconfigserver/conf/ob-configserver.yaml
[2024-07-05 09:45:21.953] [DEBUG] - current remote_transporter RemoteTransporter.CLIENT
[2024-07-05 09:45:21.953] [DEBUG] – root@172.16.10.172 execute: mkdir -p /root/data_shere/obconfigserver/conf && rm -fr /root/data_shere/obconfigserver/conf/ob-configserver.yaml
[2024-07-05 09:45:21.966] [DEBUG] – exited code 0
[2024-07-05 09:45:21.966] [DEBUG] – send /tmp/tmpt1b6wp5a to /root/data_shere/obconfigserver/conf/ob-configserver.yaml
[2024-07-05 09:45:22.006] [DEBUG] - root@172.16.10.172 execute: chmod 600 /root/data_shere/obconfigserver/conf/ob-configserver.yaml
[2024-07-05 09:45:22.018] [DEBUG] - exited code 0
[2024-07-05 09:45:22.019] [DEBUG] – root@172.16.10.172 execute: nohup /root/data_shere/obconfigserver/bin/ob-configserver -c /root/data_shere/obconfigserver/conf/ob-configserver.yaml >> /root/data_shere/obconfigserver/log/ob-configserver.log 2>&1 & echo $! > /root/data_shere/obconfigserver/run/ob-configserver.pid
[2024-07-05 09:45:22.069] [DEBUG] – exited code 0
[2024-07-05 09:45:22.070] [INFO] ob-configserver program health check
[2024-07-05 09:45:23.071] [DEBUG] – 172.16.10.172 program health check
[2024-07-05 09:45:23.071] [DEBUG] – root@172.16.10.172 execute: cat /root/data_shere/obconfigserver/run/ob-configserver.pid
[2024-07-05 09:45:23.084] [DEBUG] – exited code 0
[2024-07-05 09:45:23.085] [DEBUG] – root@172.16.10.172 execute: ls /proc/899
[2024-07-05 09:45:23.136] [DEBUG] – exited code 0
[2024-07-05 09:45:23.137] [DEBUG] – 172.16.10.172 ob-configserver[pid: 899] started
[2024-07-05 09:45:23.137] [DEBUG] - sub start ref count to 0
[2024-07-05 09:45:23.137] [DEBUG] - export start
[2024-07-05 09:45:23.137] [DEBUG] - plugin ob-configserver-py_script_start-1.0.0 result: True
[2024-07-05 09:45:23.137] [DEBUG] - Call ob-configserver-py_script_connect-1.0.0 for ob-configserver-1.0.0-2.el7-feca6b9c76e26ac49464f34bfa0780b5a8d3f4a0
[2024-07-05 09:45:23.137] [DEBUG] - import connect
[2024-07-05 09:45:23.138] [DEBUG] - add connect ref count to 1
[2024-07-05 09:45:23.138] [INFO] Connect to ob-configserver
[2024-07-05 09:45:23.140] [DEBUG] – 172.16.10.172: request ob-configserver failed: HTTPConnectionPool(host=‘172.16.10.172’, port=8080): Max retries exceeded with url: /services?Action=GetObProxyConfig (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f2d025c0520>: Failed to establish a new connection: [Errno 111] Connection refused’))
[2024-07-05 09:45:23.140] [DEBUG] - sub connect ref count to 0
[2024-07-05 09:45:23.140] [DEBUG] - export connect
[2024-07-05 09:45:23.140] [DEBUG] - plugin ob-configserver-py_script_connect-1.0.0 result: False
这看起来是集群起来了,只是当时接口请求限制了,只要把~/.obd/cluster/<deploy_name>/.data里的 status: STATUS_RUNNING
config_status: UNCHNAGE
这两行改成这样,在obd cluster display <deploy_name>只要不报错,就代表没问题
我删除集群,重新搭建一下吧
后续成功了吗?
重新创建虚拟机后,一次安装成功,可能当时环境有问题