obd display-trace bd4af53e-2de1-11ef-806c-58c7acca34ba
[2024-06-19 10:15:03.848] [DEBUG] - cmd: [‘ob_nj1_obkv_2_agent_only’]
[2024-06-19 10:15:03.848] [DEBUG] - opts: {‘servers’: None, ‘components’: None, ‘force_delete’: None, ‘strict_check’: None, ‘without_parameter’: None}
[2024-06-19 10:15:03.848] [DEBUG] - mkdir /root/.obd/lock/
[2024-06-19 10:15:03.848] [DEBUG] - unknown lock mode
[2024-06-19 10:15:03.848] [DEBUG] - try to get share lock /root/.obd/lock/global
[2024-06-19 10:15:03.849] [DEBUG] - share lock /root/.obd/lock/global
, count 1
[2024-06-19 10:15:03.849] [DEBUG] - Get Deploy by name
[2024-06-19 10:15:03.849] [DEBUG] - mkdir /root/.obd/cluster/
[2024-06-19 10:15:03.849] [DEBUG] - mkdir /root/.obd/config_parser/
[2024-06-19 10:15:03.849] [DEBUG] - try to get exclusive lock /root/.obd/lock/deploy_ob_nj1_obkv_2_agent_only
[2024-06-19 10:15:03.849] [DEBUG] - exclusive lock /root/.obd/lock/deploy_ob_nj1_obkv_2_agent_only
, count 1
[2024-06-19 10:15:03.853] [DEBUG] - Deploy status judge
[2024-06-19 10:15:03.854] [INFO] Get local repositories
[2024-06-19 10:15:03.854] [DEBUG] - mkdir /root/.obd/repository
[2024-06-19 10:15:03.854] [DEBUG] - Get local repository obagent-4.2.2-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:03.855] [DEBUG] - Search repository obagent version: 4.2.2, tag: 19739a07a12eab736aff86ecf357b1ae660b554e, release: None, package_hash: None
[2024-06-19 10:15:03.855] [DEBUG] - try to get share lock /root/.obd/lock/mirror_and_repo
[2024-06-19 10:15:03.855] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo
, count 1
[2024-06-19 10:15:03.855] [DEBUG] - mkdir /root/.obd/repository/obagent
[2024-06-19 10:15:03.857] [DEBUG] - Found repository obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:03.985] [DEBUG] - Get deploy config
[2024-06-19 10:15:03.998] [INFO] Search plugins
[2024-06-19 10:15:03.998] [DEBUG] - Searching start_check plugin for components …
[2024-06-19 10:15:03.998] [DEBUG] - Searching start_check plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:03.999] [DEBUG] - mkdir /root/.obd/plugins
[2024-06-19 10:15:04.000] [DEBUG] - Found for obagent-py_script_start_check-1.3.0 for obagent-4.2.2
[2024-06-19 10:15:04.000] [DEBUG] - Searching create_tenant plugin for components …
[2024-06-19 10:15:04.000] [DEBUG] - Searching create_tenant plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.000] [DEBUG] - No such create_tenant plugin for obagent-4.2.2
[2024-06-19 10:15:04.000] [DEBUG] - Searching tenant_optimize plugin for components …
[2024-06-19 10:15:04.000] [DEBUG] - Searching tenant_optimize plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.001] [DEBUG] - No such tenant_optimize plugin for obagent-4.2.2
[2024-06-19 10:15:04.001] [DEBUG] - Searching start plugin for components …
[2024-06-19 10:15:04.001] [DEBUG] - Searching start plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.001] [DEBUG] - Found for obagent-py_script_start-1.3.0 for obagent-4.2.2
[2024-06-19 10:15:04.001] [DEBUG] - Searching connect plugin for components …
[2024-06-19 10:15:04.001] [DEBUG] - Searching connect plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.002] [DEBUG] - Found for obagent-py_script_connect-1.3.0 for obagent-4.2.2
[2024-06-19 10:15:04.002] [DEBUG] - Searching bootstrap plugin for components …
[2024-06-19 10:15:04.002] [DEBUG] - Searching bootstrap plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.002] [DEBUG] - Found for obagent-py_script_bootstrap-0.1 for obagent-4.2.2
[2024-06-19 10:15:04.002] [DEBUG] - Searching display plugin for components …
[2024-06-19 10:15:04.002] [DEBUG] - Searching display plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.003] [DEBUG] - Found for obagent-py_script_display-1.3.0 for obagent-4.2.2
[2024-06-19 10:15:04.129] [INFO] Load cluster param plugin
[2024-06-19 10:15:04.129] [DEBUG] - Get local repository obagent-4.2.2-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.130] [DEBUG] - Searching param plugin for components …
[2024-06-19 10:15:04.130] [DEBUG] - Search param plugin for obagent
[2024-06-19 10:15:04.130] [DEBUG] - Found for obagent-param-1.3.0 for obagent-4.2.2
[2024-06-19 10:15:04.130] [DEBUG] - Applying obagent-param-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.260] [INFO] Open ssh connection
[2024-06-19 10:15:04.264] [DEBUG] - host: 172.28.65.xxx, port: 22, user: admin, password: xxxxxxxx
[2024-06-19 10:15:04.357] [DEBUG] - host: 172.28.65.xxx, port: 22, user: admin, password: xxxxxxxx
[2024-06-19 10:15:04.449] [DEBUG] - host: 172.28.65.xxx, port: 22, user: admin, password: xxxxxxxx
[2024-06-19 10:15:04.549] [DEBUG] - Call obagent-py_script_start_check-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:04.549] [DEBUG] - import start_check
[2024-06-19 10:15:04.551] [DEBUG] - add start_check ref count to 1
[2024-06-19 10:15:04.552] [INFO] Check before start obagent
[2024-06-19 10:15:04.553] [DEBUG] – admin@172.28.65.xxx execute: cat /home/admin/obagent/run/ob_agentd.pid
[2024-06-19 10:15:04.705] [DEBUG] – exited code 1, error output:
[2024-06-19 10:15:04.705] [DEBUG] cat: /home/admin/obagent/run/ob_agentd.pid: No such file or directory
[2024-06-19 10:15:04.706] [DEBUG]
[2024-06-19 10:15:04.706] [DEBUG] – 172.28.65.xxx port check
[2024-06-19 10:15:04.706] [DEBUG] – admin@172.28.65.xxx execute: bash -c ‘cat /proc/net/{tcp*,udp*}’ | awk -F’ ’ ‘{if($4==“0A”) print $2,$4,$10}’ | grep ‘:46A9’ | awk -F’ ’ ‘{print $3}’ | uniq
[2024-06-19 10:15:04.901] [DEBUG] – exited code 0
[2024-06-19 10:15:04.902] [DEBUG] – admin@172.28.65.xxx execute: bash -c ‘cat /proc/net/{tcp*,udp*}’ | awk -F’ ’ ‘{if($4==“0A”) print $2,$4,$10}’ | grep ‘:46A8’ | awk -F’ ’ ‘{print $3}’ | uniq
[2024-06-19 10:15:05.093] [DEBUG] – exited code 0
[2024-06-19 10:15:05.094] [DEBUG] – admin@172.28.65.xxx execute: cat /home/admin/obagent/run/ob_agentd.pid
[2024-06-19 10:15:05.237] [DEBUG] – exited code 1, error output:
[2024-06-19 10:15:05.237] [DEBUG] cat: /home/admin/obagent/run/ob_agentd.pid: No such file or directory
[2024-06-19 10:15:05.237] [DEBUG]
[2024-06-19 10:15:05.237] [DEBUG] – 172.28.65.xxx port check
[2024-06-19 10:15:05.237] [DEBUG] – admin@172.28.65.xxx execute: bash -c ‘cat /proc/net/{tcp*,udp*}’ | awk -F’ ’ ‘{if($4==“0A”) print $2,$4,$10}’ | grep ‘:46A9’ | awk -F’ ’ ‘{print $3}’ | uniq
[2024-06-19 10:15:05.425] [DEBUG] – exited code 0
[2024-06-19 10:15:05.426] [DEBUG] – admin@172.28.65.xxx execute: bash -c ‘cat /proc/net/{tcp*,udp*}’ | awk -F’ ’ ‘{if($4==“0A”) print $2,$4,$10}’ | grep ‘:46A8’ | awk -F’ ’ ‘{print $3}’ | uniq
[2024-06-19 10:15:05.615] [DEBUG] – exited code 0
[2024-06-19 10:15:05.615] [DEBUG] – admin@172.28.65.xxx execute: cat /home/admin/obagent/run/ob_agentd.pid
[2024-06-19 10:15:05.760] [DEBUG] – exited code 1, error output:
[2024-06-19 10:15:05.760] [DEBUG] cat: /home/admin/obagent/run/ob_agentd.pid: No such file or directory
[2024-06-19 10:15:05.761] [DEBUG]
[2024-06-19 10:15:05.761] [DEBUG] – 172.28.65.xxx port check
[2024-06-19 10:15:05.761] [DEBUG] – admin@172.28.65.xxx execute: bash -c ‘cat /proc/net/{tcp*,udp*}’ | awk -F’ ’ ‘{if($4==“0A”) print $2,$4,$10}’ | grep ‘:46A9’ | awk -F’ ’ ‘{print $3}’ | uniq
[2024-06-19 10:15:05.949] [DEBUG] – exited code 0
[2024-06-19 10:15:05.949] [DEBUG] – admin@172.28.65.xxx execute: bash -c ‘cat /proc/net/{tcp*,udp*}’ | awk -F’ ’ ‘{if($4==“0A”) print $2,$4,$10}’ | grep ‘:46A8’ | awk -F’ ’ ‘{print $3}’ | uniq
[2024-06-19 10:15:06.134] [DEBUG] – exited code 0
[2024-06-19 10:15:06.249] [DEBUG] - sub start_check ref count to 0
[2024-06-19 10:15:06.249] [DEBUG] - export start_check
[2024-06-19 10:15:06.249] [DEBUG] - plugin obagent-py_script_start_check-1.3.0 result: True
[2024-06-19 10:15:06.249] [DEBUG] - Call obagent-py_script_start-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e
[2024-06-19 10:15:06.249] [DEBUG] - import start
[2024-06-19 10:15:06.311] [DEBUG] - add start ref count to 1
[2024-06-19 10:15:06.320] [INFO] Start obagent
[2024-06-19 10:15:06.321] [DEBUG] – admin@172.28.65.xxx execute: cat /home/admin/obagent/run/ob_agentd.pid
[2024-06-19 10:15:06.473] [DEBUG] – exited code 1, error output:
[2024-06-19 10:15:06.473] [DEBUG] cat: /home/admin/obagent/run/ob_agentd.pid: No such file or directory
[2024-06-19 10:15:06.473] [DEBUG]
[2024-06-19 10:15:06.474] [DEBUG] – admin@172.28.65.xxx execute: cat /home/admin/obagent/conf/mgragent.yaml
[2024-06-19 10:15:06.664] [DEBUG] – exited code 0
[2024-06-19 10:15:06.665] [DEBUG] – write install:
[2024-06-19 10:15:06.665] [DEBUG] path: ${obagent.home.path}
[2024-06-19 10:15:06.665] [DEBUG] server:
[2024-06-19 10:15:06.665] [DEBUG] address: 0.0.0.0:${ocp.agent.manager.http.port}
[2024-06-19 10:15:06.665] [DEBUG] runDir: ${obagent.home.path}/run
[2024-06-19 10:15:06.665] [DEBUG] sdkConfig:
[2024-06-19 10:15:06.665] [DEBUG] configPropertiesDir: ${obagent.home.path}/conf/config_properties
[2024-06-19 10:15:06.665] [DEBUG] moduleConfigDir: ${obagent.home.path}/conf/module_config
[2024-06-19 10:15:06.665] [DEBUG] cryptoPath: ${obagent.home.path}/conf/.config_secret.key
[2024-06-19 10:15:06.665] [DEBUG] cryptoMethod: plain
[2024-06-19 10:15:06.665] [DEBUG] shellf:
[2024-06-19 10:15:06.665] [DEBUG] template: ${obagent.home.path}/conf/shell_templates/shell_template.yaml
[2024-06-19 10:15:06.665] [DEBUG] to admin@172.28.65.xxx:22: /home/admin/obagent/conf/mgragent.yaml
[2024-06-19 10:15:06.998] [DEBUG] - current remote_transporter RemoteTransporter.CLIENT
[2024-06-19 10:15:06.998] [DEBUG] – admin@172.28.65.xxx execute: mkdir -p /home/admin/obagent/conf && rm -fr /home/admin/obagent/conf/mgragent.yaml
[2024-06-19 10:15:07.143] [DEBUG] – exited code 0
[2024-06-19 10:15:07.143] [DEBUG] – send /tmp/tmp7whcmvwo to /home/admin/obagent/conf/mgragent.yaml
[2024-06-19 10:15:07.184] [DEBUG] - admin@172.28.65.xxx execute: chmod 600 /home/admin/obagent/conf/mgragent.yaml
[2024-06-19 10:15:07.327] [DEBUG] - exited code 0
[2024-06-19 10:15:07.327] [DEBUG] – admin@172.28.65.xxx execute: chmod 755 /home/admin/obagent/conf/mgragent.yaml
[2024-06-19 10:15:07.509] [DEBUG] – exited code 0
[2024-06-19 10:15:07.509] [DEBUG] – admin@172.28.65.xxx execute: cat /home/admin/obagent/conf/monagent.yaml
[2024-06-19 10:15:07.692] [DEBUG] – exited code 0
[2024-06-19 10:15:07.692] [DEBUG] – write server:
[2024-06-19 10:15:07.692] [DEBUG] address: 0.0.0.0:${ocp.agent.monitor.http.port}
[2024-06-19 10:15:07.692] [DEBUG] runDir: ${obagent.home.path}/run
[2024-06-19 10:15:07.692] [DEBUG]
[2024-06-19 10:15:07.692] [DEBUG] cryptoMethod: plain
[2024-06-19 10:15:07.692] [DEBUG] cryptoPath: ${obagent.home.path}/conf/.config_secret.key
[2024-06-19 10:15:07.692] [DEBUG] modulePath: ${obagent.home.path}/conf/module_config
[2024-06-19 10:15:07.692] [DEBUG] propertiesPath: ${obagent.home.path}/conf/config_properties
[2024-06-19 10:15:07.692] [DEBUG] to admin@172.28.65.xxx:22: /home/admin/obagent/conf/monagent.yaml
[2024-06-19 10:15:07.692] [DEBUG] – admin@172.28.65.xxx execute: mkdir -p /home/admin/obagent/conf && rm -fr /home/admin/obagent/conf/monagent.yaml
[2024-06-19 10:15:07.879] [DEBUG] – exited code 0
[2024-06-19 10:15:07.879] [DEBUG] – send /tmp/tmppjigl3po to /home/admin/obagent/conf/monagent.yaml
[2024-06-19 10:15:07.920] [DEBUG] - admin@172.28.65.xxx execute: chmod 600 /home/admin/obagent/conf/monagent.yaml
[2024-06-19 10:15:08.067] [DEBUG] - exited code 0
[2024-06-19 10:15:08.068] [DEBUG] – admin@172.28.65.xxx execute: chmod 755 /home/admin/obagent/conf/monagent.yaml
[2024-06-19 10:15:08.251] [DEBUG] – exited code 0
[2024-06-19 10:15:08.251] [DEBUG] – admin@172.28.65.xxx execute: cat /home/admin/obagent/conf/agentctl.yaml
[2024-06-19 10:15:08.434] [DEBUG] – exited code 0
[2024-06-19 10:15:08.434] [DEBUG] – write log:
[2024-06-19 10:15:08.434] [DEBUG] level: info
[2024-06-19 10:15:08.434] [DEBUG] filename: ${obagent.home.path}/log/agentctl.log
[2024-06-19 10:15:08.434] [DEBUG] maxsize: 30
[2024-06-19 10:15:08.434] [DEBUG] maxage: 30
[2024-06-19 10:15:08.434] [DEBUG] maxbackups: 10
[2024-06-19 10:15:08.434] [DEBUG] localtime: true
[2024-06-19 10:15:08.434] [DEBUG] compress: true
[2024-06-19 10:15:08.434] [DEBUG]
[2024-06-19 10:15:08.434] [DEBUG] runDir: ${obagent.home.path}/run
[2024-06-19 10:15:08.434] [DEBUG] confDir: ${obagent.home.path}/conf
[2024-06-19 10:15:08.434] [DEBUG] logDir: ${obagent.home.path}/log
[2024-06-19 10:15:08.434] [DEBUG] backupDir: ${obagent.home.path}/backup
[2024-06-19 10:15:08.434] [DEBUG] pkgStoreDir: ${obagent.home.path}/pkg_store
[2024-06-19 10:15:08.434] [DEBUG] taskStoreDir: ${obagent.home.path}/task_store
[2024-06-19 10:15:08.434] [DEBUG] agentPkgName: obagent
[2024-06-19 10:15:08.434] [DEBUG] pkgExt: rpm
[2024-06-19 10:15:08.434] [DEBUG]
[2024-06-19 10:15:08.434] [DEBUG] sdkConfig:
[2024-06-19 10:15:08.434] [DEBUG] configPropertiesDir: ${obagent.home.path}/conf/config_properties
[2024-06-19 10:15:08.434] [DEBUG] moduleConfigDir: ${obagent.home.path}/conf/module_config
[2024-06-19 10:15:08.434] [DEBUG] cryptoPath: ${obagent.home.path}/conf/.config_secret.key
[2024-06-19 10:15:08.435] [DEBUG] cryptoMethod: plain
[2024-06-19 10:15:08.435] [DEBUG] to admin@172.28.65.xxx:22: /home/admin/obagent/conf/agentctl.yaml
[2024-06-19 10:15:08.435] [DEBUG] – admin@172.28.65.xxx execute: mkdir -p /home/admin/obagent/conf && rm -fr /home/admin/obagent/conf/agentctl.yaml
[2024-06-19 10:15:08.621] [DEBUG] – exited code 0
[2024-06-19 10:15:08.621] [DEBUG] – send /tmp/tmp5chnyelo to /home/admin/obagent/conf/agentctl.yaml
[2024-06-19 10:15:08.661] [DEBUG] - admin@172.28.65.xxx execute: chmod 600 /home/admin/obagent/conf/agentctl.yaml
[2024-06-19 10:15:08.805] [DEBUG] - exited code 0
[2024-06-19 10:15:08.805] [DEBUG] – admin@172.28.65.xxx execute: chmod 755 /home/admin/obagent/conf/agentctl.yaml
[2024-06-19 10:15:08.989] [DEBUG] – exited code 0
[2024-06-19 10:15:08.989] [DEBUG] – admin@172.28.65.xxx execute: cd /home/admin/obagent;/home/admin/obagent/bin/ob_agentctl config -u agent.log.path=log/monagent.log,agent.http.basic.auth.username=admin,agent.http.basic.auth.password=root,ocp.agent.manager.http.port=18089,mgragent.log.maxsize.mb=30,ocp.agent.monitor.http.port=18088,monagent.ob.monitor.password=ThuL7FHdcEkuTO9Xm5kqCauh8h8e89CwF1ilCklEj/U=,monagent.ob.sql.port=4881,monagent.ob.rpc.port=4882,monagent.ob.cluster.name=ob_nj1_obkv,monagent.ob.cluster.id=20230732,monagent.ob.zone.name=zone1,monagent.log.level=info,monagent.pipeline.ob.status=active,obagent.home.path=/home/admin/obagent,mgragent.log.level=INFO,mgragent.log.maxage.days=7,monagent.log.maxsize.mb=30,monagent.log.maxage.days=7,monagent.host.ip=172.28.65.xxx && touch /home/admin/obagent/.configured
[2024-06-19 10:15:09.200] [DEBUG] – exited code 255, error output:
[2024-06-19 10:15:09.200] [DEBUG] {“successful”:false,“message”:null,“error”:“key-value pair monagent.ob.monitor.password=xxx is not a valid key=value formatted.”}
[2024-06-19 10:15:09.200] [ERROR] failed to set config to 172.28.65.xxx obagent.
[2024-06-19 10:15:09.200] [DEBUG] - sub start ref count to 0
[2024-06-19 10:15:09.201] [DEBUG] - export start
[2024-06-19 10:15:09.201] [DEBUG] - plugin obagent-py_script_start-1.3.0 result: False
[2024-06-19 10:15:09.201] [ERROR] obagent start failed
[2024-06-19 10:15:09.204] [INFO] See OceanBase分布式数据库-海量数据 笔笔算数 .
[2024-06-19 10:15:09.204] [INFO] Trace ID: bd4af53e-2de1-11ef-806c-58c7acca34ba
[2024-06-19 10:15:09.204] [INFO] If you want to view detailed obd logs, please run: obd display-trace bd4af53e-2de1-11ef-806c-58c7acca34ba
[2024-06-19 10:15:09.204] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 0
[2024-06-19 10:15:09.205] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo
[2024-06-19 10:15:09.205] [DEBUG] - exclusive lock /root/.obd/lock/deploy_ob_nj1_obkv_2_agent_only release, count 0
[2024-06-19 10:15:09.205] [DEBUG] - unlock /root/.obd/lock/deploy_ob_nj1_obkv_2_agent_only
[2024-06-19 10:15:09.205] [DEBUG] - share lock /root/.obd/lock/global release, count 0
[2024-06-19 10:15:09.205] [DEBUG] - unlock /root/.obd/lock/global
[2024-06-19 10:15:09.321] [INFO] [ERROR] failed to set config to 172.28.65.xxx obagent.
[2024-06-19 10:15:09.321] [INFO] [ERROR] obagent start failed
[2024-06-19 10:15:09.321] [INFO] See OceanBase分布式数据库-海量数据 笔笔算数 .
[2024-06-19 10:15:09.321] [INFO] Trace ID: bd4af53e-2de1-11ef-806c-58c7acca34ba
[2024-06-19 10:15:09.321] [INFO] If you want to view detailed obd logs, please run: obd display-trace bd4af53e-2de1-11ef-806c-58c7acca34ba
[2024-06-19 10:15:09.321] [INFO]