2023-02-27T14:55:23.33555+08:00 INFO [46387,bd87adfa2d83e7d5] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.24.150] 2023-02-27T14:55:23.33827+08:00 INFO [46387,bd87adfa2d83e7d5] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.24.150] 2023-02-27T14:55:23.33934+08:00 INFO [46387,bd87adfa2d83e7d5] caller=sdk/mgragent_callbacks.go:47:func3: module mgragent.basic.auth init config successfully 2023-02-27T14:55:23.3394+08:00 INFO [46387,bd87adfa2d83e7d5] caller=common/middleware_auth.go:30:InitBasicAuthConf: init module mgragent.basic.auth config end 2023-02-27T14:55:23.34009+08:00 INFO [46387,] caller=cleaner/cleaner.go:48:startOBCleaner: start ob cleaner 2023-02-27T14:55:23.34014+08:00 WARN [46387,] caller=cleaner/cleaner.go:51:startOBCleaner: ob cleaner is disabled 2023-02-27T14:55:23.34246+08:00 INFO [46387,bd87adfa2d83e7d5] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-02-27T14:55:23.34306+08:00 INFO [46387,bd87adfa2d83e7d5] caller=mgragent/main.go:40:run: starting ocp manager agent, version 3.3.0-20220427 2023-02-27T14:55:23.3431+08:00 INFO [46387,bd87adfa2d83e7d5] caller=mgragent/main.go:41:run: agent running in release mode 2023-02-27T14:55:23.34442+08:00 INFO [46387,bd87adfa2d83e7d5] caller=runtime/asm_amd64.s:1371:goexit: check config version backups once. 2023-02-27T14:55:23.3447+08:00 INFO [46387,bd87adfa2d83e7d5] caller=config/config_version.go:89:checkConfigVersionBackups: read config from path /home/admin/ocp_agent/conf, files length 9 2023-02-27T14:55:23.34479+08:00 INFO [46387,bd87adfa2d83e7d5] caller=config/config_version.go:105:checkConfigVersionBackups: config stay count:30, config version count:1, no need to rotate. 2023-02-27T14:55:25.79648+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, body=] 2023-02-27T14:55:25.79656+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, duration=2.593µs, status=200, data=2023-02-27 14:55:25.796541656 +0800 CST m=+2.494834215] 2023-02-27T14:55:26.06759+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, body={"processName":"ocp_mgragent"}] 2023-02-27T14:55:26.12228+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="274.711µs" 2023-02-27T14:55:26.14831+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=26.302608ms 2023-02-27T14:55:26.14842+08:00 INFO [46387,72a436e6e4334e1a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4121}]" 2023-02-27T14:55:26.1486+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, duration=80.910606ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4121}]}] 2023-02-27T14:55:26.18911+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, body={"processName":"ocp_monagent"}] 2023-02-27T14:55:26.24198+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="65.07µs" 2023-02-27T14:55:26.26493+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.012095ms 2023-02-27T14:55:26.26499+08:00 INFO [46387,72a436e6e4334e1a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4241}]" 2023-02-27T14:55:26.26506+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, duration=75.829957ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4241}]}] 2023-02-27T14:55:26.29909+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, body={"processName":"ocp_agentd"}] 2023-02-27T14:55:26.35314+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="191.128µs" 2023-02-27T14:55:26.38094+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=27.987893ms 2023-02-27T14:55:26.38104+08:00 INFO [46387,72a436e6e4334e1a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352}]" 2023-02-27T14:55:26.38113+08:00 INFO [46387,72a436e6e4334e1a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72a436e6e4334e1a, duration=81.927388ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352}]}] 2023-02-27T14:56:21.16965+08:00 INFO [46387,7bf8953b5dc2bdbb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7bf8953b5dc2bdbb, body=] 2023-02-27T14:56:21.16973+08:00 INFO [46387,7bf8953b5dc2bdbb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7bf8953b5dc2bdbb, duration=3.303µs, status=200, data=2023-02-27 14:56:21.16972127 +0800 CST m=+57.868013843] 2023-02-27T14:56:21.2315+08:00 INFO [46387,fd73613f17a677c5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fd73613f17a677c5, body={"processName":"ocp_mgragent"}] 2023-02-27T14:56:21.27434+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="69.783µs" 2023-02-27T14:56:21.29792+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.649961ms 2023-02-27T14:56:21.298+08:00 INFO [46387,fd73613f17a677c5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 59274}]" 2023-02-27T14:56:21.29807+08:00 INFO [46387,fd73613f17a677c5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fd73613f17a677c5, duration=66.459351ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 59274}]}] 2023-02-27T14:56:21.43711+08:00 INFO [46387,c84e82d6a1898335] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c84e82d6a1898335, body={"processName":"ocp_monagent"}] 2023-02-27T14:56:21.48136+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="53.572µs" 2023-02-27T14:56:21.50472+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.415382ms 2023-02-27T14:56:21.50494+08:00 INFO [46387,c84e82d6a1898335] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 59481}]" 2023-02-27T14:56:21.50505+08:00 INFO [46387,c84e82d6a1898335] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c84e82d6a1898335, duration=67.841946ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 59481}]}] 2023-02-27T14:56:21.55481+08:00 INFO [46387,f4489e83257f07a4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f4489e83257f07a4, body={"processName":"ocp_agentd"}] 2023-02-27T14:56:21.60501+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="63.306µs" 2023-02-27T14:56:21.62766+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.715229ms 2023-02-27T14:56:21.62775+08:00 INFO [46387,f4489e83257f07a4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 59604}]" 2023-02-27T14:56:21.62785+08:00 INFO [46387,f4489e83257f07a4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f4489e83257f07a4, duration=72.936627ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 59604}]}] 2023-02-27T14:56:21.68158+08:00 INFO [46387,4d678f4bfb8a01c3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4d678f4bfb8a01c3, body=] 2023-02-27T14:56:21.68164+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T14:56:21.68171+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T14:56:21.68174+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T14:56:21.6853+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T14:56:21.68541+08:00 INFO [46387,4d678f4bfb8a01c3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4d678f4bfb8a01c3, duration=3.723443ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T14:56:52.48288+08:00 INFO [46387,e465b3836c284a4c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e465b3836c284a4c, body={"processName":"observer"}] 2023-02-27T14:56:52.53837+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22861/' || true; }, timeout=10s} fields: duration="67.923µs" 2023-02-27T14:56:52.5959+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22861/' || true; }, timeout=10s} fields: duration=57.599552ms 2023-02-27T14:56:52.59607+08:00 INFO [46387,e465b3836c284a4c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 22861, name: observer, cmdLine: /home/admin/oceanbase/bin/observer -r 10.251.24.150:2882:2881 -o __min_full_resource_pool_memory=268435456,enable_syslog_recycle=True,enable_syslog_wf=True,max_syslog_file_count=4,memory_limit=36G,system_memory=18G,cpu_count=16,datafile_size=74G -z zone1 -p 2881 -P 2882 -n obcluster -c 1 -d /data/1 -i ens160 -l INFO, username: admin, createTime: 2023-02-27 14:28:01 +0800 CST, elapsedTime: 1731538}]" 2023-02-27T14:56:52.59621+08:00 INFO [46387,e465b3836c284a4c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e465b3836c284a4c, duration=113.040786ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22861, name: observer, cmdLine: /home/admin/oceanbase/bin/observer -r 10.251.24.150:2882:2881 -o __min_full_resource_pool_memory=268435456,enable_syslog_recycle=True,enable_syslog_wf=True,max_syslog_file_count=4,memory_limit=36G,system_memory=18G,cpu_count=16,datafile_size=74G -z zone1 -p 2881 -P 2882 -n obcluster -c 1 -d /data/1 -i ens160 -l INFO, username: admin, createTime: 2023-02-27 14:28:01 +0800 CST, elapsedTime: 1731538}]}] 2023-02-27T14:57:21.75406+08:00 INFO [46387,316bab4022e27471] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=316bab4022e27471, body=] 2023-02-27T14:57:21.75415+08:00 INFO [46387,316bab4022e27471] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=316bab4022e27471, duration=3.568µs, status=200, data=2023-02-27 14:57:21.754133294 +0800 CST m=+118.452425867] 2023-02-27T14:57:21.80397+08:00 INFO [46387,b90cd99b3ad60d73] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b90cd99b3ad60d73, body={"processName":"ocp_mgragent"}] 2023-02-27T14:57:21.84603+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="203.482µs" 2023-02-27T14:57:21.86841+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.589779ms 2023-02-27T14:57:21.86849+08:00 INFO [46387,b90cd99b3ad60d73] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 119845}]" 2023-02-27T14:57:21.86858+08:00 INFO [46387,b90cd99b3ad60d73] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b90cd99b3ad60d73, duration=64.503713ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 119845}]}] 2023-02-27T14:57:21.91635+08:00 INFO [46387,df86e7e597b8f73a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=df86e7e597b8f73a, body={"processName":"ocp_monagent"}] 2023-02-27T14:57:21.96213+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="62.675µs" 2023-02-27T14:57:21.98542+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.354255ms 2023-02-27T14:57:21.98552+08:00 INFO [46387,df86e7e597b8f73a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 119961}]" 2023-02-27T14:57:21.98562+08:00 INFO [46387,df86e7e597b8f73a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=df86e7e597b8f73a, duration=69.160155ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 119961}]}] 2023-02-27T14:57:22.02401+08:00 INFO [46387,c334c92962170b99] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c334c92962170b99, body={"processName":"ocp_agentd"}] 2023-02-27T14:57:22.06331+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="72.18µs" 2023-02-27T14:57:22.08583+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.591291ms 2023-02-27T14:57:22.08592+08:00 INFO [46387,c334c92962170b99] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 120063}]" 2023-02-27T14:57:22.08602+08:00 INFO [46387,c334c92962170b99] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c334c92962170b99, duration=61.9224ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 120063}]}] 2023-02-27T14:57:22.13418+08:00 INFO [46387,6e0ea0ec58ae4cff] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6e0ea0ec58ae4cff, body=] 2023-02-27T14:57:22.13427+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T14:57:22.13432+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T14:57:22.13433+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T14:57:22.13689+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T14:57:22.13696+08:00 INFO [46387,6e0ea0ec58ae4cff] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6e0ea0ec58ae4cff, duration=2.666757ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T14:58:22.19738+08:00 INFO [46387,635735653af6b002] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=635735653af6b002, body=] 2023-02-27T14:58:22.19749+08:00 INFO [46387,635735653af6b002] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=635735653af6b002, duration=3.419µs, status=200, data=2023-02-27 14:58:22.197473528 +0800 CST m=+178.895766089] 2023-02-27T14:58:22.26821+08:00 INFO [46387,27b99754687610b3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=27b99754687610b3, body={"processName":"ocp_mgragent"}] 2023-02-27T14:58:22.32264+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="222.582µs" 2023-02-27T14:58:22.34637+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.955781ms 2023-02-27T14:58:22.34644+08:00 INFO [46387,27b99754687610b3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 180322}]" 2023-02-27T14:58:22.34651+08:00 INFO [46387,27b99754687610b3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=27b99754687610b3, duration=78.220909ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 180322}]}] 2023-02-27T14:58:22.42099+08:00 INFO [46387,90a7597af5a4cbda] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=90a7597af5a4cbda, body={"processName":"ocp_monagent"}] 2023-02-27T14:58:22.46724+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="54.151µs" 2023-02-27T14:58:22.49049+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.299971ms 2023-02-27T14:58:22.49057+08:00 INFO [46387,90a7597af5a4cbda] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 180467}]" 2023-02-27T14:58:22.49068+08:00 INFO [46387,90a7597af5a4cbda] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=90a7597af5a4cbda, duration=69.609427ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 180467}]}] 2023-02-27T14:58:22.53917+08:00 INFO [46387,f8063c8211e3337d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f8063c8211e3337d, body={"processName":"ocp_agentd"}] 2023-02-27T14:58:22.58014+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="215.353µs" 2023-02-27T14:58:22.60341+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.47804ms 2023-02-27T14:58:22.60348+08:00 INFO [46387,f8063c8211e3337d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 180579}]" 2023-02-27T14:58:22.60354+08:00 INFO [46387,f8063c8211e3337d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f8063c8211e3337d, duration=64.301676ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 180579}]}] 2023-02-27T14:58:22.65768+08:00 INFO [46387,8db27f17f95319c0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8db27f17f95319c0, body=] 2023-02-27T14:58:22.65774+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T14:58:22.65781+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T14:58:22.65784+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T14:58:22.66667+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T14:58:22.66676+08:00 INFO [46387,8db27f17f95319c0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8db27f17f95319c0, duration=8.999974ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T14:59:22.71013+08:00 INFO [46387,f8f40851fa08e484] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f8f40851fa08e484, body=] 2023-02-27T14:59:22.71024+08:00 INFO [46387,f8f40851fa08e484] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f8f40851fa08e484, duration=4.463µs, status=200, data=2023-02-27 14:59:22.710221688 +0800 CST m=+239.408514249] 2023-02-27T14:59:22.76266+08:00 INFO [46387,fefa905f78881428] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fefa905f78881428, body={"processName":"ocp_mgragent"}] 2023-02-27T14:59:22.80194+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="168.287µs" 2023-02-27T14:59:22.82896+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=27.188086ms 2023-02-27T14:59:22.82905+08:00 INFO [46387,fefa905f78881428] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 240801}]" 2023-02-27T14:59:22.82914+08:00 INFO [46387,fefa905f78881428] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fefa905f78881428, duration=66.361466ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 240801}]}] 2023-02-27T14:59:22.8699+08:00 INFO [46387,b9266ac91ea7ea25] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b9266ac91ea7ea25, body={"processName":"ocp_monagent"}] 2023-02-27T14:59:22.91208+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="65.034µs" 2023-02-27T14:59:22.93427+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.25386ms 2023-02-27T14:59:22.93437+08:00 INFO [46387,b9266ac91ea7ea25] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 240911}]" 2023-02-27T14:59:22.93445+08:00 INFO [46387,b9266ac91ea7ea25] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b9266ac91ea7ea25, duration=64.360387ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 240911}]}] 2023-02-27T14:59:22.97683+08:00 INFO [46387,e2b90824253de4f2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e2b90824253de4f2, body={"processName":"ocp_agentd"}] 2023-02-27T14:59:23.02265+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="59.004µs" 2023-02-27T14:59:23.04675+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.16165ms 2023-02-27T14:59:23.04684+08:00 INFO [46387,e2b90824253de4f2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 241022}]" 2023-02-27T14:59:23.04692+08:00 INFO [46387,e2b90824253de4f2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e2b90824253de4f2, duration=70.01204ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 241022}]}] 2023-02-27T14:59:23.09649+08:00 INFO [46387,00c365ea70654184] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=00c365ea70654184, body=] 2023-02-27T14:59:23.09655+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T14:59:23.09658+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T14:59:23.09663+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T14:59:23.09931+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T14:59:23.0994+08:00 INFO [46387,00c365ea70654184] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=00c365ea70654184, duration=2.834015ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:01:14.05329+08:00 INFO [46387,8ad5c1a7fb7d498c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8ad5c1a7fb7d498c, body={"processName":"observer"}] 2023-02-27T15:01:14.0966+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration="292.969µs" 2023-02-27T15:01:14.15176+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration=55.45494ms 2023-02-27T15:01:14.15186+08:00 INFO [46387,8ad5c1a7fb7d498c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 60096}]" 2023-02-27T15:01:14.15203+08:00 INFO [46387,8ad5c1a7fb7d498c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8ad5c1a7fb7d498c, duration=98.631999ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 60096}]}] 2023-02-27T15:01:25.40903+08:00 INFO [46387,1dac015cafcd44ed] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1dac015cafcd44ed, body={"processName":"observer"}] 2023-02-27T15:01:25.46027+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration="75.222µs" 2023-02-27T15:01:25.50864+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration=48.448099ms 2023-02-27T15:01:25.50874+08:00 INFO [46387,1dac015cafcd44ed] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 71460}]" 2023-02-27T15:01:25.50884+08:00 INFO [46387,1dac015cafcd44ed] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1dac015cafcd44ed, duration=99.718664ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 71460}]}] 2023-02-27T15:01:27.16052+08:00 INFO [46387,3f25a30248aa4bcd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3f25a30248aa4bcd, body=] 2023-02-27T15:01:27.16065+08:00 INFO [46387,3f25a30248aa4bcd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3f25a30248aa4bcd, duration=5.206µs, status=200, data=2023-02-27 15:01:27.160621326 +0800 CST m=+363.858913892] 2023-02-27T15:01:27.23193+08:00 INFO [46387,6872c19093c866d8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6872c19093c866d8, body={"processName":"ocp_mgragent"}] 2023-02-27T15:01:27.27577+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="274.099µs" 2023-02-27T15:01:27.30351+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=27.997934ms 2023-02-27T15:01:27.30361+08:00 INFO [46387,6872c19093c866d8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 365275}]" 2023-02-27T15:01:27.30384+08:00 INFO [46387,6872c19093c866d8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6872c19093c866d8, duration=71.668558ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 365275}]}] 2023-02-27T15:01:27.43551+08:00 INFO [46387,96ebcb2f9b59d6fb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=96ebcb2f9b59d6fb, body={"processName":"ocp_monagent"}] 2023-02-27T15:01:27.47448+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="41.237µs" 2023-02-27T15:01:27.49762+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.179812ms 2023-02-27T15:01:27.49768+08:00 INFO [46387,96ebcb2f9b59d6fb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 365474}]" 2023-02-27T15:01:27.49775+08:00 INFO [46387,96ebcb2f9b59d6fb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=96ebcb2f9b59d6fb, duration=62.15447ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 365474}]}] 2023-02-27T15:01:27.55399+08:00 INFO [46387,7eaca83991902cd6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7eaca83991902cd6, body={"processName":"ocp_agentd"}] 2023-02-27T15:01:27.59972+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="169.661µs" 2023-02-27T15:01:27.62951+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=29.95512ms 2023-02-27T15:01:27.62961+08:00 INFO [46387,7eaca83991902cd6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 365599}]" 2023-02-27T15:01:27.6297+08:00 INFO [46387,7eaca83991902cd6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7eaca83991902cd6, duration=75.58006ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 365599}]}] 2023-02-27T15:01:27.68915+08:00 INFO [46387,016461c8e848dc24] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=016461c8e848dc24, body=] 2023-02-27T15:01:27.68923+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:01:27.68928+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:01:27.68932+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:01:27.69237+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:01:27.69246+08:00 INFO [46387,016461c8e848dc24] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=016461c8e848dc24, duration=3.194073ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:02:27.73839+08:00 INFO [46387,a91870c6d2afcd57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a91870c6d2afcd57, body=] 2023-02-27T15:02:27.73849+08:00 INFO [46387,a91870c6d2afcd57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a91870c6d2afcd57, duration=3.465µs, status=200, data=2023-02-27 15:02:27.738470134 +0800 CST m=+424.436762693] 2023-02-27T15:02:27.80198+08:00 INFO [46387,a002f2f7e860902d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a002f2f7e860902d, body={"processName":"ocp_mgragent"}] 2023-02-27T15:02:27.84758+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="96.379µs" 2023-02-27T15:02:27.87271+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.226274ms 2023-02-27T15:02:27.87282+08:00 INFO [46387,a002f2f7e860902d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 425847}]" 2023-02-27T15:02:27.87292+08:00 INFO [46387,a002f2f7e860902d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a002f2f7e860902d, duration=70.852325ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 425847}]}] 2023-02-27T15:02:27.92794+08:00 INFO [46387,1de701ded6641ef0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1de701ded6641ef0, body={"processName":"ocp_monagent"}] 2023-02-27T15:02:27.97348+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="72.87µs" 2023-02-27T15:02:28.00354+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=30.128757ms 2023-02-27T15:02:28.00362+08:00 INFO [46387,1de701ded6641ef0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 425973}]" 2023-02-27T15:02:28.00369+08:00 INFO [46387,1de701ded6641ef0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1de701ded6641ef0, duration=75.661474ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 425973}]}] 2023-02-27T15:02:28.04956+08:00 INFO [46387,4cf37a421fe2d862] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4cf37a421fe2d862, body={"processName":"ocp_agentd"}] 2023-02-27T15:02:28.0937+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="39.741µs" 2023-02-27T15:02:28.11961+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.948178ms 2023-02-27T15:02:28.1197+08:00 INFO [46387,4cf37a421fe2d862] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 426093}]" 2023-02-27T15:02:28.1198+08:00 INFO [46387,4cf37a421fe2d862] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4cf37a421fe2d862, duration=70.108007ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 426093}]}] 2023-02-27T15:02:28.19207+08:00 INFO [46387,a34faa24d02102fc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a34faa24d02102fc, body=] 2023-02-27T15:02:28.19213+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:02:28.19217+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:02:28.1922+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:02:28.19584+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:02:28.19604+08:00 INFO [46387,a34faa24d02102fc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a34faa24d02102fc, duration=3.876129ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:03:28.24161+08:00 INFO [46387,1231bdc0c8de6d59] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1231bdc0c8de6d59, body=] 2023-02-27T15:03:28.24214+08:00 INFO [46387,1231bdc0c8de6d59] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1231bdc0c8de6d59, duration=2.643µs, status=200, data=2023-02-27 15:03:28.241701833 +0800 CST m=+484.939994395] 2023-02-27T15:03:28.28873+08:00 INFO [46387,032c3e427f7e3f0a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=032c3e427f7e3f0a, body={"processName":"ocp_mgragent"}] 2023-02-27T15:03:28.32999+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="75.728µs" 2023-02-27T15:03:28.35787+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=27.960725ms 2023-02-27T15:03:28.35797+08:00 INFO [46387,032c3e427f7e3f0a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 486329}]" 2023-02-27T15:03:28.35807+08:00 INFO [46387,032c3e427f7e3f0a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=032c3e427f7e3f0a, duration=69.220317ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 486329}]}] 2023-02-27T15:03:28.40494+08:00 INFO [46387,78e807fa67f079a3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=78e807fa67f079a3, body={"processName":"ocp_monagent"}] 2023-02-27T15:03:28.44707+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="59.861µs" 2023-02-27T15:03:28.47013+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.127995ms 2023-02-27T15:03:28.47021+08:00 INFO [46387,78e807fa67f079a3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 486446}]" 2023-02-27T15:03:28.47029+08:00 INFO [46387,78e807fa67f079a3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=78e807fa67f079a3, duration=65.238382ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 486446}]}] 2023-02-27T15:03:28.50475+08:00 INFO [46387,4966b28cc6d2bbc4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4966b28cc6d2bbc4, body={"processName":"ocp_agentd"}] 2023-02-27T15:03:28.54824+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="73.712µs" 2023-02-27T15:03:28.57375+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.580784ms 2023-02-27T15:03:28.57382+08:00 INFO [46387,4966b28cc6d2bbc4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 486548}]" 2023-02-27T15:03:28.57388+08:00 INFO [46387,4966b28cc6d2bbc4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4966b28cc6d2bbc4, duration=69.032924ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 486548}]}] 2023-02-27T15:03:28.6253+08:00 INFO [46387,e812f702c80ab3ba] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e812f702c80ab3ba, body=] 2023-02-27T15:03:28.62537+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:03:28.6254+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:03:28.62542+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:03:28.62807+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:03:28.62819+08:00 INFO [46387,e812f702c80ab3ba] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e812f702c80ab3ba, duration=2.801765ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:04:28.6588+08:00 INFO [46387,6e99661264c41020] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6e99661264c41020, body=] 2023-02-27T15:04:28.65893+08:00 INFO [46387,6e99661264c41020] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6e99661264c41020, duration=4.899µs, status=200, data=2023-02-27 15:04:28.658910852 +0800 CST m=+545.357203420] 2023-02-27T15:04:28.70045+08:00 INFO [46387,9f3bd23c3b7881ae] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9f3bd23c3b7881ae, body={"processName":"ocp_mgragent"}] 2023-02-27T15:04:28.73822+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="80.469µs" 2023-02-27T15:04:28.76149+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.353295ms 2023-02-27T15:04:28.76162+08:00 INFO [46387,9f3bd23c3b7881ae] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 546738}]" 2023-02-27T15:04:28.76172+08:00 INFO [46387,9f3bd23c3b7881ae] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9f3bd23c3b7881ae, duration=61.159351ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 546738}]}] 2023-02-27T15:04:28.79805+08:00 INFO [46387,2627113b237c1254] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2627113b237c1254, body={"processName":"ocp_monagent"}] 2023-02-27T15:04:28.83991+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="195.23µs" 2023-02-27T15:04:28.86144+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.728239ms 2023-02-27T15:04:28.86152+08:00 INFO [46387,2627113b237c1254] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 546839}]" 2023-02-27T15:04:28.86159+08:00 INFO [46387,2627113b237c1254] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2627113b237c1254, duration=63.446354ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 546839}]}] 2023-02-27T15:04:28.89422+08:00 INFO [46387,d39c8b41c9e60bc3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d39c8b41c9e60bc3, body={"processName":"ocp_agentd"}] 2023-02-27T15:04:28.934+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="105.193µs" 2023-02-27T15:04:28.95752+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.629427ms 2023-02-27T15:04:28.9581+08:00 INFO [46387,d39c8b41c9e60bc3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 546933}]" 2023-02-27T15:04:28.9582+08:00 INFO [46387,d39c8b41c9e60bc3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d39c8b41c9e60bc3, duration=63.863771ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 546933}]}] 2023-02-27T15:04:29.00307+08:00 INFO [46387,d15e9073095e9251] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d15e9073095e9251, body=] 2023-02-27T15:04:29.00315+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:04:29.0032+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:04:29.00322+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:04:29.00632+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:04:29.0064+08:00 INFO [46387,d15e9073095e9251] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d15e9073095e9251, duration=3.226626ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:05:29.03997+08:00 INFO [46387,6f4ec6a387225e4d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6f4ec6a387225e4d, body=] 2023-02-27T15:05:29.04006+08:00 INFO [46387,6f4ec6a387225e4d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6f4ec6a387225e4d, duration=2.779µs, status=200, data=2023-02-27 15:05:29.040050109 +0800 CST m=+605.738342677] 2023-02-27T15:05:29.08682+08:00 INFO [46387,78817b94ffc2a924] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=78817b94ffc2a924, body={"processName":"ocp_mgragent"}] 2023-02-27T15:05:29.13102+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="100.455µs" 2023-02-27T15:05:29.1534+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.48503ms 2023-02-27T15:05:29.15348+08:00 INFO [46387,78817b94ffc2a924] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 607130}]" 2023-02-27T15:05:29.15357+08:00 INFO [46387,78817b94ffc2a924] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=78817b94ffc2a924, duration=66.637316ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 607130}]}] 2023-02-27T15:05:29.18967+08:00 INFO [46387,3f6970ae9886dd23] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3f6970ae9886dd23, body={"processName":"ocp_monagent"}] 2023-02-27T15:05:29.22928+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="66.529µs" 2023-02-27T15:05:29.2514+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.183228ms 2023-02-27T15:05:29.25147+08:00 INFO [46387,3f6970ae9886dd23] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 607229}]" 2023-02-27T15:05:29.25154+08:00 INFO [46387,3f6970ae9886dd23] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3f6970ae9886dd23, duration=61.751488ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 607229}]}] 2023-02-27T15:05:29.2851+08:00 INFO [46387,75a30fc56858102b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=75a30fc56858102b, body={"processName":"ocp_agentd"}] 2023-02-27T15:05:29.32493+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="60.323µs" 2023-02-27T15:05:29.34592+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.045371ms 2023-02-27T15:05:29.34598+08:00 INFO [46387,75a30fc56858102b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 607324}]" 2023-02-27T15:05:29.34605+08:00 INFO [46387,75a30fc56858102b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=75a30fc56858102b, duration=60.863467ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 607324}]}] 2023-02-27T15:05:29.39405+08:00 INFO [46387,fdd627146c9cb7b9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fdd627146c9cb7b9, body=] 2023-02-27T15:05:29.39412+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:05:29.39416+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:05:29.39417+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:05:29.39636+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:05:29.39643+08:00 INFO [46387,fdd627146c9cb7b9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fdd627146c9cb7b9, duration=2.302572ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:06:29.43506+08:00 INFO [46387,2519448c57f25e8e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2519448c57f25e8e, body=] 2023-02-27T15:06:29.43515+08:00 INFO [46387,2519448c57f25e8e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2519448c57f25e8e, duration=3.474µs, status=200, data=2023-02-27 15:06:29.43513794 +0800 CST m=+666.133430500] 2023-02-27T15:06:29.48426+08:00 INFO [46387,66ae5a28b964a2b2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=66ae5a28b964a2b2, body={"processName":"ocp_mgragent"}] 2023-02-27T15:06:29.52495+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="49.543µs" 2023-02-27T15:06:29.54718+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.281915ms 2023-02-27T15:06:29.54725+08:00 INFO [46387,66ae5a28b964a2b2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 667524}]" 2023-02-27T15:06:29.54733+08:00 INFO [46387,66ae5a28b964a2b2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=66ae5a28b964a2b2, duration=62.992008ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 667524}]}] 2023-02-27T15:06:29.59036+08:00 INFO [46387,26dfb022c4122a8a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=26dfb022c4122a8a, body={"processName":"ocp_monagent"}] 2023-02-27T15:06:29.62946+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="52.175µs" 2023-02-27T15:06:29.65031+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=20.897865ms 2023-02-27T15:06:29.65039+08:00 INFO [46387,26dfb022c4122a8a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 667629}]" 2023-02-27T15:06:29.65048+08:00 INFO [46387,26dfb022c4122a8a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=26dfb022c4122a8a, duration=60.029821ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 667629}]}] 2023-02-27T15:06:29.68575+08:00 INFO [46387,58b9dd5b758973ec] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=58b9dd5b758973ec, body={"processName":"ocp_agentd"}] 2023-02-27T15:06:29.72733+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="233.613µs" 2023-02-27T15:06:29.74926+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.152334ms 2023-02-27T15:06:29.74932+08:00 INFO [46387,58b9dd5b758973ec] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 667727}]" 2023-02-27T15:06:29.74948+08:00 INFO [46387,58b9dd5b758973ec] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=58b9dd5b758973ec, duration=63.549182ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 667727}]}] 2023-02-27T15:06:29.7938+08:00 INFO [46387,c10f2f6dca9affb2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c10f2f6dca9affb2, body=] 2023-02-27T15:06:29.79386+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:06:29.7939+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:06:29.79392+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:06:29.79675+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:06:29.79683+08:00 INFO [46387,c10f2f6dca9affb2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c10f2f6dca9affb2, duration=2.948121ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:07:29.83028+08:00 INFO [46387,4dcaed6bb9a55122] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4dcaed6bb9a55122, body=] 2023-02-27T15:07:29.83038+08:00 INFO [46387,4dcaed6bb9a55122] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4dcaed6bb9a55122, duration=4.379µs, status=200, data=2023-02-27 15:07:29.830361029 +0800 CST m=+726.528653608] 2023-02-27T15:07:29.87501+08:00 INFO [46387,d75f8c0950c79fd5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d75f8c0950c79fd5, body={"processName":"ocp_mgragent"}] 2023-02-27T15:07:29.9134+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="57.59µs" 2023-02-27T15:07:29.93706+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.71416ms 2023-02-27T15:07:29.93714+08:00 INFO [46387,d75f8c0950c79fd5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 727913}]" 2023-02-27T15:07:29.93723+08:00 INFO [46387,d75f8c0950c79fd5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d75f8c0950c79fd5, duration=62.127261ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 727913}]}] 2023-02-27T15:07:29.97589+08:00 INFO [46387,c1aabf917bf24308] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c1aabf917bf24308, body={"processName":"ocp_monagent"}] 2023-02-27T15:07:30.01832+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="198.733µs" 2023-02-27T15:07:30.04252+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.392561ms 2023-02-27T15:07:30.04259+08:00 INFO [46387,c1aabf917bf24308] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 728018}]" 2023-02-27T15:07:30.04267+08:00 INFO [46387,c1aabf917bf24308] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c1aabf917bf24308, duration=66.694451ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 728018}]}] 2023-02-27T15:07:30.07952+08:00 INFO [46387,f0e817fbe869bf4a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f0e817fbe869bf4a, body={"processName":"ocp_agentd"}] 2023-02-27T15:07:30.11504+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="166.734µs" 2023-02-27T15:07:30.13655+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.679943ms 2023-02-27T15:07:30.13661+08:00 INFO [46387,f0e817fbe869bf4a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 728114}]" 2023-02-27T15:07:30.13668+08:00 INFO [46387,f0e817fbe869bf4a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f0e817fbe869bf4a, duration=57.075772ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 728114}]}] 2023-02-27T15:07:30.188+08:00 INFO [46387,441f9b7d875af94f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=441f9b7d875af94f, body=] 2023-02-27T15:07:30.18806+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:07:30.1881+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:07:30.18811+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:07:30.19048+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:07:30.19057+08:00 INFO [46387,441f9b7d875af94f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=441f9b7d875af94f, duration=2.47503ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:08:30.22821+08:00 INFO [46387,203d236604d0e13b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=203d236604d0e13b, body=] 2023-02-27T15:08:30.22833+08:00 INFO [46387,203d236604d0e13b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=203d236604d0e13b, duration=3.894µs, status=200, data=2023-02-27 15:08:30.228306775 +0800 CST m=+786.926599346] 2023-02-27T15:08:30.27173+08:00 INFO [46387,ecdf76443e267242] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ecdf76443e267242, body={"processName":"ocp_mgragent"}] 2023-02-27T15:08:30.30863+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="176.128µs" 2023-02-27T15:08:30.33132+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.87042ms 2023-02-27T15:08:30.3314+08:00 INFO [46387,ecdf76443e267242] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 788308}]" 2023-02-27T15:08:30.3315+08:00 INFO [46387,ecdf76443e267242] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ecdf76443e267242, duration=59.665525ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 788308}]}] 2023-02-27T15:08:30.36316+08:00 INFO [46387,c1879a8884adfc8b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c1879a8884adfc8b, body={"processName":"ocp_monagent"}] 2023-02-27T15:08:30.40314+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="257.186µs" 2023-02-27T15:08:30.42653+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.650374ms 2023-02-27T15:08:30.4266+08:00 INFO [46387,c1879a8884adfc8b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 788402}]" 2023-02-27T15:08:30.42667+08:00 INFO [46387,c1879a8884adfc8b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c1879a8884adfc8b, duration=63.425755ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 788402}]}] 2023-02-27T15:08:30.46577+08:00 INFO [46387,4864842b92e31536] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4864842b92e31536, body={"processName":"ocp_agentd"}] 2023-02-27T15:08:30.50494+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="191.846µs" 2023-02-27T15:08:30.52732+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.576219ms 2023-02-27T15:08:30.52741+08:00 INFO [46387,4864842b92e31536] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 788504}]" 2023-02-27T15:08:30.5275+08:00 INFO [46387,4864842b92e31536] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4864842b92e31536, duration=61.630645ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 788504}]}] 2023-02-27T15:08:30.57443+08:00 INFO [46387,fde89a926857e16b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fde89a926857e16b, body=] 2023-02-27T15:08:30.5745+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:08:30.57457+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:08:30.57459+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:08:30.57722+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:08:30.57737+08:00 INFO [46387,fde89a926857e16b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fde89a926857e16b, duration=2.840973ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:09:30.60738+08:00 INFO [46387,f2b9c6af08a0b658] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f2b9c6af08a0b658, body=] 2023-02-27T15:09:30.60746+08:00 INFO [46387,f2b9c6af08a0b658] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f2b9c6af08a0b658, duration=2.669µs, status=200, data=2023-02-27 15:09:30.607450726 +0800 CST m=+847.305743285] 2023-02-27T15:09:30.65264+08:00 INFO [46387,de4ba120d6281251] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=de4ba120d6281251, body={"processName":"ocp_mgragent"}] 2023-02-27T15:09:30.69017+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="199.424µs" 2023-02-27T15:09:30.7102+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=20.225539ms 2023-02-27T15:09:30.71028+08:00 INFO [46387,de4ba120d6281251] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 848689}]" 2023-02-27T15:09:30.71038+08:00 INFO [46387,de4ba120d6281251] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=de4ba120d6281251, duration=57.64045ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 848689}]}] 2023-02-27T15:09:30.75369+08:00 INFO [46387,a73e4e3f85bb52d2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a73e4e3f85bb52d2, body={"processName":"ocp_monagent"}] 2023-02-27T15:09:30.79312+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="272.287µs" 2023-02-27T15:09:30.81447+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.62021ms 2023-02-27T15:09:30.81453+08:00 INFO [46387,a73e4e3f85bb52d2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 848792}]" 2023-02-27T15:09:30.8146+08:00 INFO [46387,a73e4e3f85bb52d2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a73e4e3f85bb52d2, duration=60.810608ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 848792}]}] 2023-02-27T15:09:30.84654+08:00 INFO [46387,f95df0241ab1da7a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f95df0241ab1da7a, body={"processName":"ocp_agentd"}] 2023-02-27T15:09:30.8832+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="110.737µs" 2023-02-27T15:09:30.90439+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.302981ms 2023-02-27T15:09:30.90447+08:00 INFO [46387,f95df0241ab1da7a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 848883}]" 2023-02-27T15:09:30.90456+08:00 INFO [46387,f95df0241ab1da7a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f95df0241ab1da7a, duration=57.940511ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 848883}]}] 2023-02-27T15:09:30.94536+08:00 INFO [46387,fc428b2429f77ef3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fc428b2429f77ef3, body=] 2023-02-27T15:09:30.94543+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:09:30.94546+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:09:30.94548+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:09:30.94795+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:09:30.94804+08:00 INFO [46387,fc428b2429f77ef3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fc428b2429f77ef3, duration=2.589262ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:10:30.97834+08:00 INFO [46387,93d606cf3bff7de8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=93d606cf3bff7de8, body=] 2023-02-27T15:10:30.97845+08:00 INFO [46387,93d606cf3bff7de8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=93d606cf3bff7de8, duration=4.08µs, status=200, data=2023-02-27 15:10:30.978430099 +0800 CST m=+907.676722675] 2023-02-27T15:10:31.0352+08:00 INFO [46387,9128f1fc0860e68e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9128f1fc0860e68e, body={"processName":"ocp_mgragent"}] 2023-02-27T15:10:31.07467+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="68.144µs" 2023-02-27T15:10:31.09416+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=19.558472ms 2023-02-27T15:10:31.09424+08:00 INFO [46387,9128f1fc0860e68e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 909074}]" 2023-02-27T15:10:31.09431+08:00 INFO [46387,9128f1fc0860e68e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9128f1fc0860e68e, duration=59.005179ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 909074}]}] 2023-02-27T15:10:31.12665+08:00 INFO [46387,ea1beec86d42285a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ea1beec86d42285a, body={"processName":"ocp_monagent"}] 2023-02-27T15:10:31.16503+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="83.269µs" 2023-02-27T15:10:31.18588+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=20.93431ms 2023-02-27T15:10:31.18594+08:00 INFO [46387,ea1beec86d42285a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 909164}]" 2023-02-27T15:10:31.18601+08:00 INFO [46387,ea1beec86d42285a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ea1beec86d42285a, duration=59.276104ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 909164}]}] 2023-02-27T15:10:31.22303+08:00 INFO [46387,0365764d277e03ee] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0365764d277e03ee, body={"processName":"ocp_agentd"}] 2023-02-27T15:10:31.26833+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="69.033µs" 2023-02-27T15:10:31.28929+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.02524ms 2023-02-27T15:10:31.28938+08:00 INFO [46387,0365764d277e03ee] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 909268}]" 2023-02-27T15:10:31.28945+08:00 INFO [46387,0365764d277e03ee] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0365764d277e03ee, duration=66.343182ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 909268}]}] 2023-02-27T15:10:31.33938+08:00 INFO [46387,6d6f820e9580e7e6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d6f820e9580e7e6, body=] 2023-02-27T15:10:31.33945+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:10:31.3395+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:10:31.33952+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:10:31.34224+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:10:31.34233+08:00 INFO [46387,6d6f820e9580e7e6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d6f820e9580e7e6, duration=2.857251ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:11:31.37386+08:00 INFO [46387,bd7132b184e20c08] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bd7132b184e20c08, body=] 2023-02-27T15:11:31.37395+08:00 INFO [46387,bd7132b184e20c08] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bd7132b184e20c08, duration=3.953µs, status=200, data=2023-02-27 15:11:31.373933887 +0800 CST m=+968.072226458] 2023-02-27T15:11:31.41747+08:00 INFO [46387,69d4bb5c3f463630] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=69d4bb5c3f463630, body={"processName":"ocp_mgragent"}] 2023-02-27T15:11:31.45457+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="48.752µs" 2023-02-27T15:11:31.47603+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.511627ms 2023-02-27T15:11:31.47612+08:00 INFO [46387,69d4bb5c3f463630] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 969454}]" 2023-02-27T15:11:31.47619+08:00 INFO [46387,69d4bb5c3f463630] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=69d4bb5c3f463630, duration=58.638008ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 969454}]}] 2023-02-27T15:11:31.50916+08:00 INFO [46387,3bf2cdf3a0844853] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3bf2cdf3a0844853, body={"processName":"ocp_monagent"}] 2023-02-27T15:11:31.54662+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="54.827µs" 2023-02-27T15:11:31.56829+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.730358ms 2023-02-27T15:11:31.56836+08:00 INFO [46387,3bf2cdf3a0844853] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 969546}]" 2023-02-27T15:11:31.56845+08:00 INFO [46387,3bf2cdf3a0844853] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3bf2cdf3a0844853, duration=59.194107ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 969546}]}] 2023-02-27T15:11:31.60328+08:00 INFO [46387,bab256514932596f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bab256514932596f, body={"processName":"ocp_agentd"}] 2023-02-27T15:11:31.64961+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="68.585µs" 2023-02-27T15:11:31.67137+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.828242ms 2023-02-27T15:11:31.67145+08:00 INFO [46387,bab256514932596f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 969649}]" 2023-02-27T15:11:31.67154+08:00 INFO [46387,bab256514932596f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bab256514932596f, duration=68.169043ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 969649}]}] 2023-02-27T15:11:31.72118+08:00 INFO [46387,3171fe67579a6eaf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3171fe67579a6eaf, body=] 2023-02-27T15:11:31.72126+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:11:31.72132+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:11:31.72133+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:11:31.72403+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:11:31.72412+08:00 INFO [46387,3171fe67579a6eaf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3171fe67579a6eaf, duration=2.840579ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:12:31.75399+08:00 INFO [46387,f08fdbbd81792f26] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f08fdbbd81792f26, body=] 2023-02-27T15:12:31.75408+08:00 INFO [46387,f08fdbbd81792f26] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f08fdbbd81792f26, duration=4.788µs, status=200, data=2023-02-27 15:12:31.75406138 +0800 CST m=+1028.452353939] 2023-02-27T15:12:31.79684+08:00 INFO [46387,3ee6817332dfa962] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3ee6817332dfa962, body={"processName":"ocp_mgragent"}] 2023-02-27T15:12:31.83335+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="78.702µs" 2023-02-27T15:12:31.85545+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.225856ms 2023-02-27T15:12:31.85568+08:00 INFO [46387,3ee6817332dfa962] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1029832}]" 2023-02-27T15:12:31.85575+08:00 INFO [46387,3ee6817332dfa962] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3ee6817332dfa962, duration=58.837226ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1029832}]}] 2023-02-27T15:12:31.90249+08:00 INFO [46387,772db7e605e8169c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=772db7e605e8169c, body={"processName":"ocp_monagent"}] 2023-02-27T15:12:31.94535+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="52.14µs" 2023-02-27T15:12:31.96692+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.616011ms 2023-02-27T15:12:31.96699+08:00 INFO [46387,772db7e605e8169c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1029945}]" 2023-02-27T15:12:31.96706+08:00 INFO [46387,772db7e605e8169c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=772db7e605e8169c, duration=64.473131ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1029945}]}] 2023-02-27T15:12:31.99875+08:00 INFO [46387,d9cfa3f2899a2d87] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d9cfa3f2899a2d87, body={"processName":"ocp_agentd"}] 2023-02-27T15:12:32.03515+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="60.329µs" 2023-02-27T15:12:32.0564+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.311262ms 2023-02-27T15:12:32.05648+08:00 INFO [46387,d9cfa3f2899a2d87] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1030034}]" 2023-02-27T15:12:32.05658+08:00 INFO [46387,d9cfa3f2899a2d87] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d9cfa3f2899a2d87, duration=57.738961ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1030034}]}] 2023-02-27T15:12:32.09643+08:00 INFO [46387,8fd00bae718c45f4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8fd00bae718c45f4, body=] 2023-02-27T15:12:32.0965+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:12:32.09654+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:12:32.09657+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:12:32.09925+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:12:32.09932+08:00 INFO [46387,8fd00bae718c45f4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8fd00bae718c45f4, duration=2.794076ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:13:32.13974+08:00 INFO [46387,a329bf33a7cd02b8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a329bf33a7cd02b8, body=] 2023-02-27T15:13:32.13983+08:00 INFO [46387,a329bf33a7cd02b8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a329bf33a7cd02b8, duration=4.298µs, status=200, data=2023-02-27 15:13:32.139814028 +0800 CST m=+1088.838106587] 2023-02-27T15:13:32.17724+08:00 INFO [46387,cbb026cfe74275d7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cbb026cfe74275d7, body={"processName":"ocp_mgragent"}] 2023-02-27T15:13:32.21583+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="65.1µs" 2023-02-27T15:13:32.23742+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.657664ms 2023-02-27T15:13:32.23749+08:00 INFO [46387,cbb026cfe74275d7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1090215}]" 2023-02-27T15:13:32.23756+08:00 INFO [46387,cbb026cfe74275d7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cbb026cfe74275d7, duration=60.240677ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1090215}]}] 2023-02-27T15:13:32.27557+08:00 INFO [46387,f03d89bd8733806f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f03d89bd8733806f, body={"processName":"ocp_monagent"}] 2023-02-27T15:13:32.31611+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="100.335µs" 2023-02-27T15:13:32.3388+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.78322ms 2023-02-27T15:13:32.33886+08:00 INFO [46387,f03d89bd8733806f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1090315}]" 2023-02-27T15:13:32.33893+08:00 INFO [46387,f03d89bd8733806f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f03d89bd8733806f, duration=63.257376ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1090315}]}] 2023-02-27T15:13:32.3729+08:00 INFO [46387,35185cc07a11402b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=35185cc07a11402b, body={"processName":"ocp_agentd"}] 2023-02-27T15:13:32.41641+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="77.58µs" 2023-02-27T15:13:32.43908+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.746146ms 2023-02-27T15:13:32.43914+08:00 INFO [46387,35185cc07a11402b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1090416}]" 2023-02-27T15:13:32.43921+08:00 INFO [46387,35185cc07a11402b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=35185cc07a11402b, duration=66.220202ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1090416}]}] 2023-02-27T15:13:32.48013+08:00 INFO [46387,e9c13eb45b0bfa99] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e9c13eb45b0bfa99, body=] 2023-02-27T15:13:32.48019+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:13:32.48023+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:13:32.48024+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:13:32.48455+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:13:32.48464+08:00 INFO [46387,e9c13eb45b0bfa99] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e9c13eb45b0bfa99, duration=4.425686ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:14:32.52005+08:00 INFO [46387,219ad01c6d5c56a9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=219ad01c6d5c56a9, body=] 2023-02-27T15:14:32.52013+08:00 INFO [46387,219ad01c6d5c56a9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=219ad01c6d5c56a9, duration=2.859µs, status=200, data=2023-02-27 15:14:32.520112253 +0800 CST m=+1149.218404812] 2023-02-27T15:14:32.56712+08:00 INFO [46387,3b6b61c2f04f9cbd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3b6b61c2f04f9cbd, body={"processName":"ocp_mgragent"}] 2023-02-27T15:14:32.6093+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="69.141µs" 2023-02-27T15:14:32.63067+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.441809ms 2023-02-27T15:14:32.63076+08:00 INFO [46387,3b6b61c2f04f9cbd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1150609}]" 2023-02-27T15:14:32.63087+08:00 INFO [46387,3b6b61c2f04f9cbd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3b6b61c2f04f9cbd, duration=63.652855ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1150609}]}] 2023-02-27T15:14:32.66226+08:00 INFO [46387,f3a6b7241f4a511a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f3a6b7241f4a511a, body={"processName":"ocp_monagent"}] 2023-02-27T15:14:32.70073+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="138.258µs" 2023-02-27T15:14:32.72191+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.315693ms 2023-02-27T15:14:32.72198+08:00 INFO [46387,f3a6b7241f4a511a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1150700}]" 2023-02-27T15:14:32.72205+08:00 INFO [46387,f3a6b7241f4a511a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f3a6b7241f4a511a, duration=59.711993ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1150700}]}] 2023-02-27T15:14:32.75704+08:00 INFO [46387,82c9f59ed00a5dd4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=82c9f59ed00a5dd4, body={"processName":"ocp_agentd"}] 2023-02-27T15:14:32.79558+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="122.377µs" 2023-02-27T15:14:32.82184+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=26.378478ms 2023-02-27T15:14:32.82194+08:00 INFO [46387,82c9f59ed00a5dd4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1150795}]" 2023-02-27T15:14:32.82203+08:00 INFO [46387,82c9f59ed00a5dd4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=82c9f59ed00a5dd4, duration=64.917981ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1150795}]}] 2023-02-27T15:14:32.87144+08:00 INFO [46387,7ebc7ade55d5f31a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7ebc7ade55d5f31a, body=] 2023-02-27T15:14:32.87158+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:14:32.87162+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:14:32.87164+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:14:32.87559+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:14:32.87567+08:00 INFO [46387,7ebc7ade55d5f31a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7ebc7ade55d5f31a, duration=4.077058ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:15:32.91184+08:00 INFO [46387,1598700fd4b0b5b4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1598700fd4b0b5b4, body=] 2023-02-27T15:15:32.91193+08:00 INFO [46387,1598700fd4b0b5b4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1598700fd4b0b5b4, duration=3.637µs, status=200, data=2023-02-27 15:15:32.911918588 +0800 CST m=+1209.610211159] 2023-02-27T15:15:32.96317+08:00 INFO [46387,6ab20b9c666ee1d9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6ab20b9c666ee1d9, body={"processName":"ocp_mgragent"}] 2023-02-27T15:15:33.01018+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="67.972µs" 2023-02-27T15:15:33.04128+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=31.173102ms 2023-02-27T15:15:33.04136+08:00 INFO [46387,6ab20b9c666ee1d9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1211009}]" 2023-02-27T15:15:33.04148+08:00 INFO [46387,6ab20b9c666ee1d9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6ab20b9c666ee1d9, duration=78.180004ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1211009}]}] 2023-02-27T15:15:33.08666+08:00 INFO [46387,4d18c671b5ef2381] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4d18c671b5ef2381, body={"processName":"ocp_monagent"}] 2023-02-27T15:15:33.12583+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="239.828µs" 2023-02-27T15:15:33.15413+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=28.527144ms 2023-02-27T15:15:33.15423+08:00 INFO [46387,4d18c671b5ef2381] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1211125}]" 2023-02-27T15:15:33.15435+08:00 INFO [46387,4d18c671b5ef2381] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4d18c671b5ef2381, duration=67.568948ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1211125}]}] 2023-02-27T15:15:33.19393+08:00 INFO [46387,9dd4654056e0ce13] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9dd4654056e0ce13, body={"processName":"ocp_agentd"}] 2023-02-27T15:15:33.23841+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="205.373µs" 2023-02-27T15:15:33.26194+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.739057ms 2023-02-27T15:15:33.26203+08:00 INFO [46387,9dd4654056e0ce13] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1211238}]" 2023-02-27T15:15:33.26218+08:00 INFO [46387,9dd4654056e0ce13] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9dd4654056e0ce13, duration=68.105131ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1211238}]}] 2023-02-27T15:15:33.31984+08:00 INFO [46387,42e7d9f74b35b464] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=42e7d9f74b35b464, body=] 2023-02-27T15:15:33.31989+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:15:33.31994+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:15:33.31996+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:15:33.32367+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:15:33.32374+08:00 INFO [46387,42e7d9f74b35b464] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=42e7d9f74b35b464, duration=3.824781ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:16:33.35194+08:00 INFO [46387,3e20a89330c2d099] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3e20a89330c2d099, body=] 2023-02-27T15:16:33.35205+08:00 INFO [46387,3e20a89330c2d099] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3e20a89330c2d099, duration=4.01µs, status=200, data=2023-02-27 15:16:33.35202708 +0800 CST m=+1270.050319649] 2023-02-27T15:16:33.3915+08:00 INFO [46387,e89d176cdd83a02d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e89d176cdd83a02d, body={"processName":"ocp_mgragent"}] 2023-02-27T15:16:33.44125+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="96.94µs" 2023-02-27T15:16:33.46589+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.741425ms 2023-02-27T15:16:33.46605+08:00 INFO [46387,e89d176cdd83a02d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1271441}]" 2023-02-27T15:16:33.46613+08:00 INFO [46387,e89d176cdd83a02d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e89d176cdd83a02d, duration=74.548652ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1271441}]}] 2023-02-27T15:16:33.50209+08:00 INFO [46387,cc7d36d824075d73] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cc7d36d824075d73, body={"processName":"ocp_monagent"}] 2023-02-27T15:16:33.54323+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="63.281µs" 2023-02-27T15:16:33.56575+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.588741ms 2023-02-27T15:16:33.56585+08:00 INFO [46387,cc7d36d824075d73] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1271543}]" 2023-02-27T15:16:33.56593+08:00 INFO [46387,cc7d36d824075d73] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cc7d36d824075d73, duration=63.753373ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1271543}]}] 2023-02-27T15:16:33.59776+08:00 INFO [46387,3e939ae91a7401de] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3e939ae91a7401de, body={"processName":"ocp_agentd"}] 2023-02-27T15:16:33.63269+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="36.896µs" 2023-02-27T15:16:33.65421+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.558726ms 2023-02-27T15:16:33.65428+08:00 INFO [46387,3e939ae91a7401de] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1271632}]" 2023-02-27T15:16:33.65435+08:00 INFO [46387,3e939ae91a7401de] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3e939ae91a7401de, duration=56.507097ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1271632}]}] 2023-02-27T15:16:33.70302+08:00 INFO [46387,ccef5663cff5bc24] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ccef5663cff5bc24, body=] 2023-02-27T15:16:33.70308+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:16:33.70312+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:16:33.70314+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:16:33.7063+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:16:33.70641+08:00 INFO [46387,ccef5663cff5bc24] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ccef5663cff5bc24, duration=3.294882ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:17:33.73999+08:00 INFO [46387,e45b6de4158c916a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e45b6de4158c916a, body=] 2023-02-27T15:17:33.74007+08:00 INFO [46387,e45b6de4158c916a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e45b6de4158c916a, duration=4.59µs, status=200, data=2023-02-27 15:17:33.740053174 +0800 CST m=+1330.438345735] 2023-02-27T15:17:33.77842+08:00 INFO [46387,3fb2237bbaea61f2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3fb2237bbaea61f2, body={"processName":"ocp_mgragent"}] 2023-02-27T15:17:33.81891+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="82.37µs" 2023-02-27T15:17:33.8409+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.068711ms 2023-02-27T15:17:33.84099+08:00 INFO [46387,3fb2237bbaea61f2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1331818}]" 2023-02-27T15:17:33.84106+08:00 INFO [46387,3fb2237bbaea61f2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3fb2237bbaea61f2, duration=62.544782ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1331818}]}] 2023-02-27T15:17:33.88102+08:00 INFO [46387,7a65443034a934e9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7a65443034a934e9, body={"processName":"ocp_monagent"}] 2023-02-27T15:17:33.92327+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=1.302594ms 2023-02-27T15:17:33.94416+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.192794ms 2023-02-27T15:17:33.94424+08:00 INFO [46387,7a65443034a934e9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1331921}]" 2023-02-27T15:17:33.94432+08:00 INFO [46387,7a65443034a934e9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7a65443034a934e9, duration=63.217866ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1331921}]}] 2023-02-27T15:17:33.97838+08:00 INFO [46387,0455c0bec65693c3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0455c0bec65693c3, body={"processName":"ocp_agentd"}] 2023-02-27T15:17:34.0249+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="99.354µs" 2023-02-27T15:17:34.04959+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.784924ms 2023-02-27T15:17:34.04989+08:00 INFO [46387,0455c0bec65693c3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1332024}]" 2023-02-27T15:17:34.05022+08:00 INFO [46387,0455c0bec65693c3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0455c0bec65693c3, duration=71.686045ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1332024}]}] 2023-02-27T15:17:34.09848+08:00 INFO [46387,edb490d7d9a3e3b0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=edb490d7d9a3e3b0, body=] 2023-02-27T15:17:34.09853+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:17:34.09858+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:17:34.0986+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:17:34.10133+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:17:34.1014+08:00 INFO [46387,edb490d7d9a3e3b0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=edb490d7d9a3e3b0, duration=2.848919ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:18:34.13849+08:00 INFO [46387,576203f55763c3b4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=576203f55763c3b4, body=] 2023-02-27T15:18:34.1386+08:00 INFO [46387,576203f55763c3b4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=576203f55763c3b4, duration=3.344µs, status=200, data=2023-02-27 15:18:34.138578374 +0800 CST m=+1390.836870932] 2023-02-27T15:18:34.18829+08:00 INFO [46387,eb17aada649c246a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=eb17aada649c246a, body={"processName":"ocp_mgragent"}] 2023-02-27T15:18:34.22918+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="71.34µs" 2023-02-27T15:18:34.2513+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.189958ms 2023-02-27T15:18:34.2514+08:00 INFO [46387,eb17aada649c246a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1392229}]" 2023-02-27T15:18:34.2515+08:00 INFO [46387,eb17aada649c246a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=eb17aada649c246a, duration=63.102231ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1392229}]}] 2023-02-27T15:18:34.29788+08:00 INFO [46387,65ad52feb3bd0cae] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=65ad52feb3bd0cae, body={"processName":"ocp_monagent"}] 2023-02-27T15:18:34.3522+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="93.898µs" 2023-02-27T15:18:34.3752+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.109629ms 2023-02-27T15:18:34.37529+08:00 INFO [46387,65ad52feb3bd0cae] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1392352}]" 2023-02-27T15:18:34.37536+08:00 INFO [46387,65ad52feb3bd0cae] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=65ad52feb3bd0cae, duration=77.387518ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1392352}]}] 2023-02-27T15:18:34.40695+08:00 INFO [46387,6359812a6073a7ff] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6359812a6073a7ff, body={"processName":"ocp_agentd"}] 2023-02-27T15:18:34.45186+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="50.076µs" 2023-02-27T15:18:34.47353+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.722887ms 2023-02-27T15:18:34.4736+08:00 INFO [46387,6359812a6073a7ff] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1392451}]" 2023-02-27T15:18:34.47369+08:00 INFO [46387,6359812a6073a7ff] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6359812a6073a7ff, duration=66.639873ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1392451}]}] 2023-02-27T15:18:34.51828+08:00 INFO [46387,cb24b7a672a40123] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cb24b7a672a40123, body=] 2023-02-27T15:18:34.51835+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:18:34.51845+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:18:34.51847+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:18:34.52121+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:18:34.5214+08:00 INFO [46387,cb24b7a672a40123] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cb24b7a672a40123, duration=3.017195ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:19:34.55577+08:00 INFO [46387,b0fd7e00c6bce044] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b0fd7e00c6bce044, body=] 2023-02-27T15:19:34.55587+08:00 INFO [46387,b0fd7e00c6bce044] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b0fd7e00c6bce044, duration=3.921µs, status=200, data=2023-02-27 15:19:34.555859491 +0800 CST m=+1451.254152053] 2023-02-27T15:19:34.6032+08:00 INFO [46387,19ef9ca9534c1718] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=19ef9ca9534c1718, body={"processName":"ocp_mgragent"}] 2023-02-27T15:19:34.64621+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="88.876µs" 2023-02-27T15:19:34.67373+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=27.617404ms 2023-02-27T15:19:34.67383+08:00 INFO [46387,19ef9ca9534c1718] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1452646}]" 2023-02-27T15:19:34.67392+08:00 INFO [46387,19ef9ca9534c1718] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=19ef9ca9534c1718, duration=70.623899ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1452646}]}] 2023-02-27T15:19:34.71096+08:00 INFO [46387,ab168acfe6a3e34e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ab168acfe6a3e34e, body={"processName":"ocp_monagent"}] 2023-02-27T15:19:34.75687+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="270.789µs" 2023-02-27T15:19:34.78361+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=27.010618ms 2023-02-27T15:19:34.78371+08:00 INFO [46387,ab168acfe6a3e34e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1452756}]" 2023-02-27T15:19:34.78381+08:00 INFO [46387,ab168acfe6a3e34e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ab168acfe6a3e34e, duration=72.739096ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1452756}]}] 2023-02-27T15:19:34.81673+08:00 INFO [46387,d328a4a14425aa9b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d328a4a14425aa9b, body={"processName":"ocp_agentd"}] 2023-02-27T15:19:34.85812+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="59.079µs" 2023-02-27T15:19:34.88314+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.08209ms 2023-02-27T15:19:34.88322+08:00 INFO [46387,d328a4a14425aa9b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1452857}]" 2023-02-27T15:19:34.88332+08:00 INFO [46387,d328a4a14425aa9b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d328a4a14425aa9b, duration=66.485481ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1452857}]}] 2023-02-27T15:19:34.93545+08:00 INFO [46387,ee7e7f41e279bb0a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ee7e7f41e279bb0a, body=] 2023-02-27T15:19:34.93554+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:19:34.93574+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:19:34.93577+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:19:34.9383+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:19:34.93837+08:00 INFO [46387,ee7e7f41e279bb0a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ee7e7f41e279bb0a, duration=2.810125ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:20:34.97807+08:00 INFO [46387,951585b3fc834e85] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=951585b3fc834e85, body=] 2023-02-27T15:20:34.97816+08:00 INFO [46387,951585b3fc834e85] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=951585b3fc834e85, duration=4.163µs, status=200, data=2023-02-27 15:20:34.978144038 +0800 CST m=+1511.676436614] 2023-02-27T15:20:35.02409+08:00 INFO [46387,5512e215bd0cf2d4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5512e215bd0cf2d4, body={"processName":"ocp_mgragent"}] 2023-02-27T15:20:35.06285+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="210.733µs" 2023-02-27T15:20:35.08719+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.548008ms 2023-02-27T15:20:35.08727+08:00 INFO [46387,5512e215bd0cf2d4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1513062}]" 2023-02-27T15:20:35.08734+08:00 INFO [46387,5512e215bd0cf2d4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5512e215bd0cf2d4, duration=63.16213ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1513062}]}] 2023-02-27T15:20:35.13385+08:00 INFO [46387,b422ae9dc4186341] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b422ae9dc4186341, body={"processName":"ocp_monagent"}] 2023-02-27T15:20:35.17621+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="49.071µs" 2023-02-27T15:20:35.19731+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.148231ms 2023-02-27T15:20:35.19737+08:00 INFO [46387,b422ae9dc4186341] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1513176}]" 2023-02-27T15:20:35.19748+08:00 INFO [46387,b422ae9dc4186341] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b422ae9dc4186341, duration=63.533198ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1513176}]}] 2023-02-27T15:20:35.22957+08:00 INFO [46387,222d150855ee3812] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=222d150855ee3812, body={"processName":"ocp_agentd"}] 2023-02-27T15:20:35.27916+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="80.194µs" 2023-02-27T15:20:35.3048+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.724111ms 2023-02-27T15:20:35.30488+08:00 INFO [46387,222d150855ee3812] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1513279}]" 2023-02-27T15:20:35.305+08:00 INFO [46387,222d150855ee3812] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=222d150855ee3812, duration=75.336382ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1513279}]}] 2023-02-27T15:20:35.35147+08:00 INFO [46387,b5f5e3363b5d193c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b5f5e3363b5d193c, body=] 2023-02-27T15:20:35.35155+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:20:35.3516+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:20:35.35163+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:20:35.35507+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:20:35.35514+08:00 INFO [46387,b5f5e3363b5d193c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b5f5e3363b5d193c, duration=3.574338ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:21:35.38771+08:00 INFO [46387,15241f0e42db3326] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=15241f0e42db3326, body=] 2023-02-27T15:21:35.3878+08:00 INFO [46387,15241f0e42db3326] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=15241f0e42db3326, duration=3.433µs, status=200, data=2023-02-27 15:21:35.387769976 +0800 CST m=+1572.086062540] 2023-02-27T15:21:35.42801+08:00 INFO [46387,883e58c6f6d79843] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=883e58c6f6d79843, body={"processName":"ocp_mgragent"}] 2023-02-27T15:21:35.46563+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="47.157µs" 2023-02-27T15:21:35.48867+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.094152ms 2023-02-27T15:21:35.48874+08:00 INFO [46387,883e58c6f6d79843] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1573465}]" 2023-02-27T15:21:35.48919+08:00 INFO [46387,883e58c6f6d79843] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=883e58c6f6d79843, duration=60.755014ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1573465}]}] 2023-02-27T15:21:35.5322+08:00 INFO [46387,81f3a777b11893e1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=81f3a777b11893e1, body={"processName":"ocp_monagent"}] 2023-02-27T15:21:35.57777+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="90.207µs" 2023-02-27T15:21:35.60045+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.727475ms 2023-02-27T15:21:35.60052+08:00 INFO [46387,81f3a777b11893e1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1573577}]" 2023-02-27T15:21:35.6006+08:00 INFO [46387,81f3a777b11893e1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=81f3a777b11893e1, duration=68.279519ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1573577}]}] 2023-02-27T15:21:35.63451+08:00 INFO [46387,860ad7ccf5f084ac] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=860ad7ccf5f084ac, body={"processName":"ocp_agentd"}] 2023-02-27T15:21:35.67727+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="48.179µs" 2023-02-27T15:21:35.69836+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.137201ms 2023-02-27T15:21:35.69843+08:00 INFO [46387,860ad7ccf5f084ac] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1573677}]" 2023-02-27T15:21:35.69849+08:00 INFO [46387,860ad7ccf5f084ac] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=860ad7ccf5f084ac, duration=63.887859ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1573677}]}] 2023-02-27T15:21:35.74484+08:00 INFO [46387,537a784988fdc434] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=537a784988fdc434, body=] 2023-02-27T15:21:35.7449+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:21:35.74494+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:21:35.74498+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:21:35.74799+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:21:35.74807+08:00 INFO [46387,537a784988fdc434] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=537a784988fdc434, duration=3.148365ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:22:35.78301+08:00 INFO [46387,4e2cca4220e85897] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4e2cca4220e85897, body=] 2023-02-27T15:22:35.78309+08:00 INFO [46387,4e2cca4220e85897] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4e2cca4220e85897, duration=2.577µs, status=200, data=2023-02-27 15:22:35.783077517 +0800 CST m=+1632.481370075] 2023-02-27T15:22:35.82384+08:00 INFO [46387,a94ad565631ede4e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a94ad565631ede4e, body={"processName":"ocp_mgragent"}] 2023-02-27T15:22:35.86785+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="193.282µs" 2023-02-27T15:22:35.89641+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=28.754525ms 2023-02-27T15:22:35.89648+08:00 INFO [46387,a94ad565631ede4e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1633867}]" 2023-02-27T15:22:35.89655+08:00 INFO [46387,a94ad565631ede4e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a94ad565631ede4e, duration=72.618067ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1633867}]}] 2023-02-27T15:22:35.93697+08:00 INFO [46387,425138aa64a6ced8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=425138aa64a6ced8, body={"processName":"ocp_monagent"}] 2023-02-27T15:22:35.98142+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="53.396µs" 2023-02-27T15:22:36.00576+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.3981ms 2023-02-27T15:22:36.00588+08:00 INFO [46387,425138aa64a6ced8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1633981}]" 2023-02-27T15:22:36.00598+08:00 INFO [46387,425138aa64a6ced8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=425138aa64a6ced8, duration=68.922657ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1633981}]}] 2023-02-27T15:22:36.04932+08:00 INFO [46387,b1c1c14ff9ca8eef] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b1c1c14ff9ca8eef, body={"processName":"ocp_agentd"}] 2023-02-27T15:22:36.09341+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="60.273µs" 2023-02-27T15:22:36.11979+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=26.433873ms 2023-02-27T15:22:36.11985+08:00 INFO [46387,b1c1c14ff9ca8eef] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1634093}]" 2023-02-27T15:22:36.11991+08:00 INFO [46387,b1c1c14ff9ca8eef] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b1c1c14ff9ca8eef, duration=70.513532ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1634093}]}] 2023-02-27T15:22:36.16362+08:00 INFO [46387,14dba37922da1dc5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=14dba37922da1dc5, body=] 2023-02-27T15:22:36.16368+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:22:36.16372+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:22:36.16376+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:22:36.16601+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:22:36.16608+08:00 INFO [46387,14dba37922da1dc5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=14dba37922da1dc5, duration=2.377969ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:23:36.19955+08:00 INFO [46387,b0d72617db697248] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b0d72617db697248, body=] 2023-02-27T15:23:36.19965+08:00 INFO [46387,b0d72617db697248] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b0d72617db697248, duration=2.758µs, status=200, data=2023-02-27 15:23:36.199633546 +0800 CST m=+1692.897926106] 2023-02-27T15:23:36.24395+08:00 INFO [46387,e473f61f60ee2629] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e473f61f60ee2629, body={"processName":"ocp_mgragent"}] 2023-02-27T15:23:36.28582+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="82.874µs" 2023-02-27T15:23:36.30804+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.307358ms 2023-02-27T15:23:36.30811+08:00 INFO [46387,e473f61f60ee2629] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1694285}]" 2023-02-27T15:23:36.3086+08:00 INFO [46387,e473f61f60ee2629] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e473f61f60ee2629, duration=64.475471ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1694285}]}] 2023-02-27T15:23:36.34584+08:00 INFO [46387,43becf87a3e24d71] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=43becf87a3e24d71, body={"processName":"ocp_monagent"}] 2023-02-27T15:23:36.38359+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="59.131µs" 2023-02-27T15:23:36.40514+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.605824ms 2023-02-27T15:23:36.40521+08:00 INFO [46387,43becf87a3e24d71] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1694383}]" 2023-02-27T15:23:36.40528+08:00 INFO [46387,43becf87a3e24d71] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=43becf87a3e24d71, duration=59.340977ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1694383}]}] 2023-02-27T15:23:36.43914+08:00 INFO [46387,24c82cbc4bceedc8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=24c82cbc4bceedc8, body={"processName":"ocp_agentd"}] 2023-02-27T15:23:36.47963+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="160.719µs" 2023-02-27T15:23:36.50054+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.063687ms 2023-02-27T15:23:36.5006+08:00 INFO [46387,24c82cbc4bceedc8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1694479}]" 2023-02-27T15:23:36.50069+08:00 INFO [46387,24c82cbc4bceedc8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=24c82cbc4bceedc8, duration=61.462925ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1694479}]}] 2023-02-27T15:23:36.54089+08:00 INFO [46387,3135c942dbd78a13] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3135c942dbd78a13, body=] 2023-02-27T15:23:36.54094+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:23:36.54098+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:23:36.54101+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:23:36.54331+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:23:36.54336+08:00 INFO [46387,3135c942dbd78a13] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3135c942dbd78a13, duration=2.406212ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:24:36.5752+08:00 INFO [46387,e30d9d0c70e87d0e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e30d9d0c70e87d0e, body=] 2023-02-27T15:24:36.57531+08:00 INFO [46387,e30d9d0c70e87d0e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e30d9d0c70e87d0e, duration=5.014µs, status=200, data=2023-02-27 15:24:36.575293499 +0800 CST m=+1753.273586061] 2023-02-27T15:24:36.62246+08:00 INFO [46387,ab60c9a3ebc21dee] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ab60c9a3ebc21dee, body={"processName":"ocp_mgragent"}] 2023-02-27T15:24:36.66074+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="75.289µs" 2023-02-27T15:24:36.68418+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.519542ms 2023-02-27T15:24:36.68426+08:00 INFO [46387,ab60c9a3ebc21dee] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1754660}]" 2023-02-27T15:24:36.68433+08:00 INFO [46387,ab60c9a3ebc21dee] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ab60c9a3ebc21dee, duration=61.791757ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1754660}]}] 2023-02-27T15:24:36.72619+08:00 INFO [46387,98f7f3465506c93b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=98f7f3465506c93b, body={"processName":"ocp_monagent"}] 2023-02-27T15:24:36.76437+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="77.177µs" 2023-02-27T15:24:36.7873+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.012118ms 2023-02-27T15:24:36.78739+08:00 INFO [46387,98f7f3465506c93b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1754764}]" 2023-02-27T15:24:36.78746+08:00 INFO [46387,98f7f3465506c93b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=98f7f3465506c93b, duration=61.137146ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1754764}]}] 2023-02-27T15:24:36.82305+08:00 INFO [46387,36c61e5e25ebb6e5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=36c61e5e25ebb6e5, body={"processName":"ocp_agentd"}] 2023-02-27T15:24:36.86374+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="494.586µs" 2023-02-27T15:24:36.88551+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.263993ms 2023-02-27T15:24:36.88558+08:00 INFO [46387,36c61e5e25ebb6e5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1754863}]" 2023-02-27T15:24:36.88565+08:00 INFO [46387,36c61e5e25ebb6e5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=36c61e5e25ebb6e5, duration=62.508595ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1754863}]}] 2023-02-27T15:24:36.93271+08:00 INFO [46387,ebd507d98d315e1e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ebd507d98d315e1e, body=] 2023-02-27T15:24:36.9328+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:24:36.93284+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:24:36.9329+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:24:36.93556+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:24:36.93563+08:00 INFO [46387,ebd507d98d315e1e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ebd507d98d315e1e, duration=2.813644ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:25:36.96596+08:00 INFO [46387,56fa96dc5004ec00] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=56fa96dc5004ec00, body=] 2023-02-27T15:25:36.96605+08:00 INFO [46387,56fa96dc5004ec00] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=56fa96dc5004ec00, duration=3.348µs, status=200, data=2023-02-27 15:25:36.96601942 +0800 CST m=+1813.664311979] 2023-02-27T15:25:37.0082+08:00 INFO [46387,6a8ff659ab4015bb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6a8ff659ab4015bb, body={"processName":"ocp_mgragent"}] 2023-02-27T15:25:37.04716+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="50.899µs" 2023-02-27T15:25:37.07014+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.050539ms 2023-02-27T15:25:37.07027+08:00 INFO [46387,6a8ff659ab4015bb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1815047}]" 2023-02-27T15:25:37.07034+08:00 INFO [46387,6a8ff659ab4015bb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6a8ff659ab4015bb, duration=62.064484ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1815047}]}] 2023-02-27T15:25:37.10926+08:00 INFO [46387,d34854eb3c58f964] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d34854eb3c58f964, body={"processName":"ocp_monagent"}] 2023-02-27T15:25:37.15377+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="56.883µs" 2023-02-27T15:25:37.17988+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=26.169809ms 2023-02-27T15:25:37.17996+08:00 INFO [46387,d34854eb3c58f964] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1815153}]" 2023-02-27T15:25:37.18005+08:00 INFO [46387,d34854eb3c58f964] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d34854eb3c58f964, duration=70.705426ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1815153}]}] 2023-02-27T15:25:37.21949+08:00 INFO [46387,753c58a2d617cbde] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=753c58a2d617cbde, body={"processName":"ocp_agentd"}] 2023-02-27T15:25:37.26592+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="68.941µs" 2023-02-27T15:25:37.28907+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.222554ms 2023-02-27T15:25:37.28914+08:00 INFO [46387,753c58a2d617cbde] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1815265}]" 2023-02-27T15:25:37.2892+08:00 INFO [46387,753c58a2d617cbde] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=753c58a2d617cbde, duration=69.454717ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1815265}]}] 2023-02-27T15:25:37.33762+08:00 INFO [46387,262f5315f178b8d2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=262f5315f178b8d2, body=] 2023-02-27T15:25:37.33768+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:25:37.33771+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:25:37.33773+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:25:37.34015+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:25:37.34021+08:00 INFO [46387,262f5315f178b8d2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=262f5315f178b8d2, duration=2.510277ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:26:37.37632+08:00 INFO [46387,cb934590fd1b5955] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cb934590fd1b5955, body=] 2023-02-27T15:26:37.37645+08:00 INFO [46387,cb934590fd1b5955] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cb934590fd1b5955, duration=3.933µs, status=200, data=2023-02-27 15:26:37.376415931 +0800 CST m=+1874.074708501] 2023-02-27T15:26:37.42471+08:00 INFO [46387,81691d27823934de] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=81691d27823934de, body={"processName":"ocp_mgragent"}] 2023-02-27T15:26:37.46684+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="82.553µs" 2023-02-27T15:26:37.48905+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.296438ms 2023-02-27T15:26:37.48914+08:00 INFO [46387,81691d27823934de] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1875466}]" 2023-02-27T15:26:37.48922+08:00 INFO [46387,81691d27823934de] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=81691d27823934de, duration=64.393918ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1875466}]}] 2023-02-27T15:26:37.52001+08:00 INFO [46387,dc9917ee9de171ad] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc9917ee9de171ad, body={"processName":"ocp_monagent"}] 2023-02-27T15:26:37.56213+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="78.846µs" 2023-02-27T15:26:37.58603+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.964561ms 2023-02-27T15:26:37.58611+08:00 INFO [46387,dc9917ee9de171ad] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1875561}]" 2023-02-27T15:26:37.58619+08:00 INFO [46387,dc9917ee9de171ad] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc9917ee9de171ad, duration=66.085967ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1875561}]}] 2023-02-27T15:26:37.62131+08:00 INFO [46387,5a2233d4bf6caea4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5a2233d4bf6caea4, body={"processName":"ocp_agentd"}] 2023-02-27T15:26:37.66207+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="92.621µs" 2023-02-27T15:26:37.68693+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.95958ms 2023-02-27T15:26:37.68712+08:00 INFO [46387,5a2233d4bf6caea4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1875661}]" 2023-02-27T15:26:37.68721+08:00 INFO [46387,5a2233d4bf6caea4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5a2233d4bf6caea4, duration=65.818319ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1875661}]}] 2023-02-27T15:26:37.74215+08:00 INFO [46387,a663a6d00c3a61e2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a663a6d00c3a61e2, body=] 2023-02-27T15:26:37.74221+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:26:37.74227+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:26:37.74229+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:26:37.74476+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:26:37.74485+08:00 INFO [46387,a663a6d00c3a61e2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a663a6d00c3a61e2, duration=2.613196ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:27:37.78189+08:00 INFO [46387,771b3790dbe6e68a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=771b3790dbe6e68a, body=] 2023-02-27T15:27:37.78198+08:00 INFO [46387,771b3790dbe6e68a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=771b3790dbe6e68a, duration=3.784µs, status=200, data=2023-02-27 15:27:37.781963981 +0800 CST m=+1934.480256544] 2023-02-27T15:27:37.82851+08:00 INFO [46387,8070c39518d9f064] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8070c39518d9f064, body={"processName":"ocp_mgragent"}] 2023-02-27T15:27:37.86896+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="66.83µs" 2023-02-27T15:27:37.89271+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.812955ms 2023-02-27T15:27:37.89285+08:00 INFO [46387,8070c39518d9f064] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1935868}]" 2023-02-27T15:27:37.89293+08:00 INFO [46387,8070c39518d9f064] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8070c39518d9f064, duration=64.32574ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1935868}]}] 2023-02-27T15:27:37.93526+08:00 INFO [46387,68f630f65d602985] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=68f630f65d602985, body={"processName":"ocp_monagent"}] 2023-02-27T15:27:37.97684+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="60.493µs" 2023-02-27T15:27:37.99916+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.384298ms 2023-02-27T15:27:37.99923+08:00 INFO [46387,68f630f65d602985] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1935976}]" 2023-02-27T15:27:37.99929+08:00 INFO [46387,68f630f65d602985] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=68f630f65d602985, duration=63.892364ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1935976}]}] 2023-02-27T15:27:38.03296+08:00 INFO [46387,203f600d133a8e66] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=203f600d133a8e66, body={"processName":"ocp_agentd"}] 2023-02-27T15:27:38.07594+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="496.879µs" 2023-02-27T15:27:38.09975+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.307055ms 2023-02-27T15:27:38.09984+08:00 INFO [46387,203f600d133a8e66] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1936075}]" 2023-02-27T15:27:38.09993+08:00 INFO [46387,203f600d133a8e66] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=203f600d133a8e66, duration=66.886766ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1936075}]}] 2023-02-27T15:27:38.14486+08:00 INFO [46387,4f2d1eec63d0aa4f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4f2d1eec63d0aa4f, body=] 2023-02-27T15:27:38.14492+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:27:38.14496+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:27:38.14498+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:27:38.14752+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:27:38.14762+08:00 INFO [46387,4f2d1eec63d0aa4f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4f2d1eec63d0aa4f, duration=2.66662ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:28:38.17688+08:00 INFO [46387,6f12407a8d20f73e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6f12407a8d20f73e, body=] 2023-02-27T15:28:38.17702+08:00 INFO [46387,6f12407a8d20f73e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6f12407a8d20f73e, duration=3.421µs, status=200, data=2023-02-27 15:28:38.177002768 +0800 CST m=+1994.875295328] 2023-02-27T15:28:38.22115+08:00 INFO [46387,b33657fa51149d98] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b33657fa51149d98, body={"processName":"ocp_mgragent"}] 2023-02-27T15:28:38.26568+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="196.432µs" 2023-02-27T15:28:38.29051+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.02804ms 2023-02-27T15:28:38.29058+08:00 INFO [46387,b33657fa51149d98] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1996265}]" 2023-02-27T15:28:38.29066+08:00 INFO [46387,b33657fa51149d98] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b33657fa51149d98, duration=69.418683ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1996265}]}] 2023-02-27T15:28:38.32603+08:00 INFO [46387,013a57210a176699] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=013a57210a176699, body={"processName":"ocp_monagent"}] 2023-02-27T15:28:38.37025+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="170.018µs" 2023-02-27T15:28:38.39354+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.461937ms 2023-02-27T15:28:38.39364+08:00 INFO [46387,013a57210a176699] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1996369}]" 2023-02-27T15:28:38.39411+08:00 INFO [46387,013a57210a176699] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=013a57210a176699, duration=67.628485ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1996369}]}] 2023-02-27T15:28:38.43418+08:00 INFO [46387,79938b4db471bf6d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=79938b4db471bf6d, body={"processName":"ocp_agentd"}] 2023-02-27T15:28:38.47362+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="35.839µs" 2023-02-27T15:28:38.4974+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.812967ms 2023-02-27T15:28:38.49746+08:00 INFO [46387,79938b4db471bf6d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1996473}]" 2023-02-27T15:28:38.49804+08:00 INFO [46387,79938b4db471bf6d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=79938b4db471bf6d, duration=63.678462ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 1996473}]}] 2023-02-27T15:28:38.54331+08:00 INFO [46387,093a982a0d8739ee] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=093a982a0d8739ee, body=] 2023-02-27T15:28:38.54338+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:28:38.54347+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:28:38.54349+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:28:38.54611+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:28:38.54618+08:00 INFO [46387,093a982a0d8739ee] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=093a982a0d8739ee, duration=2.778468ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:29:38.57435+08:00 INFO [46387,7dfdbc027c1e31e7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7dfdbc027c1e31e7, body=] 2023-02-27T15:29:38.57445+08:00 INFO [46387,7dfdbc027c1e31e7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7dfdbc027c1e31e7, duration=2.663µs, status=200, data=2023-02-27 15:29:38.574429506 +0800 CST m=+2055.272722065] 2023-02-27T15:29:38.61572+08:00 INFO [46387,a950afd20e5b97d7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a950afd20e5b97d7, body={"processName":"ocp_mgragent"}] 2023-02-27T15:29:38.65362+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="39.397µs" 2023-02-27T15:29:38.67556+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.979692ms 2023-02-27T15:29:38.67564+08:00 INFO [46387,a950afd20e5b97d7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2056653}]" 2023-02-27T15:29:38.67576+08:00 INFO [46387,a950afd20e5b97d7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a950afd20e5b97d7, duration=59.902695ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2056653}]}] 2023-02-27T15:29:38.72153+08:00 INFO [46387,5867e5f20f95d7dc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5867e5f20f95d7dc, body={"processName":"ocp_monagent"}] 2023-02-27T15:29:38.76624+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="160.082µs" 2023-02-27T15:29:38.78869+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.601924ms 2023-02-27T15:29:38.7888+08:00 INFO [46387,5867e5f20f95d7dc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2056766}]" 2023-02-27T15:29:38.78891+08:00 INFO [46387,5867e5f20f95d7dc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5867e5f20f95d7dc, duration=67.282258ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2056766}]}] 2023-02-27T15:29:38.82547+08:00 INFO [46387,ceb989f00efc8db1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ceb989f00efc8db1, body={"processName":"ocp_agentd"}] 2023-02-27T15:29:38.86697+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="54.515µs" 2023-02-27T15:29:38.88864+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.720472ms 2023-02-27T15:29:38.88871+08:00 INFO [46387,ceb989f00efc8db1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2056866}]" 2023-02-27T15:29:38.88881+08:00 INFO [46387,ceb989f00efc8db1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ceb989f00efc8db1, duration=63.263928ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2056866}]}] 2023-02-27T15:29:38.93796+08:00 INFO [46387,d2e2ccb606505a95] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d2e2ccb606505a95, body=] 2023-02-27T15:29:38.93804+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:29:38.93809+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:29:38.93812+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:29:38.94075+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:29:38.94084+08:00 INFO [46387,d2e2ccb606505a95] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d2e2ccb606505a95, duration=2.779593ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:30:38.97439+08:00 INFO [46387,dc3642680e0e1196] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc3642680e0e1196, body=] 2023-02-27T15:30:38.9745+08:00 INFO [46387,dc3642680e0e1196] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc3642680e0e1196, duration=4.351µs, status=200, data=2023-02-27 15:30:38.974471464 +0800 CST m=+2115.672764028] 2023-02-27T15:30:39.01955+08:00 INFO [46387,e8be732cb1a49cbd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e8be732cb1a49cbd, body={"processName":"ocp_mgragent"}] 2023-02-27T15:30:39.06261+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="35.824µs" 2023-02-27T15:30:39.08739+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.816594ms 2023-02-27T15:30:39.08749+08:00 INFO [46387,e8be732cb1a49cbd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2117062}]" 2023-02-27T15:30:39.08757+08:00 INFO [46387,e8be732cb1a49cbd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e8be732cb1a49cbd, duration=67.931844ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2117062}]}] 2023-02-27T15:30:39.13414+08:00 INFO [46387,dc209740b2271932] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc209740b2271932, body={"processName":"ocp_monagent"}] 2023-02-27T15:30:39.17417+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="58.208µs" 2023-02-27T15:30:39.19936+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=25.254091ms 2023-02-27T15:30:39.19944+08:00 INFO [46387,dc209740b2271932] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2117174}]" 2023-02-27T15:30:39.1995+08:00 INFO [46387,dc209740b2271932] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc209740b2271932, duration=65.284259ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2117174}]}] 2023-02-27T15:30:39.23669+08:00 INFO [46387,94ebf3e158d27068] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=94ebf3e158d27068, body={"processName":"ocp_agentd"}] 2023-02-27T15:30:39.27666+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="67.127µs" 2023-02-27T15:30:39.29798+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.391938ms 2023-02-27T15:30:39.29805+08:00 INFO [46387,94ebf3e158d27068] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2117276}]" 2023-02-27T15:30:39.29811+08:00 INFO [46387,94ebf3e158d27068] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=94ebf3e158d27068, duration=61.333826ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2117276}]}] 2023-02-27T15:30:39.34185+08:00 INFO [46387,3fe59aa20d993269] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3fe59aa20d993269, body=] 2023-02-27T15:30:39.34196+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:30:39.34201+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:30:39.34203+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:30:39.34542+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:30:39.34552+08:00 INFO [46387,3fe59aa20d993269] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3fe59aa20d993269, duration=3.531791ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:31:39.38383+08:00 INFO [46387,8845b205abfe37fa] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8845b205abfe37fa, body=] 2023-02-27T15:31:39.38391+08:00 INFO [46387,8845b205abfe37fa] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8845b205abfe37fa, duration=3.422µs, status=200, data=2023-02-27 15:31:39.383896449 +0800 CST m=+2176.082189008] 2023-02-27T15:31:39.43524+08:00 INFO [46387,3232a6ef954223f2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3232a6ef954223f2, body={"processName":"ocp_mgragent"}] 2023-02-27T15:31:39.47824+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="38.431µs" 2023-02-27T15:31:39.49962+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.417381ms 2023-02-27T15:31:39.49971+08:00 INFO [46387,3232a6ef954223f2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2177478}]" 2023-02-27T15:31:39.49985+08:00 INFO [46387,3232a6ef954223f2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3232a6ef954223f2, duration=64.48285ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2177478}]}] 2023-02-27T15:31:39.54062+08:00 INFO [46387,4f16abe24ce93f8b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4f16abe24ce93f8b, body={"processName":"ocp_monagent"}] 2023-02-27T15:31:39.58826+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="98.335µs" 2023-02-27T15:31:39.61224+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.07573ms 2023-02-27T15:31:39.61234+08:00 INFO [46387,4f16abe24ce93f8b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2177588}]" 2023-02-27T15:31:39.61246+08:00 INFO [46387,4f16abe24ce93f8b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4f16abe24ce93f8b, duration=71.72585ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2177588}]}] 2023-02-27T15:31:39.64775+08:00 INFO [46387,31cce27e46ab3c29] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=31cce27e46ab3c29, body={"processName":"ocp_agentd"}] 2023-02-27T15:31:39.70259+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="74.882µs" 2023-02-27T15:31:39.72842+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.908175ms 2023-02-27T15:31:39.7285+08:00 INFO [46387,31cce27e46ab3c29] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2177702}]" 2023-02-27T15:31:39.72857+08:00 INFO [46387,31cce27e46ab3c29] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=31cce27e46ab3c29, duration=80.680306ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2177702}]}] 2023-02-27T15:31:39.79469+08:00 INFO [46387,9bd2a4f5cb30c1b5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9bd2a4f5cb30c1b5, body=] 2023-02-27T15:31:39.79475+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:31:39.7948+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:31:39.79482+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:31:39.79789+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:31:39.79801+08:00 INFO [46387,9bd2a4f5cb30c1b5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9bd2a4f5cb30c1b5, duration=3.224297ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:32:39.82888+08:00 INFO [46387,c337f6e1bf26ae3d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c337f6e1bf26ae3d, body=] 2023-02-27T15:32:39.82897+08:00 INFO [46387,c337f6e1bf26ae3d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c337f6e1bf26ae3d, duration=3.746µs, status=200, data=2023-02-27 15:32:39.828960761 +0800 CST m=+2236.527253331] 2023-02-27T15:32:39.87958+08:00 INFO [46387,24b120beb21a1a2a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=24b120beb21a1a2a, body={"processName":"ocp_mgragent"}] 2023-02-27T15:32:39.91983+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="92.351µs" 2023-02-27T15:32:39.94165+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.913469ms 2023-02-27T15:32:39.94174+08:00 INFO [46387,24b120beb21a1a2a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2237919}]" 2023-02-27T15:32:39.94182+08:00 INFO [46387,24b120beb21a1a2a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=24b120beb21a1a2a, duration=62.149266ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2237919}]}] 2023-02-27T15:32:39.97276+08:00 INFO [46387,2ec6f95a1303c277] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2ec6f95a1303c277, body={"processName":"ocp_monagent"}] 2023-02-27T15:32:40.02331+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="76.666µs" 2023-02-27T15:32:40.05128+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=28.051775ms 2023-02-27T15:32:40.05137+08:00 INFO [46387,2ec6f95a1303c277] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2238023}]" 2023-02-27T15:32:40.05146+08:00 INFO [46387,2ec6f95a1303c277] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2ec6f95a1303c277, duration=78.601726ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2238023}]}] 2023-02-27T15:32:40.10649+08:00 INFO [46387,af1d3123716e314d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=af1d3123716e314d, body={"processName":"ocp_agentd"}] 2023-02-27T15:32:40.15275+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="82.094µs" 2023-02-27T15:32:40.17689+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.218515ms 2023-02-27T15:32:40.17698+08:00 INFO [46387,af1d3123716e314d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2238152}]" 2023-02-27T15:32:40.17706+08:00 INFO [46387,af1d3123716e314d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=af1d3123716e314d, duration=70.418354ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2238152}]}] 2023-02-27T15:32:40.22698+08:00 INFO [46387,9e13ee86674487d9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9e13ee86674487d9, body=] 2023-02-27T15:32:40.22704+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:32:40.22707+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:32:40.2271+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:32:40.23045+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:32:40.23052+08:00 INFO [46387,9e13ee86674487d9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9e13ee86674487d9, duration=3.460043ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:33:40.26406+08:00 INFO [46387,a10cc00903842848] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a10cc00903842848, body=] 2023-02-27T15:33:40.26414+08:00 INFO [46387,a10cc00903842848] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a10cc00903842848, duration=2.859µs, status=200, data=2023-02-27 15:33:40.264124218 +0800 CST m=+2296.962416779] 2023-02-27T15:33:40.30792+08:00 INFO [46387,2f7a744d7b359a5d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2f7a744d7b359a5d, body={"processName":"ocp_mgragent"}] 2023-02-27T15:33:40.34853+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="88.13µs" 2023-02-27T15:33:40.3726+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.157461ms 2023-02-27T15:33:40.37268+08:00 INFO [46387,2f7a744d7b359a5d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2298348}]" 2023-02-27T15:33:40.37276+08:00 INFO [46387,2f7a744d7b359a5d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2f7a744d7b359a5d, duration=64.74987ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2298348}]}] 2023-02-27T15:33:40.41516+08:00 INFO [46387,7a649a8016d9fed0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7a649a8016d9fed0, body={"processName":"ocp_monagent"}] 2023-02-27T15:33:40.45312+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="80.093µs" 2023-02-27T15:33:40.47729+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.248245ms 2023-02-27T15:33:40.47736+08:00 INFO [46387,7a649a8016d9fed0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2298452}]" 2023-02-27T15:33:40.47742+08:00 INFO [46387,7a649a8016d9fed0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7a649a8016d9fed0, duration=62.184185ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2298452}]}] 2023-02-27T15:33:40.51546+08:00 INFO [46387,122bcec172e629aa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=122bcec172e629aa, body={"processName":"ocp_agentd"}] 2023-02-27T15:33:40.55531+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="39.027µs" 2023-02-27T15:33:40.5841+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=28.831347ms 2023-02-27T15:33:40.58419+08:00 INFO [46387,122bcec172e629aa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2298555}]" 2023-02-27T15:33:40.58433+08:00 INFO [46387,122bcec172e629aa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=122bcec172e629aa, duration=68.782645ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2298555}]}] 2023-02-27T15:33:40.631+08:00 INFO [46387,3bb7d0e179419d5a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3bb7d0e179419d5a, body=] 2023-02-27T15:33:40.63106+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:33:40.6311+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:33:40.63114+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:33:40.63364+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:33:40.63371+08:00 INFO [46387,3bb7d0e179419d5a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3bb7d0e179419d5a, duration=2.63251ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:34:40.66675+08:00 INFO [46387,a96472089ad5269e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a96472089ad5269e, body=] 2023-02-27T15:34:40.66686+08:00 INFO [46387,a96472089ad5269e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a96472089ad5269e, duration=3.835µs, status=200, data=2023-02-27 15:34:40.6668481 +0800 CST m=+2357.365140660] 2023-02-27T15:34:40.70466+08:00 INFO [46387,352ffc00a077a7ba] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=352ffc00a077a7ba, body={"processName":"ocp_mgragent"}] 2023-02-27T15:34:40.7458+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="70.483µs" 2023-02-27T15:34:40.76916+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.472166ms 2023-02-27T15:34:40.76931+08:00 INFO [46387,352ffc00a077a7ba] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2358745}]" 2023-02-27T15:34:40.76941+08:00 INFO [46387,352ffc00a077a7ba] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=352ffc00a077a7ba, duration=64.64256ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2358745}]}] 2023-02-27T15:34:40.81896+08:00 INFO [46387,0fbf39b43accafc0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0fbf39b43accafc0, body={"processName":"ocp_monagent"}] 2023-02-27T15:34:40.87424+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="91.652µs" 2023-02-27T15:34:40.89628+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.13058ms 2023-02-27T15:34:40.89637+08:00 INFO [46387,0fbf39b43accafc0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2358874}]" 2023-02-27T15:34:40.89647+08:00 INFO [46387,0fbf39b43accafc0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0fbf39b43accafc0, duration=77.408988ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2358874}]}] 2023-02-27T15:34:40.93118+08:00 INFO [46387,869bd50d946a86b7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=869bd50d946a86b7, body={"processName":"ocp_agentd"}] 2023-02-27T15:34:40.96904+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="154.607µs" 2023-02-27T15:34:40.99189+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.992564ms 2023-02-27T15:34:40.99197+08:00 INFO [46387,869bd50d946a86b7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2358968}]" 2023-02-27T15:34:40.99204+08:00 INFO [46387,869bd50d946a86b7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=869bd50d946a86b7, duration=60.747503ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2358968}]}] 2023-02-27T15:34:41.03643+08:00 INFO [46387,c6665c593ca7deac] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c6665c593ca7deac, body=] 2023-02-27T15:34:41.0365+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:34:41.03654+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:34:41.03656+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:34:41.03901+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:34:41.03909+08:00 INFO [46387,c6665c593ca7deac] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c6665c593ca7deac, duration=2.568467ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:35:41.07118+08:00 INFO [46387,36a928b5582a50d8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=36a928b5582a50d8, body=] 2023-02-27T15:35:41.07126+08:00 INFO [46387,36a928b5582a50d8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=36a928b5582a50d8, duration=2.763µs, status=200, data=2023-02-27 15:35:41.071245313 +0800 CST m=+2417.769537872] 2023-02-27T15:35:41.11877+08:00 INFO [46387,2e671e52b763a6bf] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e671e52b763a6bf, body={"processName":"ocp_mgragent"}] 2023-02-27T15:35:41.15899+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="85.606µs" 2023-02-27T15:35:41.18064+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.74373ms 2023-02-27T15:35:41.18072+08:00 INFO [46387,2e671e52b763a6bf] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2419158}]" 2023-02-27T15:35:41.1808+08:00 INFO [46387,2e671e52b763a6bf] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e671e52b763a6bf, duration=61.93081ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2419158}]}] 2023-02-27T15:35:41.21884+08:00 INFO [46387,91dcff6c78399028] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=91dcff6c78399028, body={"processName":"ocp_monagent"}] 2023-02-27T15:35:41.26415+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="59.895µs" 2023-02-27T15:35:41.28543+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.343916ms 2023-02-27T15:35:41.2855+08:00 INFO [46387,91dcff6c78399028] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2419264}]" 2023-02-27T15:35:41.28558+08:00 INFO [46387,91dcff6c78399028] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=91dcff6c78399028, duration=66.534136ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2419264}]}] 2023-02-27T15:35:41.3191+08:00 INFO [46387,7322c35726fe2356] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7322c35726fe2356, body={"processName":"ocp_agentd"}] 2023-02-27T15:35:41.36469+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="74.989µs" 2023-02-27T15:35:41.39022+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.596326ms 2023-02-27T15:35:41.39031+08:00 INFO [46387,7322c35726fe2356] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2419364}]" 2023-02-27T15:35:41.3904+08:00 INFO [46387,7322c35726fe2356] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7322c35726fe2356, duration=71.222375ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2419364}]}] 2023-02-27T15:35:41.43569+08:00 INFO [46387,bf910170bc164701] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bf910170bc164701, body=] 2023-02-27T15:35:41.43574+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:35:41.4358+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:35:41.43583+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:35:41.43902+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:35:41.4391+08:00 INFO [46387,bf910170bc164701] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bf910170bc164701, duration=3.329858ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:36:41.47406+08:00 INFO [46387,4b37c425331f3a07] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4b37c425331f3a07, body=] 2023-02-27T15:36:41.47414+08:00 INFO [46387,4b37c425331f3a07] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4b37c425331f3a07, duration=3.338µs, status=200, data=2023-02-27 15:36:41.474130014 +0800 CST m=+2478.172422573] 2023-02-27T15:36:41.5236+08:00 INFO [46387,9cc458fa6fd5170c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9cc458fa6fd5170c, body={"processName":"ocp_mgragent"}] 2023-02-27T15:36:41.56618+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="100.064µs" 2023-02-27T15:36:41.58998+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.894271ms 2023-02-27T15:36:41.59006+08:00 INFO [46387,9cc458fa6fd5170c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2479565}]" 2023-02-27T15:36:41.59015+08:00 INFO [46387,9cc458fa6fd5170c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9cc458fa6fd5170c, duration=66.45883ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2479565}]}] 2023-02-27T15:36:41.62956+08:00 INFO [46387,a969d3b77ac8de68] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a969d3b77ac8de68, body={"processName":"ocp_monagent"}] 2023-02-27T15:36:41.67024+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="72.672µs" 2023-02-27T15:36:41.69454+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.380587ms 2023-02-27T15:36:41.69462+08:00 INFO [46387,a969d3b77ac8de68] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2479670}]" 2023-02-27T15:36:41.69469+08:00 INFO [46387,a969d3b77ac8de68] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a969d3b77ac8de68, duration=65.036793ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2479670}]}] 2023-02-27T15:36:41.73321+08:00 INFO [46387,3d8fe0f1d46f5082] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3d8fe0f1d46f5082, body={"processName":"ocp_agentd"}] 2023-02-27T15:36:41.78384+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="96.483µs" 2023-02-27T15:36:41.81123+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=27.496026ms 2023-02-27T15:36:41.81131+08:00 INFO [46387,3d8fe0f1d46f5082] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2479783}]" 2023-02-27T15:36:41.81138+08:00 INFO [46387,3d8fe0f1d46f5082] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3d8fe0f1d46f5082, duration=78.07651ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2479783}]}] 2023-02-27T15:36:41.85937+08:00 INFO [46387,8e46eae326eaf1d0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8e46eae326eaf1d0, body=] 2023-02-27T15:36:41.85944+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:36:41.85951+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:36:41.85953+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:36:41.86264+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:36:41.86273+08:00 INFO [46387,8e46eae326eaf1d0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8e46eae326eaf1d0, duration=3.269377ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:37:41.89891+08:00 INFO [46387,ae87d56180b8476b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ae87d56180b8476b, body=] 2023-02-27T15:37:41.89902+08:00 INFO [46387,ae87d56180b8476b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ae87d56180b8476b, duration=3.037µs, status=200, data=2023-02-27 15:37:41.899000575 +0800 CST m=+2538.597293136] 2023-02-27T15:37:41.9516+08:00 INFO [46387,ada3f2588f5d1ae2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ada3f2588f5d1ae2, body={"processName":"ocp_mgragent"}] 2023-02-27T15:37:41.99773+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="105.459µs" 2023-02-27T15:37:42.02346+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.828606ms 2023-02-27T15:37:42.02354+08:00 INFO [46387,ada3f2588f5d1ae2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2539997}]" 2023-02-27T15:37:42.02365+08:00 INFO [46387,ada3f2588f5d1ae2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ada3f2588f5d1ae2, duration=71.934544ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2539997}]}] 2023-02-27T15:37:42.06234+08:00 INFO [46387,d2be3181843d0afd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d2be3181843d0afd, body={"processName":"ocp_monagent"}] 2023-02-27T15:37:42.10086+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="175.915µs" 2023-02-27T15:37:42.12219+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.499049ms 2023-02-27T15:37:42.12227+08:00 INFO [46387,d2be3181843d0afd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2540100}]" 2023-02-27T15:37:42.12234+08:00 INFO [46387,d2be3181843d0afd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d2be3181843d0afd, duration=59.898369ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2540100}]}] 2023-02-27T15:37:42.1548+08:00 INFO [46387,a9c57f2b8022a708] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a9c57f2b8022a708, body={"processName":"ocp_agentd"}] 2023-02-27T15:37:42.19021+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="60.756µs" 2023-02-27T15:37:42.21932+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=29.182872ms 2023-02-27T15:37:42.21956+08:00 INFO [46387,a9c57f2b8022a708] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2540190}]" 2023-02-27T15:37:42.21966+08:00 INFO [46387,a9c57f2b8022a708] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a9c57f2b8022a708, duration=64.776498ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2540190}]}] 2023-02-27T15:37:42.26543+08:00 INFO [46387,9d12b42a38b5ddd2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9d12b42a38b5ddd2, body=] 2023-02-27T15:37:42.26548+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:37:42.26552+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:37:42.26554+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:37:42.26806+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:37:42.26815+08:00 INFO [46387,9d12b42a38b5ddd2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9d12b42a38b5ddd2, duration=2.633465ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:38:42.29726+08:00 INFO [46387,e671d37d8ce611cc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e671d37d8ce611cc, body=] 2023-02-27T15:38:42.29738+08:00 INFO [46387,e671d37d8ce611cc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e671d37d8ce611cc, duration=4.036µs, status=200, data=2023-02-27 15:38:42.297359812 +0800 CST m=+2598.995652382] 2023-02-27T15:38:42.33586+08:00 INFO [46387,9fe7ba2637f027db] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9fe7ba2637f027db, body={"processName":"ocp_mgragent"}] 2023-02-27T15:38:42.37756+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="137.335µs" 2023-02-27T15:38:42.40158+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.158448ms 2023-02-27T15:38:42.40166+08:00 INFO [46387,9fe7ba2637f027db] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2600377}]" 2023-02-27T15:38:42.40172+08:00 INFO [46387,9fe7ba2637f027db] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9fe7ba2637f027db, duration=65.567816ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2600377}]}] 2023-02-27T15:38:42.44573+08:00 INFO [46387,6e971c46dc7b1d8e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6e971c46dc7b1d8e, body={"processName":"ocp_monagent"}] 2023-02-27T15:38:42.4889+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="57.785µs" 2023-02-27T15:38:42.51438+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=25.540291ms 2023-02-27T15:38:42.51447+08:00 INFO [46387,6e971c46dc7b1d8e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2600488}]" 2023-02-27T15:38:42.51456+08:00 INFO [46387,6e971c46dc7b1d8e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6e971c46dc7b1d8e, duration=68.727307ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2600488}]}] 2023-02-27T15:38:42.55437+08:00 INFO [46387,48b144e5be7e5137] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=48b144e5be7e5137, body={"processName":"ocp_agentd"}] 2023-02-27T15:38:42.59887+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="104.792µs" 2023-02-27T15:38:42.62036+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.595816ms 2023-02-27T15:38:42.62044+08:00 INFO [46387,48b144e5be7e5137] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2600598}]" 2023-02-27T15:38:42.6205+08:00 INFO [46387,48b144e5be7e5137] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=48b144e5be7e5137, duration=66.030177ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2600598}]}] 2023-02-27T15:38:42.65907+08:00 INFO [46387,be90773ace3df815] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=be90773ace3df815, body=] 2023-02-27T15:38:42.65914+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:38:42.65918+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:38:42.6592+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:38:42.6616+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:38:42.66169+08:00 INFO [46387,be90773ace3df815] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=be90773ace3df815, duration=2.525284ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:39:42.6892+08:00 INFO [46387,c7821cd27bad0db5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c7821cd27bad0db5, body=] 2023-02-27T15:39:42.68929+08:00 INFO [46387,c7821cd27bad0db5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c7821cd27bad0db5, duration=2.414µs, status=200, data=2023-02-27 15:39:42.689270245 +0800 CST m=+2659.387562804] 2023-02-27T15:39:42.72929+08:00 INFO [46387,fb4243e9fb61a7ba] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fb4243e9fb61a7ba, body={"processName":"ocp_mgragent"}] 2023-02-27T15:39:42.77016+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="58.616µs" 2023-02-27T15:39:42.79208+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.983026ms 2023-02-27T15:39:42.79219+08:00 INFO [46387,fb4243e9fb61a7ba] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2660770}]" 2023-02-27T15:39:42.79229+08:00 INFO [46387,fb4243e9fb61a7ba] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fb4243e9fb61a7ba, duration=62.891663ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2660770}]}] 2023-02-27T15:39:42.83581+08:00 INFO [46387,a5b5c442548e781d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a5b5c442548e781d, body={"processName":"ocp_monagent"}] 2023-02-27T15:39:42.87852+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="99.799µs" 2023-02-27T15:39:42.89991+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.485905ms 2023-02-27T15:39:42.89998+08:00 INFO [46387,a5b5c442548e781d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2660878}]" 2023-02-27T15:39:42.90006+08:00 INFO [46387,a5b5c442548e781d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a5b5c442548e781d, duration=64.158147ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2660878}]}] 2023-02-27T15:39:42.93235+08:00 INFO [46387,b6e611188ce4e31d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b6e611188ce4e31d, body={"processName":"ocp_agentd"}] 2023-02-27T15:39:42.97029+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="82.599µs" 2023-02-27T15:39:42.99433+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.124737ms 2023-02-27T15:39:42.99445+08:00 INFO [46387,b6e611188ce4e31d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2660970}]" 2023-02-27T15:39:42.99455+08:00 INFO [46387,b6e611188ce4e31d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b6e611188ce4e31d, duration=62.129544ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2660970}]}] 2023-02-27T15:39:43.0377+08:00 INFO [46387,c4d0c4682526dd7d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c4d0c4682526dd7d, body=] 2023-02-27T15:39:43.03779+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:39:43.03784+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:39:43.03786+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:39:43.04035+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:39:43.04043+08:00 INFO [46387,c4d0c4682526dd7d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c4d0c4682526dd7d, duration=2.614089ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:40:43.07117+08:00 INFO [46387,ec16e89efffc947b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ec16e89efffc947b, body=] 2023-02-27T15:40:43.07128+08:00 INFO [46387,ec16e89efffc947b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ec16e89efffc947b, duration=2.764µs, status=200, data=2023-02-27 15:40:43.07126383 +0800 CST m=+2719.769556390] 2023-02-27T15:40:43.1168+08:00 INFO [46387,0c9e90cd6a769dc5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0c9e90cd6a769dc5, body={"processName":"ocp_mgragent"}] 2023-02-27T15:40:43.16314+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="95.756µs" 2023-02-27T15:40:43.1904+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=27.359284ms 2023-02-27T15:40:43.19048+08:00 INFO [46387,0c9e90cd6a769dc5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2721162}]" 2023-02-27T15:40:43.19056+08:00 INFO [46387,0c9e90cd6a769dc5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0c9e90cd6a769dc5, duration=73.661822ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2721162}]}] 2023-02-27T15:40:43.22557+08:00 INFO [46387,7c97e65e4b2dc6fc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7c97e65e4b2dc6fc, body={"processName":"ocp_monagent"}] 2023-02-27T15:40:43.26949+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="61.591µs" 2023-02-27T15:40:43.2911+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.669469ms 2023-02-27T15:40:43.29117+08:00 INFO [46387,7c97e65e4b2dc6fc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2721269}]" 2023-02-27T15:40:43.29124+08:00 INFO [46387,7c97e65e4b2dc6fc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7c97e65e4b2dc6fc, duration=65.578475ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2721269}]}] 2023-02-27T15:40:43.32184+08:00 INFO [46387,50cd5639fe07cea4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=50cd5639fe07cea4, body={"processName":"ocp_agentd"}] 2023-02-27T15:40:43.36127+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="57.634µs" 2023-02-27T15:40:43.38186+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=20.646762ms 2023-02-27T15:40:43.38194+08:00 INFO [46387,50cd5639fe07cea4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2721361}]" 2023-02-27T15:40:43.38208+08:00 INFO [46387,50cd5639fe07cea4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=50cd5639fe07cea4, duration=60.111713ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2721361}]}] 2023-02-27T15:40:43.43267+08:00 INFO [46387,0ac1ca7738da9184] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0ac1ca7738da9184, body=] 2023-02-27T15:40:43.43272+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:40:43.43275+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:40:43.43281+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:40:43.43553+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:40:43.43563+08:00 INFO [46387,0ac1ca7738da9184] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0ac1ca7738da9184, duration=2.875558ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:41:43.47114+08:00 INFO [46387,df6e0411ad8432da] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=df6e0411ad8432da, body=] 2023-02-27T15:41:43.47125+08:00 INFO [46387,df6e0411ad8432da] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=df6e0411ad8432da, duration=2.715µs, status=200, data=2023-02-27 15:41:43.471233758 +0800 CST m=+2780.169526317] 2023-02-27T15:41:43.52753+08:00 INFO [46387,089536c59ee0bc18] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=089536c59ee0bc18, body={"processName":"ocp_mgragent"}] 2023-02-27T15:41:43.57004+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="63.486µs" 2023-02-27T15:41:43.59294+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.957963ms 2023-02-27T15:41:43.59302+08:00 INFO [46387,089536c59ee0bc18] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2781569}]" 2023-02-27T15:41:43.5931+08:00 INFO [46387,089536c59ee0bc18] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=089536c59ee0bc18, duration=65.46371ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2781569}]}] 2023-02-27T15:41:43.62873+08:00 INFO [46387,8355952563805cf6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8355952563805cf6, body={"processName":"ocp_monagent"}] 2023-02-27T15:41:43.66832+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="68.682µs" 2023-02-27T15:41:43.69032+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.072081ms 2023-02-27T15:41:43.69046+08:00 INFO [46387,8355952563805cf6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2781668}]" 2023-02-27T15:41:43.69058+08:00 INFO [46387,8355952563805cf6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8355952563805cf6, duration=61.749361ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2781668}]}] 2023-02-27T15:41:43.72861+08:00 INFO [46387,0d7f5e8614057828] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0d7f5e8614057828, body={"processName":"ocp_agentd"}] 2023-02-27T15:41:43.76998+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="75.651µs" 2023-02-27T15:41:43.7952+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.294391ms 2023-02-27T15:41:43.79527+08:00 INFO [46387,0d7f5e8614057828] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2781769}]" 2023-02-27T15:41:43.79537+08:00 INFO [46387,0d7f5e8614057828] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0d7f5e8614057828, duration=66.677938ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2781769}]}] 2023-02-27T15:41:43.84962+08:00 INFO [46387,577754d9c274a5a2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=577754d9c274a5a2, body=] 2023-02-27T15:41:43.8497+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:41:43.84974+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:41:43.84976+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:41:43.85248+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:41:43.85255+08:00 INFO [46387,577754d9c274a5a2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=577754d9c274a5a2, duration=2.836234ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:42:43.88173+08:00 INFO [46387,1e217b64edf83e4f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1e217b64edf83e4f, body=] 2023-02-27T15:42:43.88183+08:00 INFO [46387,1e217b64edf83e4f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1e217b64edf83e4f, duration=2.764µs, status=200, data=2023-02-27 15:42:43.8818002 +0800 CST m=+2840.580092768] 2023-02-27T15:42:43.92515+08:00 INFO [46387,73e40340950b89e4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=73e40340950b89e4, body={"processName":"ocp_mgragent"}] 2023-02-27T15:42:43.96358+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="178.837µs" 2023-02-27T15:42:43.9857+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.29802ms 2023-02-27T15:42:43.98576+08:00 INFO [46387,73e40340950b89e4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2841963}]" 2023-02-27T15:42:43.98585+08:00 INFO [46387,73e40340950b89e4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=73e40340950b89e4, duration=60.602626ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2841963}]}] 2023-02-27T15:42:44.02663+08:00 INFO [46387,705349509b4d4cfc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=705349509b4d4cfc, body={"processName":"ocp_monagent"}] 2023-02-27T15:42:44.0635+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="45.376µs" 2023-02-27T15:42:44.08812+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.670133ms 2023-02-27T15:42:44.08827+08:00 INFO [46387,705349509b4d4cfc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2842063}]" 2023-02-27T15:42:44.08833+08:00 INFO [46387,705349509b4d4cfc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=705349509b4d4cfc, duration=61.626239ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2842063}]}] 2023-02-27T15:42:44.11952+08:00 INFO [46387,fdfc09c6508048d2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fdfc09c6508048d2, body={"processName":"ocp_agentd"}] 2023-02-27T15:42:44.15899+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="57.434µs" 2023-02-27T15:42:44.18116+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.232312ms 2023-02-27T15:42:44.18123+08:00 INFO [46387,fdfc09c6508048d2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2842158}]" 2023-02-27T15:42:44.18129+08:00 INFO [46387,fdfc09c6508048d2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fdfc09c6508048d2, duration=61.680218ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2842158}]}] 2023-02-27T15:42:44.22353+08:00 INFO [46387,de4603b711642d44] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=de4603b711642d44, body=] 2023-02-27T15:42:44.22358+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:42:44.22363+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:42:44.22365+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:42:44.22614+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:42:44.22621+08:00 INFO [46387,de4603b711642d44] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=de4603b711642d44, duration=2.602059ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:43:44.25638+08:00 INFO [46387,13149a25b346455d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=13149a25b346455d, body=] 2023-02-27T15:43:44.25647+08:00 INFO [46387,13149a25b346455d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=13149a25b346455d, duration=4.189µs, status=200, data=2023-02-27 15:43:44.256457784 +0800 CST m=+2900.954750352] 2023-02-27T15:43:44.29808+08:00 INFO [46387,d1cbd3f844ae6af1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d1cbd3f844ae6af1, body={"processName":"ocp_mgragent"}] 2023-02-27T15:43:44.33946+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="133.415µs" 2023-02-27T15:43:44.36121+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.880882ms 2023-02-27T15:43:44.36128+08:00 INFO [46387,d1cbd3f844ae6af1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2902339}]" 2023-02-27T15:43:44.36136+08:00 INFO [46387,d1cbd3f844ae6af1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d1cbd3f844ae6af1, duration=63.181356ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2902339}]}] 2023-02-27T15:43:44.39774+08:00 INFO [46387,061f85927bcb930c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=061f85927bcb930c, body={"processName":"ocp_monagent"}] 2023-02-27T15:43:44.43583+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="89.981µs" 2023-02-27T15:43:44.45799+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.254389ms 2023-02-27T15:43:44.45807+08:00 INFO [46387,061f85927bcb930c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2902435}]" 2023-02-27T15:43:44.45816+08:00 INFO [46387,061f85927bcb930c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=061f85927bcb930c, duration=60.302133ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2902435}]}] 2023-02-27T15:43:44.48915+08:00 INFO [46387,339dbeed15606639] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=339dbeed15606639, body={"processName":"ocp_agentd"}] 2023-02-27T15:43:44.53442+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="79.116µs" 2023-02-27T15:43:44.56041+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=26.070082ms 2023-02-27T15:43:44.56049+08:00 INFO [46387,339dbeed15606639] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2902534}]" 2023-02-27T15:43:44.56055+08:00 INFO [46387,339dbeed15606639] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=339dbeed15606639, duration=71.331783ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2902534}]}] 2023-02-27T15:43:44.62564+08:00 INFO [46387,a2cc7871c5d4d6d3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a2cc7871c5d4d6d3, body=] 2023-02-27T15:43:44.62571+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:43:44.62576+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:43:44.62582+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:43:44.62808+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:43:44.62821+08:00 INFO [46387,a2cc7871c5d4d6d3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a2cc7871c5d4d6d3, duration=2.479994ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:44:44.66362+08:00 INFO [46387,ee1ba9f2ff9f80a7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ee1ba9f2ff9f80a7, body=] 2023-02-27T15:44:44.6637+08:00 INFO [46387,ee1ba9f2ff9f80a7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ee1ba9f2ff9f80a7, duration=2.386µs, status=200, data=2023-02-27 15:44:44.6636874 +0800 CST m=+2961.361979958] 2023-02-27T15:44:44.70134+08:00 INFO [46387,1c4aecb008fc1e6e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1c4aecb008fc1e6e, body={"processName":"ocp_mgragent"}] 2023-02-27T15:44:44.74134+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="99.347µs" 2023-02-27T15:44:44.76426+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.016775ms 2023-02-27T15:44:44.76432+08:00 INFO [46387,1c4aecb008fc1e6e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2962741}]" 2023-02-27T15:44:44.7644+08:00 INFO [46387,1c4aecb008fc1e6e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1c4aecb008fc1e6e, duration=62.973519ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2962741}]}] 2023-02-27T15:44:44.79647+08:00 INFO [46387,e764ea7de49aae22] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e764ea7de49aae22, body={"processName":"ocp_monagent"}] 2023-02-27T15:44:44.83585+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="243.053µs" 2023-02-27T15:44:44.85987+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.263303ms 2023-02-27T15:44:44.85995+08:00 INFO [46387,e764ea7de49aae22] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2962835}]" 2023-02-27T15:44:44.86005+08:00 INFO [46387,e764ea7de49aae22] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e764ea7de49aae22, duration=63.494264ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2962835}]}] 2023-02-27T15:44:44.89418+08:00 INFO [46387,ebfcbcd0bd092389] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ebfcbcd0bd092389, body={"processName":"ocp_agentd"}] 2023-02-27T15:44:44.93419+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="194.633µs" 2023-02-27T15:44:44.95848+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.478619ms 2023-02-27T15:44:44.95859+08:00 INFO [46387,ebfcbcd0bd092389] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2962933}]" 2023-02-27T15:44:44.95868+08:00 INFO [46387,ebfcbcd0bd092389] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ebfcbcd0bd092389, duration=64.428481ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 2962933}]}] 2023-02-27T15:44:45.00295+08:00 INFO [46387,72f45abbafbed2a6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72f45abbafbed2a6, body=] 2023-02-27T15:44:45.00302+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:44:45.00306+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:44:45.00308+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:44:45.00565+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:44:45.00585+08:00 INFO [46387,72f45abbafbed2a6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=72f45abbafbed2a6, duration=2.769725ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:45:45.03919+08:00 INFO [46387,77981a1b7c4dc5cf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=77981a1b7c4dc5cf, body=] 2023-02-27T15:45:45.03928+08:00 INFO [46387,77981a1b7c4dc5cf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=77981a1b7c4dc5cf, duration=2.8µs, status=200, data=2023-02-27 15:45:45.039262098 +0800 CST m=+3021.737554657] 2023-02-27T15:45:45.09148+08:00 INFO [46387,969e6d29c7dfb326] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=969e6d29c7dfb326, body={"processName":"ocp_mgragent"}] 2023-02-27T15:45:45.13337+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="102.639µs" 2023-02-27T15:45:45.1556+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.329462ms 2023-02-27T15:45:45.15572+08:00 INFO [46387,969e6d29c7dfb326] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3023133}]" 2023-02-27T15:45:45.15581+08:00 INFO [46387,969e6d29c7dfb326] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=969e6d29c7dfb326, duration=64.252285ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3023133}]}] 2023-02-27T15:45:45.1968+08:00 INFO [46387,256d5c1913cdd9ae] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=256d5c1913cdd9ae, body={"processName":"ocp_monagent"}] 2023-02-27T15:45:45.23882+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="110.457µs" 2023-02-27T15:45:45.26134+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.618167ms 2023-02-27T15:45:45.26146+08:00 INFO [46387,256d5c1913cdd9ae] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3023238}]" 2023-02-27T15:45:45.26154+08:00 INFO [46387,256d5c1913cdd9ae] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=256d5c1913cdd9ae, duration=64.656413ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3023238}]}] 2023-02-27T15:45:45.30128+08:00 INFO [46387,888e574ce0fd7b9f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=888e574ce0fd7b9f, body={"processName":"ocp_agentd"}] 2023-02-27T15:45:45.33477+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="38.314µs" 2023-02-27T15:45:45.35732+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.594871ms 2023-02-27T15:45:45.3574+08:00 INFO [46387,888e574ce0fd7b9f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3023334}]" 2023-02-27T15:45:45.35749+08:00 INFO [46387,888e574ce0fd7b9f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=888e574ce0fd7b9f, duration=56.1261ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3023334}]}] 2023-02-27T15:45:45.40434+08:00 INFO [46387,fd76fd9b556b5d6e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fd76fd9b556b5d6e, body=] 2023-02-27T15:45:45.40441+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:45:45.40445+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:45:45.40446+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:45:45.40767+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:45:45.40779+08:00 INFO [46387,fd76fd9b556b5d6e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fd76fd9b556b5d6e, duration=3.343218ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:46:45.45531+08:00 INFO [46387,c38442fb17c43461] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c38442fb17c43461, body=] 2023-02-27T15:46:45.45539+08:00 INFO [46387,c38442fb17c43461] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c38442fb17c43461, duration=2.86µs, status=200, data=2023-02-27 15:46:45.455374229 +0800 CST m=+3082.153666787] 2023-02-27T15:46:45.50073+08:00 INFO [46387,898c00b6040f59e9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=898c00b6040f59e9, body={"processName":"ocp_mgragent"}] 2023-02-27T15:46:45.54594+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="200.724µs" 2023-02-27T15:46:45.57052+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.780142ms 2023-02-27T15:46:45.57059+08:00 INFO [46387,898c00b6040f59e9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3083545}]" 2023-02-27T15:46:45.57066+08:00 INFO [46387,898c00b6040f59e9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=898c00b6040f59e9, duration=69.845094ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3083545}]}] 2023-02-27T15:46:45.60914+08:00 INFO [46387,24ea8c7233268bb5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=24ea8c7233268bb5, body={"processName":"ocp_monagent"}] 2023-02-27T15:46:45.64865+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="75.554µs" 2023-02-27T15:46:45.66959+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.014983ms 2023-02-27T15:46:45.66966+08:00 INFO [46387,24ea8c7233268bb5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3083648}]" 2023-02-27T15:46:45.66975+08:00 INFO [46387,24ea8c7233268bb5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=24ea8c7233268bb5, duration=60.530377ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3083648}]}] 2023-02-27T15:46:45.70132+08:00 INFO [46387,95740fc8201edead] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=95740fc8201edead, body={"processName":"ocp_agentd"}] 2023-02-27T15:46:45.74581+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="87.765µs" 2023-02-27T15:46:45.76863+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.909337ms 2023-02-27T15:46:45.76869+08:00 INFO [46387,95740fc8201edead] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3083745}]" 2023-02-27T15:46:45.76875+08:00 INFO [46387,95740fc8201edead] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=95740fc8201edead, duration=67.362443ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3083745}]}] 2023-02-27T15:46:45.83134+08:00 INFO [46387,e72fa55d5e03a62d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e72fa55d5e03a62d, body=] 2023-02-27T15:46:45.83142+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:46:45.83149+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:46:45.83152+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:46:45.83535+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:46:45.83544+08:00 INFO [46387,e72fa55d5e03a62d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e72fa55d5e03a62d, duration=4.000308ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:47:45.86988+08:00 INFO [46387,125c71c9ac160570] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=125c71c9ac160570, body=] 2023-02-27T15:47:45.87004+08:00 INFO [46387,125c71c9ac160570] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=125c71c9ac160570, duration=3.794µs, status=200, data=2023-02-27 15:47:45.870020935 +0800 CST m=+3142.568313496] 2023-02-27T15:47:45.91117+08:00 INFO [46387,3c99a6b8a26af1be] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3c99a6b8a26af1be, body={"processName":"ocp_mgragent"}] 2023-02-27T15:47:45.95402+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="87.806µs" 2023-02-27T15:47:45.97643+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.499658ms 2023-02-27T15:47:45.97649+08:00 INFO [46387,3c99a6b8a26af1be] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3143953}]" 2023-02-27T15:47:45.97657+08:00 INFO [46387,3c99a6b8a26af1be] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3c99a6b8a26af1be, duration=65.329382ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3143953}]}] 2023-02-27T15:47:46.00856+08:00 INFO [46387,eab1434a4324867b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=eab1434a4324867b, body={"processName":"ocp_monagent"}] 2023-02-27T15:47:46.04542+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="109.353µs" 2023-02-27T15:47:46.06681+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.504667ms 2023-02-27T15:47:46.06688+08:00 INFO [46387,eab1434a4324867b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3144045}]" 2023-02-27T15:47:46.06695+08:00 INFO [46387,eab1434a4324867b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=eab1434a4324867b, duration=58.312978ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3144045}]}] 2023-02-27T15:47:46.09766+08:00 INFO [46387,fe7702746d7eaf19] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fe7702746d7eaf19, body={"processName":"ocp_agentd"}] 2023-02-27T15:47:46.13721+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="77.989µs" 2023-02-27T15:47:46.15809+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=20.958692ms 2023-02-27T15:47:46.15815+08:00 INFO [46387,fe7702746d7eaf19] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3144137}]" 2023-02-27T15:47:46.15823+08:00 INFO [46387,fe7702746d7eaf19] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fe7702746d7eaf19, duration=60.480048ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3144137}]}] 2023-02-27T15:47:46.20505+08:00 INFO [46387,8a8995d9a6a273b8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8a8995d9a6a273b8, body=] 2023-02-27T15:47:46.20512+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:47:46.20518+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:47:46.2052+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:47:46.20786+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:47:46.20793+08:00 INFO [46387,8a8995d9a6a273b8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8a8995d9a6a273b8, duration=2.783292ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:48:46.24008+08:00 INFO [46387,bfe3c321b8e7cfad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bfe3c321b8e7cfad, body=] 2023-02-27T15:48:46.24019+08:00 INFO [46387,bfe3c321b8e7cfad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bfe3c321b8e7cfad, duration=4.049µs, status=200, data=2023-02-27 15:48:46.24017014 +0800 CST m=+3202.938462705] 2023-02-27T15:48:46.28786+08:00 INFO [46387,1f1eddf1b77113c9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1f1eddf1b77113c9, body={"processName":"ocp_mgragent"}] 2023-02-27T15:48:46.32516+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="68.995µs" 2023-02-27T15:48:46.34802+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.934368ms 2023-02-27T15:48:46.34811+08:00 INFO [46387,1f1eddf1b77113c9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3204325}]" 2023-02-27T15:48:46.34818+08:00 INFO [46387,1f1eddf1b77113c9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1f1eddf1b77113c9, duration=60.241689ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3204325}]}] 2023-02-27T15:48:46.39219+08:00 INFO [46387,d5836ab755766b68] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d5836ab755766b68, body={"processName":"ocp_monagent"}] 2023-02-27T15:48:46.43109+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="50.645µs" 2023-02-27T15:48:46.45401+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.97443ms 2023-02-27T15:48:46.45408+08:00 INFO [46387,d5836ab755766b68] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3204430}]" 2023-02-27T15:48:46.45415+08:00 INFO [46387,d5836ab755766b68] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d5836ab755766b68, duration=61.882845ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3204430}]}] 2023-02-27T15:48:46.48967+08:00 INFO [46387,27251fc58b5c0f89] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=27251fc58b5c0f89, body={"processName":"ocp_agentd"}] 2023-02-27T15:48:46.52756+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="60.057µs" 2023-02-27T15:48:46.54928+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.784335ms 2023-02-27T15:48:46.54938+08:00 INFO [46387,27251fc58b5c0f89] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3204527}]" 2023-02-27T15:48:46.54947+08:00 INFO [46387,27251fc58b5c0f89] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=27251fc58b5c0f89, duration=59.708731ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3204527}]}] 2023-02-27T15:48:46.60793+08:00 INFO [46387,7ed702536bbd7411] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7ed702536bbd7411, body=] 2023-02-27T15:48:46.60798+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:48:46.60805+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:48:46.60807+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:48:46.61044+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:48:46.61052+08:00 INFO [46387,7ed702536bbd7411] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7ed702536bbd7411, duration=2.504193ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:49:46.64114+08:00 INFO [46387,ba862c6cb46ada1e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ba862c6cb46ada1e, body=] 2023-02-27T15:49:46.64126+08:00 INFO [46387,ba862c6cb46ada1e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ba862c6cb46ada1e, duration=3.845µs, status=200, data=2023-02-27 15:49:46.641228594 +0800 CST m=+3263.339521164] 2023-02-27T15:49:46.68477+08:00 INFO [46387,857c236054243681] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=857c236054243681, body={"processName":"ocp_mgragent"}] 2023-02-27T15:49:46.72399+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="230.386µs" 2023-02-27T15:49:46.74493+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.169966ms 2023-02-27T15:49:46.74501+08:00 INFO [46387,857c236054243681] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3264723}]" 2023-02-27T15:49:46.74509+08:00 INFO [46387,857c236054243681] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=857c236054243681, duration=60.211969ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3264723}]}] 2023-02-27T15:49:46.77955+08:00 INFO [46387,b3ab62ef26054ba9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b3ab62ef26054ba9, body={"processName":"ocp_monagent"}] 2023-02-27T15:49:46.81687+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="49.946µs" 2023-02-27T15:49:46.83973+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.911224ms 2023-02-27T15:49:46.83986+08:00 INFO [46387,b3ab62ef26054ba9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3264816}]" 2023-02-27T15:49:46.83995+08:00 INFO [46387,b3ab62ef26054ba9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b3ab62ef26054ba9, duration=60.311968ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3264816}]}] 2023-02-27T15:49:46.87463+08:00 INFO [46387,4819b684a43d0cc4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4819b684a43d0cc4, body={"processName":"ocp_agentd"}] 2023-02-27T15:49:46.9154+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="74.947µs" 2023-02-27T15:49:46.94163+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=26.299393ms 2023-02-27T15:49:46.94171+08:00 INFO [46387,4819b684a43d0cc4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3264915}]" 2023-02-27T15:49:46.94179+08:00 INFO [46387,4819b684a43d0cc4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4819b684a43d0cc4, duration=67.063704ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3264915}]}] 2023-02-27T15:49:46.98786+08:00 INFO [46387,f708d647019cd32d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f708d647019cd32d, body=] 2023-02-27T15:49:46.98794+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:49:46.98797+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:49:46.98801+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:49:46.99105+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:49:46.99113+08:00 INFO [46387,f708d647019cd32d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f708d647019cd32d, duration=3.165141ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:50:47.02558+08:00 INFO [46387,65c0b8cc4c0b5c31] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=65c0b8cc4c0b5c31, body=] 2023-02-27T15:50:47.0257+08:00 INFO [46387,65c0b8cc4c0b5c31] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=65c0b8cc4c0b5c31, duration=3.84µs, status=200, data=2023-02-27 15:50:47.025678851 +0800 CST m=+3323.723971411] 2023-02-27T15:50:47.06466+08:00 INFO [46387,f3df259e2d7c4b5e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f3df259e2d7c4b5e, body={"processName":"ocp_mgragent"}] 2023-02-27T15:50:47.10074+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="50.591µs" 2023-02-27T15:50:47.12186+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.179062ms 2023-02-27T15:50:47.12196+08:00 INFO [46387,f3df259e2d7c4b5e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3325100}]" 2023-02-27T15:50:47.12203+08:00 INFO [46387,f3df259e2d7c4b5e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f3df259e2d7c4b5e, duration=57.272214ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3325100}]}] 2023-02-27T15:50:47.15537+08:00 INFO [46387,3b4bbe02b606e32d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3b4bbe02b606e32d, body={"processName":"ocp_monagent"}] 2023-02-27T15:50:47.19475+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="48.751µs" 2023-02-27T15:50:47.21671+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.003055ms 2023-02-27T15:50:47.2168+08:00 INFO [46387,3b4bbe02b606e32d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3325194}]" 2023-02-27T15:50:47.21688+08:00 INFO [46387,3b4bbe02b606e32d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3b4bbe02b606e32d, duration=61.41069ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3325194}]}] 2023-02-27T15:50:47.24902+08:00 INFO [46387,30af5fd987d4ec43] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=30af5fd987d4ec43, body={"processName":"ocp_agentd"}] 2023-02-27T15:50:47.29101+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="55.036µs" 2023-02-27T15:50:47.3181+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=27.146714ms 2023-02-27T15:50:47.31818+08:00 INFO [46387,30af5fd987d4ec43] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3325290}]" 2023-02-27T15:50:47.31826+08:00 INFO [46387,30af5fd987d4ec43] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=30af5fd987d4ec43, duration=69.144227ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3325290}]}] 2023-02-27T15:50:47.36399+08:00 INFO [46387,e3a4a02b98f4a302] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e3a4a02b98f4a302, body=] 2023-02-27T15:50:47.36407+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:50:47.36411+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:50:47.36412+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:50:47.36733+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:50:47.36742+08:00 INFO [46387,e3a4a02b98f4a302] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e3a4a02b98f4a302, duration=3.32853ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:51:47.40597+08:00 INFO [46387,912d7dd8d9ca6df8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=912d7dd8d9ca6df8, body=] 2023-02-27T15:51:47.40612+08:00 INFO [46387,912d7dd8d9ca6df8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=912d7dd8d9ca6df8, duration=3.985µs, status=200, data=2023-02-27 15:51:47.406088832 +0800 CST m=+3384.104381399] 2023-02-27T15:51:47.45734+08:00 INFO [46387,39e8e64b48a15c15] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=39e8e64b48a15c15, body={"processName":"ocp_mgragent"}] 2023-02-27T15:51:47.49924+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="53.647µs" 2023-02-27T15:51:47.52215+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.963162ms 2023-02-27T15:51:47.52225+08:00 INFO [46387,39e8e64b48a15c15] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3385499}]" 2023-02-27T15:51:47.52233+08:00 INFO [46387,39e8e64b48a15c15] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=39e8e64b48a15c15, duration=64.906087ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3385499}]}] 2023-02-27T15:51:47.5663+08:00 INFO [46387,08a4646f262bd07a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=08a4646f262bd07a, body={"processName":"ocp_monagent"}] 2023-02-27T15:51:47.6164+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="65.193µs" 2023-02-27T15:51:47.64325+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=26.913983ms 2023-02-27T15:51:47.64334+08:00 INFO [46387,08a4646f262bd07a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3385616}]" 2023-02-27T15:51:47.64342+08:00 INFO [46387,08a4646f262bd07a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=08a4646f262bd07a, duration=77.035434ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3385616}]}] 2023-02-27T15:51:47.67566+08:00 INFO [46387,094da3c7d59154d2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=094da3c7d59154d2, body={"processName":"ocp_agentd"}] 2023-02-27T15:51:47.71112+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="88.747µs" 2023-02-27T15:51:47.73831+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=27.279223ms 2023-02-27T15:51:47.73839+08:00 INFO [46387,094da3c7d59154d2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3385710}]" 2023-02-27T15:51:47.73847+08:00 INFO [46387,094da3c7d59154d2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=094da3c7d59154d2, duration=62.642575ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3385710}]}] 2023-02-27T15:51:47.78986+08:00 INFO [46387,06cc2fe80510e269] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=06cc2fe80510e269, body=] 2023-02-27T15:51:47.78993+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:51:47.78997+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:51:47.78999+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:51:47.79258+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:51:47.79266+08:00 INFO [46387,06cc2fe80510e269] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=06cc2fe80510e269, duration=2.706461ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:52:47.82303+08:00 INFO [46387,4138e6df97a84a5a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4138e6df97a84a5a, body=] 2023-02-27T15:52:47.82333+08:00 INFO [46387,4138e6df97a84a5a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4138e6df97a84a5a, duration=6.278µs, status=200, data=2023-02-27 15:52:47.823294008 +0800 CST m=+3444.521586572] 2023-02-27T15:52:47.86662+08:00 INFO [46387,b3908b3b39b12d23] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b3908b3b39b12d23, body={"processName":"ocp_mgragent"}] 2023-02-27T15:52:47.9132+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="185.074µs" 2023-02-27T15:52:47.93703+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.016097ms 2023-02-27T15:52:47.93711+08:00 INFO [46387,b3908b3b39b12d23] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3445912}]" 2023-02-27T15:52:47.9372+08:00 INFO [46387,b3908b3b39b12d23] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b3908b3b39b12d23, duration=70.502976ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3445912}]}] 2023-02-27T15:52:47.96734+08:00 INFO [46387,6d41dae0bf004175] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d41dae0bf004175, body={"processName":"ocp_monagent"}] 2023-02-27T15:52:48.00986+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="94.515µs" 2023-02-27T15:52:48.03328+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.51753ms 2023-02-27T15:52:48.03337+08:00 INFO [46387,6d41dae0bf004175] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3446009}]" 2023-02-27T15:52:48.03345+08:00 INFO [46387,6d41dae0bf004175] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d41dae0bf004175, duration=66.020864ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3446009}]}] 2023-02-27T15:52:48.06826+08:00 INFO [46387,6473567dc9575ee8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6473567dc9575ee8, body={"processName":"ocp_agentd"}] 2023-02-27T15:52:48.10813+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="88.382µs" 2023-02-27T15:52:48.1287+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=20.655106ms 2023-02-27T15:52:48.12888+08:00 INFO [46387,6473567dc9575ee8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3446107}]" 2023-02-27T15:52:48.12895+08:00 INFO [46387,6473567dc9575ee8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6473567dc9575ee8, duration=60.625719ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3446107}]}] 2023-02-27T15:52:48.17025+08:00 INFO [46387,4a194babd697d9ee] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4a194babd697d9ee, body=] 2023-02-27T15:52:48.17032+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:52:48.17037+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:52:48.17038+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:52:48.17297+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:52:48.17306+08:00 INFO [46387,4a194babd697d9ee] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4a194babd697d9ee, duration=2.712523ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:53:48.21395+08:00 INFO [46387,39354b408cee4a67] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=39354b408cee4a67, body=] 2023-02-27T15:53:48.21406+08:00 INFO [46387,39354b408cee4a67] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=39354b408cee4a67, duration=4.094µs, status=200, data=2023-02-27 15:53:48.214043836 +0800 CST m=+3504.912336397] 2023-02-27T15:53:48.25816+08:00 INFO [46387,40dd9ab07d0f699b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=40dd9ab07d0f699b, body={"processName":"ocp_mgragent"}] 2023-02-27T15:53:48.30428+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="237.064µs" 2023-02-27T15:53:48.32772+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.680461ms 2023-02-27T15:53:48.32781+08:00 INFO [46387,40dd9ab07d0f699b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3506303}]" 2023-02-27T15:53:48.32788+08:00 INFO [46387,40dd9ab07d0f699b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=40dd9ab07d0f699b, duration=69.606846ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3506303}]}] 2023-02-27T15:53:48.35897+08:00 INFO [46387,6b19567fa0299d26] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6b19567fa0299d26, body={"processName":"ocp_monagent"}] 2023-02-27T15:53:48.39629+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="179.262µs" 2023-02-27T15:53:48.42086+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.74687ms 2023-02-27T15:53:48.42095+08:00 INFO [46387,6b19567fa0299d26] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3506396}]" 2023-02-27T15:53:48.42109+08:00 INFO [46387,6b19567fa0299d26] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6b19567fa0299d26, duration=61.962062ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3506396}]}] 2023-02-27T15:53:48.45953+08:00 INFO [46387,e6115111039dd2b2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e6115111039dd2b2, body={"processName":"ocp_agentd"}] 2023-02-27T15:53:48.50207+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="228.758µs" 2023-02-27T15:53:48.52693+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.087375ms 2023-02-27T15:53:48.52703+08:00 INFO [46387,e6115111039dd2b2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3506501}]" 2023-02-27T15:53:48.52713+08:00 INFO [46387,e6115111039dd2b2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e6115111039dd2b2, duration=67.516854ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3506501}]}] 2023-02-27T15:53:48.57572+08:00 INFO [46387,9458cf780dc046da] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9458cf780dc046da, body=] 2023-02-27T15:53:48.57581+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:53:48.57587+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:53:48.5759+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:53:48.57898+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:53:48.57908+08:00 INFO [46387,9458cf780dc046da] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9458cf780dc046da, duration=3.226004ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:54:48.61397+08:00 INFO [46387,327d210fd30d8f5a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=327d210fd30d8f5a, body=] 2023-02-27T15:54:48.61407+08:00 INFO [46387,327d210fd30d8f5a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=327d210fd30d8f5a, duration=2.792µs, status=200, data=2023-02-27 15:54:48.614054707 +0800 CST m=+3565.312347276] 2023-02-27T15:54:48.66202+08:00 INFO [46387,629a59eb62f2f4a1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=629a59eb62f2f4a1, body={"processName":"ocp_mgragent"}] 2023-02-27T15:54:48.70174+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="83.434µs" 2023-02-27T15:54:48.72517+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.514982ms 2023-02-27T15:54:48.72526+08:00 INFO [46387,629a59eb62f2f4a1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3566701}]" 2023-02-27T15:54:48.72544+08:00 INFO [46387,629a59eb62f2f4a1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=629a59eb62f2f4a1, duration=63.28868ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3566701}]}] 2023-02-27T15:54:48.77055+08:00 INFO [46387,e92866de53c58de6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e92866de53c58de6, body={"processName":"ocp_monagent"}] 2023-02-27T15:54:48.81105+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="168.244µs" 2023-02-27T15:54:48.83435+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.465577ms 2023-02-27T15:54:48.83452+08:00 INFO [46387,e92866de53c58de6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3566810}]" 2023-02-27T15:54:48.83463+08:00 INFO [46387,e92866de53c58de6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e92866de53c58de6, duration=63.985771ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3566810}]}] 2023-02-27T15:54:48.86736+08:00 INFO [46387,2e97ac48bd1c02db] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e97ac48bd1c02db, body={"processName":"ocp_agentd"}] 2023-02-27T15:54:48.90845+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="221.567µs" 2023-02-27T15:54:48.93057+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.34369ms 2023-02-27T15:54:48.93066+08:00 INFO [46387,2e97ac48bd1c02db] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3566908}]" 2023-02-27T15:54:48.93073+08:00 INFO [46387,2e97ac48bd1c02db] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e97ac48bd1c02db, duration=63.292088ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3566908}]}] 2023-02-27T15:54:48.99768+08:00 INFO [46387,0398092aca8e345b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0398092aca8e345b, body=] 2023-02-27T15:54:48.99785+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:54:48.99796+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:54:48.99799+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:54:49.0176+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:54:49.01771+08:00 INFO [46387,0398092aca8e345b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0398092aca8e345b, duration=19.834977ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:55:49.04953+08:00 INFO [46387,1841d057abfc4f70] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1841d057abfc4f70, body=] 2023-02-27T15:55:49.04961+08:00 INFO [46387,1841d057abfc4f70] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1841d057abfc4f70, duration=2.641µs, status=200, data=2023-02-27 15:55:49.049599066 +0800 CST m=+3625.747891626] 2023-02-27T15:55:49.09375+08:00 INFO [46387,ce64de9d1b266994] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ce64de9d1b266994, body={"processName":"ocp_mgragent"}] 2023-02-27T15:55:49.13725+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="57.15µs" 2023-02-27T15:55:49.16084+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.64942ms 2023-02-27T15:55:49.16094+08:00 INFO [46387,ce64de9d1b266994] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3627137}]" 2023-02-27T15:55:49.16103+08:00 INFO [46387,ce64de9d1b266994] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ce64de9d1b266994, duration=67.164049ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3627137}]}] 2023-02-27T15:55:49.19508+08:00 INFO [46387,a92d7d0557016141] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a92d7d0557016141, body={"processName":"ocp_monagent"}] 2023-02-27T15:55:49.24183+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="217.297µs" 2023-02-27T15:55:49.26764+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=26.033569ms 2023-02-27T15:55:49.26772+08:00 INFO [46387,a92d7d0557016141] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3627241}]" 2023-02-27T15:55:49.26781+08:00 INFO [46387,a92d7d0557016141] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a92d7d0557016141, duration=72.547348ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3627241}]}] 2023-02-27T15:55:49.30547+08:00 INFO [46387,76c9d142eff589a4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=76c9d142eff589a4, body={"processName":"ocp_agentd"}] 2023-02-27T15:55:49.35608+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="62.526µs" 2023-02-27T15:55:49.38098+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.962384ms 2023-02-27T15:55:49.38105+08:00 INFO [46387,76c9d142eff589a4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3627355}]" 2023-02-27T15:55:49.38115+08:00 INFO [46387,76c9d142eff589a4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=76c9d142eff589a4, duration=75.47804ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3627355}]}] 2023-02-27T15:55:49.44199+08:00 INFO [46387,1ba79df38b54a55e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1ba79df38b54a55e, body=] 2023-02-27T15:55:49.44207+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:55:49.44212+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:55:49.44214+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:55:49.44487+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:55:49.44499+08:00 INFO [46387,1ba79df38b54a55e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1ba79df38b54a55e, duration=2.898112ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:56:49.47872+08:00 INFO [46387,e8b4dd30ee482f1c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e8b4dd30ee482f1c, body=] 2023-02-27T15:56:49.47882+08:00 INFO [46387,e8b4dd30ee482f1c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e8b4dd30ee482f1c, duration=6.019µs, status=200, data=2023-02-27 15:56:49.478797074 +0800 CST m=+3686.177089634] 2023-02-27T15:56:49.51744+08:00 INFO [46387,2e14d957a021736c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e14d957a021736c, body={"processName":"ocp_mgragent"}] 2023-02-27T15:56:49.56396+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="60.453µs" 2023-02-27T15:56:49.58569+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=21.783254ms 2023-02-27T15:56:49.58575+08:00 INFO [46387,2e14d957a021736c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3687563}]" 2023-02-27T15:56:49.58585+08:00 INFO [46387,2e14d957a021736c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e14d957a021736c, duration=68.308781ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3687563}]}] 2023-02-27T15:56:49.61963+08:00 INFO [46387,c2d70080eec3961c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c2d70080eec3961c, body={"processName":"ocp_monagent"}] 2023-02-27T15:56:49.66052+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="53.275µs" 2023-02-27T15:56:49.68362+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.15713ms 2023-02-27T15:56:49.68369+08:00 INFO [46387,c2d70080eec3961c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3687660}]" 2023-02-27T15:56:49.68381+08:00 INFO [46387,c2d70080eec3961c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c2d70080eec3961c, duration=64.078978ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3687660}]}] 2023-02-27T15:56:49.72262+08:00 INFO [46387,943d7da8d1408101] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=943d7da8d1408101, body={"processName":"ocp_agentd"}] 2023-02-27T15:56:49.77212+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="85.923µs" 2023-02-27T15:56:49.79529+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.239851ms 2023-02-27T15:56:49.79541+08:00 INFO [46387,943d7da8d1408101] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3687771}]" 2023-02-27T15:56:49.79551+08:00 INFO [46387,943d7da8d1408101] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=943d7da8d1408101, duration=72.78066ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3687771}]}] 2023-02-27T15:56:49.84007+08:00 INFO [46387,477a971e52c32efb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=477a971e52c32efb, body=] 2023-02-27T15:56:49.84015+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:56:49.84019+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:56:49.84022+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:56:49.84293+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:56:49.84301+08:00 INFO [46387,477a971e52c32efb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=477a971e52c32efb, duration=2.836474ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:57:49.87216+08:00 INFO [46387,a01592216038b9d8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a01592216038b9d8, body=] 2023-02-27T15:57:49.87226+08:00 INFO [46387,a01592216038b9d8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a01592216038b9d8, duration=2.773µs, status=200, data=2023-02-27 15:57:49.872232259 +0800 CST m=+3746.570524820] 2023-02-27T15:57:49.9107+08:00 INFO [46387,02bb607b815ef30d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=02bb607b815ef30d, body={"processName":"ocp_mgragent"}] 2023-02-27T15:57:49.94946+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="36.595µs" 2023-02-27T15:57:49.97282+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.39073ms 2023-02-27T15:57:49.97291+08:00 INFO [46387,02bb607b815ef30d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3747949}]" 2023-02-27T15:57:49.97299+08:00 INFO [46387,02bb607b815ef30d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=02bb607b815ef30d, duration=62.197908ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3747949}]}] 2023-02-27T15:57:50.02644+08:00 INFO [46387,e94b59c1e564efae] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e94b59c1e564efae, body={"processName":"ocp_monagent"}] 2023-02-27T15:57:50.0737+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="56.884µs" 2023-02-27T15:57:50.10253+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=28.88823ms 2023-02-27T15:57:50.10262+08:00 INFO [46387,e94b59c1e564efae] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3748073}]" 2023-02-27T15:57:50.10283+08:00 INFO [46387,e94b59c1e564efae] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e94b59c1e564efae, duration=76.262137ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3748073}]}] 2023-02-27T15:57:50.14195+08:00 INFO [46387,cd53b2bbe981d781] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cd53b2bbe981d781, body={"processName":"ocp_agentd"}] 2023-02-27T15:57:50.19062+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="70.912µs" 2023-02-27T15:57:50.21583+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.287509ms 2023-02-27T15:57:50.21592+08:00 INFO [46387,cd53b2bbe981d781] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3748190}]" 2023-02-27T15:57:50.21603+08:00 INFO [46387,cd53b2bbe981d781] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cd53b2bbe981d781, duration=73.967995ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3748190}]}] 2023-02-27T15:57:50.2694+08:00 INFO [46387,2f2ee70c0ab494af] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2f2ee70c0ab494af, body=] 2023-02-27T15:57:50.26946+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:57:50.2695+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:57:50.26952+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:57:50.27258+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:57:50.27267+08:00 INFO [46387,2f2ee70c0ab494af] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2f2ee70c0ab494af, duration=3.178226ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:58:50.31131+08:00 INFO [46387,1322b0471ee33afe] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1322b0471ee33afe, body=] 2023-02-27T15:58:50.31139+08:00 INFO [46387,1322b0471ee33afe] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1322b0471ee33afe, duration=2.364µs, status=200, data=2023-02-27 15:58:50.31137169 +0800 CST m=+3807.009664256] 2023-02-27T15:58:50.35999+08:00 INFO [46387,04d6ffb51b8b56c4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=04d6ffb51b8b56c4, body={"processName":"ocp_mgragent"}] 2023-02-27T15:58:50.39706+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="40.291µs" 2023-02-27T15:58:50.42069+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.675853ms 2023-02-27T15:58:50.42079+08:00 INFO [46387,04d6ffb51b8b56c4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3808396}]" 2023-02-27T15:58:50.42088+08:00 INFO [46387,04d6ffb51b8b56c4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=04d6ffb51b8b56c4, duration=60.402804ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3808396}]}] 2023-02-27T15:58:50.4642+08:00 INFO [46387,263be0c9c9396261] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=263be0c9c9396261, body={"processName":"ocp_monagent"}] 2023-02-27T15:58:50.50424+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="51.544µs" 2023-02-27T15:58:50.52537+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.176548ms 2023-02-27T15:58:50.52544+08:00 INFO [46387,263be0c9c9396261] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3808504}]" 2023-02-27T15:58:50.52551+08:00 INFO [46387,263be0c9c9396261] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=263be0c9c9396261, duration=61.228786ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3808504}]}] 2023-02-27T15:58:50.56616+08:00 INFO [46387,2f805a2095bad95c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2f805a2095bad95c, body={"processName":"ocp_agentd"}] 2023-02-27T15:58:50.60247+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="61.804µs" 2023-02-27T15:58:50.626+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.594632ms 2023-02-27T15:58:50.62608+08:00 INFO [46387,2f805a2095bad95c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3808602}]" 2023-02-27T15:58:50.62615+08:00 INFO [46387,2f805a2095bad95c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2f805a2095bad95c, duration=59.895191ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3808602}]}] 2023-02-27T15:58:50.66839+08:00 INFO [46387,cf466d5fb5623f2d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cf466d5fb5623f2d, body=] 2023-02-27T15:58:50.66845+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:58:50.66848+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:58:50.66851+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:58:50.67079+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:58:50.67085+08:00 INFO [46387,cf466d5fb5623f2d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cf466d5fb5623f2d, duration=2.390249ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T15:59:50.70917+08:00 INFO [46387,26cda81aa2b6e4b2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=26cda81aa2b6e4b2, body=] 2023-02-27T15:59:50.70927+08:00 INFO [46387,26cda81aa2b6e4b2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=26cda81aa2b6e4b2, duration=4.423µs, status=200, data=2023-02-27 15:59:50.709243019 +0800 CST m=+3867.407535588] 2023-02-27T15:59:50.76765+08:00 INFO [46387,1f4de2cfeaec8768] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1f4de2cfeaec8768, body={"processName":"ocp_mgragent"}] 2023-02-27T15:59:50.8134+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="91.954µs" 2023-02-27T15:59:50.83851+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.216402ms 2023-02-27T15:59:50.8386+08:00 INFO [46387,1f4de2cfeaec8768] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3868813}]" 2023-02-27T15:59:50.83867+08:00 INFO [46387,1f4de2cfeaec8768] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1f4de2cfeaec8768, duration=70.943057ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3868813}]}] 2023-02-27T15:59:50.87544+08:00 INFO [46387,6f53d926c3d9edb7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6f53d926c3d9edb7, body={"processName":"ocp_monagent"}] 2023-02-27T15:59:50.91858+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=1.164551ms 2023-02-27T15:59:50.94127+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.859684ms 2023-02-27T15:59:50.94135+08:00 INFO [46387,6f53d926c3d9edb7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3868917}]" 2023-02-27T15:59:50.94143+08:00 INFO [46387,6f53d926c3d9edb7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6f53d926c3d9edb7, duration=65.907603ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3868917}]}] 2023-02-27T15:59:50.9777+08:00 INFO [46387,07dce97abb07529f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=07dce97abb07529f, body={"processName":"ocp_agentd"}] 2023-02-27T15:59:51.02379+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="80.274µs" 2023-02-27T15:59:51.04438+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=20.670068ms 2023-02-27T15:59:51.04446+08:00 INFO [46387,07dce97abb07529f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3869023}]" 2023-02-27T15:59:51.04453+08:00 INFO [46387,07dce97abb07529f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=07dce97abb07529f, duration=66.7483ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3869023}]}] 2023-02-27T15:59:51.08672+08:00 INFO [46387,2a5436f58413f9b4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2a5436f58413f9b4, body=] 2023-02-27T15:59:51.0868+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T15:59:51.08687+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T15:59:51.08691+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T15:59:51.08977+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T15:59:51.08986+08:00 INFO [46387,2a5436f58413f9b4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2a5436f58413f9b4, duration=3.031191ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:00:44.84284+08:00 INFO [46387,4570edb1bed24c5a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4570edb1bed24c5a, body={"processName":"observer"}] 2023-02-27T16:00:44.88291+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration="156.679µs" 2023-02-27T16:00:44.93264+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration=49.885284ms 2023-02-27T16:00:44.93276+08:00 INFO [46387,4570edb1bed24c5a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 3630882}]" 2023-02-27T16:00:44.93284+08:00 INFO [46387,4570edb1bed24c5a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4570edb1bed24c5a, duration=89.906344ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 3630882}]}] 2023-02-27T16:00:47.12294+08:00 INFO [46387,c68e7702a4b847b5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c68e7702a4b847b5, body={"processName":"observer"}] 2023-02-27T16:00:47.16131+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration="68.847µs" 2023-02-27T16:00:47.21121+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '52649/' || true; }, timeout=10s} fields: duration=49.96514ms 2023-02-27T16:00:47.21134+08:00 INFO [46387,c68e7702a4b847b5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 3633161}]" 2023-02-27T16:00:47.2115+08:00 INFO [46387,c68e7702a4b847b5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c68e7702a4b847b5, duration=88.465223ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 52649, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-02-27 15:00:14 +0800 CST, elapsedTime: 3633161}]}] 2023-02-27T16:00:51.12121+08:00 INFO [46387,2ee9e9c364c4651e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2ee9e9c364c4651e, body=] 2023-02-27T16:00:51.1213+08:00 INFO [46387,2ee9e9c364c4651e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2ee9e9c364c4651e, duration=3.976µs, status=200, data=2023-02-27 16:00:51.121286192 +0800 CST m=+3927.819578751] 2023-02-27T16:00:51.16189+08:00 INFO [46387,743f1af59950caa9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=743f1af59950caa9, body={"processName":"ocp_mgragent"}] 2023-02-27T16:00:51.20536+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="52.109µs" 2023-02-27T16:00:51.22816+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.854712ms 2023-02-27T16:00:51.22824+08:00 INFO [46387,743f1af59950caa9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3929205}]" 2023-02-27T16:00:51.22831+08:00 INFO [46387,743f1af59950caa9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=743f1af59950caa9, duration=66.34955ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3929205}]}] 2023-02-27T16:00:51.27267+08:00 INFO [46387,f3650eca7dedc151] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f3650eca7dedc151, body={"processName":"ocp_monagent"}] 2023-02-27T16:00:51.31412+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="55.602µs" 2023-02-27T16:00:51.3375+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.434495ms 2023-02-27T16:00:51.33758+08:00 INFO [46387,f3650eca7dedc151] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3929314}]" 2023-02-27T16:00:51.33764+08:00 INFO [46387,f3650eca7dedc151] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f3650eca7dedc151, duration=64.864708ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3929314}]}] 2023-02-27T16:00:51.37003+08:00 INFO [46387,020b6759337b2bd9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=020b6759337b2bd9, body={"processName":"ocp_agentd"}] 2023-02-27T16:00:51.41013+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="80.172µs" 2023-02-27T16:00:51.43562+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.575976ms 2023-02-27T16:00:51.43568+08:00 INFO [46387,020b6759337b2bd9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3929409}]" 2023-02-27T16:00:51.43583+08:00 INFO [46387,020b6759337b2bd9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=020b6759337b2bd9, duration=65.69515ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3929409}]}] 2023-02-27T16:00:51.48269+08:00 INFO [46387,fe9ca1d820cd0385] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fe9ca1d820cd0385, body=] 2023-02-27T16:00:51.48275+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:00:51.4828+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:00:51.48283+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:00:51.48537+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:00:51.48545+08:00 INFO [46387,fe9ca1d820cd0385] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fe9ca1d820cd0385, duration=2.680772ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:01:51.51688+08:00 INFO [46387,0b0b6fcc1b690dc0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0b0b6fcc1b690dc0, body=] 2023-02-27T16:01:51.51698+08:00 INFO [46387,0b0b6fcc1b690dc0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0b0b6fcc1b690dc0, duration=19.637µs, status=200, data=2023-02-27 16:01:51.516947961 +0800 CST m=+3988.215240543] 2023-02-27T16:01:51.55599+08:00 INFO [46387,236d3419f325e472] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=236d3419f325e472, body={"processName":"ocp_mgragent"}] 2023-02-27T16:01:51.5997+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="84.326µs" 2023-02-27T16:01:51.62294+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.321132ms 2023-02-27T16:01:51.62301+08:00 INFO [46387,236d3419f325e472] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3989599}]" 2023-02-27T16:01:51.62308+08:00 INFO [46387,236d3419f325e472] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=236d3419f325e472, duration=66.994525ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3989599}]}] 2023-02-27T16:01:51.65576+08:00 INFO [46387,ee0e3c2bbda16660] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ee0e3c2bbda16660, body={"processName":"ocp_monagent"}] 2023-02-27T16:01:51.69646+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="187.796µs" 2023-02-27T16:01:51.72154+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=25.268626ms 2023-02-27T16:01:51.72166+08:00 INFO [46387,ee0e3c2bbda16660] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3989696}]" 2023-02-27T16:01:51.72173+08:00 INFO [46387,ee0e3c2bbda16660] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ee0e3c2bbda16660, duration=65.879512ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3989696}]}] 2023-02-27T16:01:51.75227+08:00 INFO [46387,26de36d3bd215fb8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=26de36d3bd215fb8, body={"processName":"ocp_agentd"}] 2023-02-27T16:01:51.79747+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="99.553µs" 2023-02-27T16:01:51.81939+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.014299ms 2023-02-27T16:01:51.81945+08:00 INFO [46387,26de36d3bd215fb8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3989797}]" 2023-02-27T16:01:51.81956+08:00 INFO [46387,26de36d3bd215fb8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=26de36d3bd215fb8, duration=67.100482ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 3989797}]}] 2023-02-27T16:01:51.86695+08:00 INFO [46387,dda08eb45a85fc25] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dda08eb45a85fc25, body=] 2023-02-27T16:01:51.86702+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:01:51.86707+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:01:51.86711+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:01:51.86953+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:01:51.86961+08:00 INFO [46387,dda08eb45a85fc25] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dda08eb45a85fc25, duration=2.559802ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:02:51.89881+08:00 INFO [46387,c400a2674943a0bf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c400a2674943a0bf, body=] 2023-02-27T16:02:51.89894+08:00 INFO [46387,c400a2674943a0bf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c400a2674943a0bf, duration=3.814µs, status=200, data=2023-02-27 16:02:51.898880612 +0800 CST m=+4048.597173179] 2023-02-27T16:02:51.94479+08:00 INFO [46387,3f00510c5d9e781e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3f00510c5d9e781e, body={"processName":"ocp_mgragent"}] 2023-02-27T16:02:51.98534+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="77.108µs" 2023-02-27T16:02:52.00744+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.171656ms 2023-02-27T16:02:52.00751+08:00 INFO [46387,3f00510c5d9e781e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4049985}]" 2023-02-27T16:02:52.00758+08:00 INFO [46387,3f00510c5d9e781e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3f00510c5d9e781e, duration=62.69376ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4049985}]}] 2023-02-27T16:02:52.0399+08:00 INFO [46387,9fed0b78c05be9f3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9fed0b78c05be9f3, body={"processName":"ocp_monagent"}] 2023-02-27T16:02:52.08608+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="56.879µs" 2023-02-27T16:02:52.10901+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.994215ms 2023-02-27T16:02:52.1091+08:00 INFO [46387,9fed0b78c05be9f3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4050085}]" 2023-02-27T16:02:52.10919+08:00 INFO [46387,9fed0b78c05be9f3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9fed0b78c05be9f3, duration=69.183946ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4050085}]}] 2023-02-27T16:02:52.14782+08:00 INFO [46387,e258dd583221dd62] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e258dd583221dd62, body={"processName":"ocp_agentd"}] 2023-02-27T16:02:52.18615+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="56.075µs" 2023-02-27T16:02:52.20891+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.815044ms 2023-02-27T16:02:52.20905+08:00 INFO [46387,e258dd583221dd62] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4050185}]" 2023-02-27T16:02:52.20913+08:00 INFO [46387,e258dd583221dd62] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e258dd583221dd62, duration=61.215077ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4050185}]}] 2023-02-27T16:02:52.24899+08:00 INFO [46387,6d127f5a6708e7e3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d127f5a6708e7e3, body=] 2023-02-27T16:02:52.24905+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:02:52.2491+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:02:52.24912+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:02:52.25192+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:02:52.252+08:00 INFO [46387,6d127f5a6708e7e3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d127f5a6708e7e3, duration=2.928336ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:03:52.29033+08:00 INFO [46387,ab13e2a8d17697bf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ab13e2a8d17697bf, body=] 2023-02-27T16:03:52.29057+08:00 INFO [46387,ab13e2a8d17697bf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ab13e2a8d17697bf, duration=5.097µs, status=200, data=2023-02-27 16:03:52.290541437 +0800 CST m=+4108.988833997] 2023-02-27T16:03:52.3436+08:00 INFO [46387,b652302b174384fa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b652302b174384fa, body={"processName":"ocp_mgragent"}] 2023-02-27T16:03:52.39008+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="100.036µs" 2023-02-27T16:03:52.42048+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=30.499441ms 2023-02-27T16:03:52.42055+08:00 INFO [46387,b652302b174384fa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4110389}]" 2023-02-27T16:03:52.42062+08:00 INFO [46387,b652302b174384fa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b652302b174384fa, duration=76.942542ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4110389}]}] 2023-02-27T16:03:52.46492+08:00 INFO [46387,b8efc72e0a13377b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b8efc72e0a13377b, body={"processName":"ocp_monagent"}] 2023-02-27T16:03:52.51554+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="343.444µs" 2023-02-27T16:03:52.53799+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.797512ms 2023-02-27T16:03:52.5381+08:00 INFO [46387,b8efc72e0a13377b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4110514}]" 2023-02-27T16:03:52.53821+08:00 INFO [46387,b8efc72e0a13377b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b8efc72e0a13377b, duration=73.204402ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4110514}]}] 2023-02-27T16:03:52.5767+08:00 INFO [46387,9f964579e9d8fea2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9f964579e9d8fea2, body={"processName":"ocp_agentd"}] 2023-02-27T16:03:52.61658+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="37.953µs" 2023-02-27T16:03:52.63938+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.844594ms 2023-02-27T16:03:52.63946+08:00 INFO [46387,9f964579e9d8fea2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4110616}]" 2023-02-27T16:03:52.63953+08:00 INFO [46387,9f964579e9d8fea2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9f964579e9d8fea2, duration=62.754304ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4110616}]}] 2023-02-27T16:03:52.68284+08:00 INFO [46387,84137d0a6009e6f5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=84137d0a6009e6f5, body=] 2023-02-27T16:03:52.6829+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:03:52.68295+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:03:52.68298+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:03:52.68539+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:03:52.68549+08:00 INFO [46387,84137d0a6009e6f5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=84137d0a6009e6f5, duration=2.564968ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:04:52.72118+08:00 INFO [46387,f62553c8e8cd5137] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f62553c8e8cd5137, body=] 2023-02-27T16:04:52.72161+08:00 INFO [46387,f62553c8e8cd5137] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f62553c8e8cd5137, duration=2.465µs, status=200, data=2023-02-27 16:04:52.721259379 +0800 CST m=+4169.419551945] 2023-02-27T16:04:52.76337+08:00 INFO [46387,177722452e1cc855] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=177722452e1cc855, body={"processName":"ocp_mgragent"}] 2023-02-27T16:04:52.80429+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="68.508µs" 2023-02-27T16:04:52.83156+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=27.349144ms 2023-02-27T16:04:52.83171+08:00 INFO [46387,177722452e1cc855] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4170804}]" 2023-02-27T16:04:52.83186+08:00 INFO [46387,177722452e1cc855] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=177722452e1cc855, duration=68.406086ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4170804}]}] 2023-02-27T16:04:52.86542+08:00 INFO [46387,e400ff900cd1b63f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e400ff900cd1b63f, body={"processName":"ocp_monagent"}] 2023-02-27T16:04:52.90609+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="60.837µs" 2023-02-27T16:04:52.93264+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=26.617835ms 2023-02-27T16:04:52.93272+08:00 INFO [46387,e400ff900cd1b63f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4170905}]" 2023-02-27T16:04:52.93279+08:00 INFO [46387,e400ff900cd1b63f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e400ff900cd1b63f, duration=67.287535ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4170905}]}] 2023-02-27T16:04:52.97325+08:00 INFO [46387,dc71f334e40d5800] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc71f334e40d5800, body={"processName":"ocp_agentd"}] 2023-02-27T16:04:53.01511+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="166.572µs" 2023-02-27T16:04:53.03967+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.725764ms 2023-02-27T16:04:53.03975+08:00 INFO [46387,dc71f334e40d5800] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4171014}]" 2023-02-27T16:04:53.03984+08:00 INFO [46387,dc71f334e40d5800] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dc71f334e40d5800, duration=66.502698ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4171014}]}] 2023-02-27T16:04:53.09152+08:00 INFO [46387,3db43f3c2a7e2485] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3db43f3c2a7e2485, body=] 2023-02-27T16:04:53.09159+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:04:53.09163+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:04:53.09165+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:04:53.09467+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:04:53.09475+08:00 INFO [46387,3db43f3c2a7e2485] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3db43f3c2a7e2485, duration=3.134208ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:05:53.12803+08:00 INFO [46387,916f4864cd04a9a2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=916f4864cd04a9a2, body=] 2023-02-27T16:05:53.12814+08:00 INFO [46387,916f4864cd04a9a2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=916f4864cd04a9a2, duration=5.055µs, status=200, data=2023-02-27 16:05:53.128120867 +0800 CST m=+4229.826413433] 2023-02-27T16:05:53.1822+08:00 INFO [46387,aa9c5a8af9698a74] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=aa9c5a8af9698a74, body={"processName":"ocp_mgragent"}] 2023-02-27T16:05:53.22714+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="154.959µs" 2023-02-27T16:05:53.25537+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=28.384673ms 2023-02-27T16:05:53.25555+08:00 INFO [46387,aa9c5a8af9698a74] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4231226}]" 2023-02-27T16:05:53.25564+08:00 INFO [46387,aa9c5a8af9698a74] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=aa9c5a8af9698a74, duration=73.258061ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4231226}]}] 2023-02-27T16:05:53.30813+08:00 INFO [46387,c54b6a92945c8d7f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c54b6a92945c8d7f, body={"processName":"ocp_monagent"}] 2023-02-27T16:05:53.34945+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="149.712µs" 2023-02-27T16:05:53.37352+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.22588ms 2023-02-27T16:05:53.37361+08:00 INFO [46387,c54b6a92945c8d7f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4231349}]" 2023-02-27T16:05:53.37368+08:00 INFO [46387,c54b6a92945c8d7f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c54b6a92945c8d7f, duration=65.464497ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4231349}]}] 2023-02-27T16:05:53.4141+08:00 INFO [46387,2a5c1e95afa4b269] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2a5c1e95afa4b269, body={"processName":"ocp_agentd"}] 2023-02-27T16:05:53.45574+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="80.448µs" 2023-02-27T16:05:53.48664+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=30.984954ms 2023-02-27T16:05:53.48672+08:00 INFO [46387,2a5c1e95afa4b269] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4231455}]" 2023-02-27T16:05:53.48682+08:00 INFO [46387,2a5c1e95afa4b269] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2a5c1e95afa4b269, duration=72.637242ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4231455}]}] 2023-02-27T16:05:53.54067+08:00 INFO [46387,efef300316092475] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=efef300316092475, body=] 2023-02-27T16:05:53.54074+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:05:53.5408+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:05:53.54082+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:05:53.54421+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:05:53.54432+08:00 INFO [46387,efef300316092475] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=efef300316092475, duration=3.551868ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:06:53.57421+08:00 INFO [46387,1b22dbea1e55ebd3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1b22dbea1e55ebd3, body=] 2023-02-27T16:06:53.57433+08:00 INFO [46387,1b22dbea1e55ebd3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=1b22dbea1e55ebd3, duration=3.669µs, status=200, data=2023-02-27 16:06:53.574307073 +0800 CST m=+4290.272599652] 2023-02-27T16:06:53.61637+08:00 INFO [46387,817c5690100a0302] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=817c5690100a0302, body={"processName":"ocp_mgragent"}] 2023-02-27T16:06:53.65384+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="172.914µs" 2023-02-27T16:06:53.67614+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.482672ms 2023-02-27T16:06:53.67622+08:00 INFO [46387,817c5690100a0302] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4291653}]" 2023-02-27T16:06:53.67629+08:00 INFO [46387,817c5690100a0302] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=817c5690100a0302, duration=59.828495ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4291653}]}] 2023-02-27T16:06:53.71859+08:00 INFO [46387,7e71fd98d6f22c75] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7e71fd98d6f22c75, body={"processName":"ocp_monagent"}] 2023-02-27T16:06:53.75793+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="84.227µs" 2023-02-27T16:06:53.78214+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.288721ms 2023-02-27T16:06:53.78221+08:00 INFO [46387,7e71fd98d6f22c75] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4291757}]" 2023-02-27T16:06:53.78227+08:00 INFO [46387,7e71fd98d6f22c75] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7e71fd98d6f22c75, duration=63.613176ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4291757}]}] 2023-02-27T16:06:53.81218+08:00 INFO [46387,4d27d1e6a142ced1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4d27d1e6a142ced1, body={"processName":"ocp_agentd"}] 2023-02-27T16:06:53.85631+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="165.477µs" 2023-02-27T16:06:53.88014+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.993543ms 2023-02-27T16:06:53.88023+08:00 INFO [46387,4d27d1e6a142ced1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4291856}]" 2023-02-27T16:06:53.88034+08:00 INFO [46387,4d27d1e6a142ced1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=4d27d1e6a142ced1, duration=68.063092ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4291856}]}] 2023-02-27T16:06:53.92584+08:00 INFO [46387,831ac616111abcb7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=831ac616111abcb7, body=] 2023-02-27T16:06:53.9259+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:06:53.92597+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:06:53.92599+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:06:53.92846+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:06:53.92855+08:00 INFO [46387,831ac616111abcb7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=831ac616111abcb7, duration=2.622282ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:07:53.95818+08:00 INFO [46387,0f00f4830d128923] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0f00f4830d128923, body=] 2023-02-27T16:07:53.95829+08:00 INFO [46387,0f00f4830d128923] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0f00f4830d128923, duration=4.188µs, status=200, data=2023-02-27 16:07:53.958252731 +0800 CST m=+4350.656545311] 2023-02-27T16:07:54.00434+08:00 INFO [46387,07f69f1d25a17555] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=07f69f1d25a17555, body={"processName":"ocp_mgragent"}] 2023-02-27T16:07:54.04294+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="123.705µs" 2023-02-27T16:07:54.06937+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=26.552015ms 2023-02-27T16:07:54.06946+08:00 INFO [46387,07f69f1d25a17555] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352040}]" 2023-02-27T16:07:54.06953+08:00 INFO [46387,07f69f1d25a17555] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=07f69f1d25a17555, duration=65.103515ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352040}]}] 2023-02-27T16:07:54.10247+08:00 INFO [46387,cbf62989fe4b0ec1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cbf62989fe4b0ec1, body={"processName":"ocp_monagent"}] 2023-02-27T16:07:54.14129+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="111.643µs" 2023-02-27T16:07:54.16289+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.710415ms 2023-02-27T16:07:54.16296+08:00 INFO [46387,cbf62989fe4b0ec1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352141}]" 2023-02-27T16:07:54.16305+08:00 INFO [46387,cbf62989fe4b0ec1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cbf62989fe4b0ec1, duration=60.490599ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352141}]}] 2023-02-27T16:07:54.20523+08:00 INFO [46387,efd049699a630ef1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=efd049699a630ef1, body={"processName":"ocp_agentd"}] 2023-02-27T16:07:54.24938+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="86.067µs" 2023-02-27T16:07:54.27233+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.036736ms 2023-02-27T16:07:54.27241+08:00 INFO [46387,efd049699a630ef1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352249}]" 2023-02-27T16:07:54.27248+08:00 INFO [46387,efd049699a630ef1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=efd049699a630ef1, duration=67.166618ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4352249}]}] 2023-02-27T16:07:54.32804+08:00 INFO [46387,76c91088dd0cefbd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=76c91088dd0cefbd, body=] 2023-02-27T16:07:54.32813+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:07:54.32817+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:07:54.32821+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:07:54.33184+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:07:54.33193+08:00 INFO [46387,76c91088dd0cefbd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=76c91088dd0cefbd, duration=3.778525ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:08:54.36264+08:00 INFO [46387,0875a1508d648239] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0875a1508d648239, body=] 2023-02-27T16:08:54.36272+08:00 INFO [46387,0875a1508d648239] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0875a1508d648239, duration=2.806µs, status=200, data=2023-02-27 16:08:54.362712965 +0800 CST m=+4411.061005537] 2023-02-27T16:08:54.40312+08:00 INFO [46387,2e09254c689d3e83] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e09254c689d3e83, body={"processName":"ocp_mgragent"}] 2023-02-27T16:08:54.44358+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="45.458µs" 2023-02-27T16:08:54.46854+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.005542ms 2023-02-27T16:08:54.46863+08:00 INFO [46387,2e09254c689d3e83] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4412443}]" 2023-02-27T16:08:54.46874+08:00 INFO [46387,2e09254c689d3e83] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2e09254c689d3e83, duration=65.523178ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4412443}]}] 2023-02-27T16:08:54.50085+08:00 INFO [46387,b723788c755ddb95] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b723788c755ddb95, body={"processName":"ocp_monagent"}] 2023-02-27T16:08:54.5406+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="383.359µs" 2023-02-27T16:08:54.5642+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.97977ms 2023-02-27T16:08:54.56429+08:00 INFO [46387,b723788c755ddb95] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4412540}]" 2023-02-27T16:08:54.5644+08:00 INFO [46387,b723788c755ddb95] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b723788c755ddb95, duration=63.434153ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4412540}]}] 2023-02-27T16:08:54.60067+08:00 INFO [46387,2d9026ac945db2da] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2d9026ac945db2da, body={"processName":"ocp_agentd"}] 2023-02-27T16:08:54.63976+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="82.184µs" 2023-02-27T16:08:54.66646+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=26.774813ms 2023-02-27T16:08:54.66653+08:00 INFO [46387,2d9026ac945db2da] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4412639}]" 2023-02-27T16:08:54.66661+08:00 INFO [46387,2d9026ac945db2da] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2d9026ac945db2da, duration=65.830763ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4412639}]}] 2023-02-27T16:08:54.72386+08:00 INFO [46387,d79e06e897347ec4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d79e06e897347ec4, body=] 2023-02-27T16:08:54.72398+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:08:54.72404+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:08:54.72406+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:08:54.73021+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:08:54.7303+08:00 INFO [46387,d79e06e897347ec4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d79e06e897347ec4, duration=6.295706ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:09:54.77046+08:00 INFO [46387,bbe4e562d1324806] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bbe4e562d1324806, body=] 2023-02-27T16:09:54.77054+08:00 INFO [46387,bbe4e562d1324806] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bbe4e562d1324806, duration=2.734µs, status=200, data=2023-02-27 16:09:54.77052987 +0800 CST m=+4471.468822429] 2023-02-27T16:09:54.83561+08:00 INFO [46387,27a17b7756df039d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=27a17b7756df039d, body={"processName":"ocp_mgragent"}] 2023-02-27T16:09:54.87716+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="163.516µs" 2023-02-27T16:09:54.90566+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=28.657139ms 2023-02-27T16:09:54.90573+08:00 INFO [46387,27a17b7756df039d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4472876}]" 2023-02-27T16:09:54.90583+08:00 INFO [46387,27a17b7756df039d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=27a17b7756df039d, duration=70.104059ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4472876}]}] 2023-02-27T16:09:54.9556+08:00 INFO [46387,2fa1bb540b050f04] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2fa1bb540b050f04, body={"processName":"ocp_monagent"}] 2023-02-27T16:09:55.00084+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="152.819µs" 2023-02-27T16:09:55.02533+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.649476ms 2023-02-27T16:09:55.02553+08:00 INFO [46387,2fa1bb540b050f04] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4473000}]" 2023-02-27T16:09:55.02564+08:00 INFO [46387,2fa1bb540b050f04] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2fa1bb540b050f04, duration=69.956286ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4473000}]}] 2023-02-27T16:09:55.06395+08:00 INFO [46387,7395c1185713eef6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7395c1185713eef6, body={"processName":"ocp_agentd"}] 2023-02-27T16:09:55.10937+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="106.292µs" 2023-02-27T16:09:55.13517+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.904721ms 2023-02-27T16:09:55.13525+08:00 INFO [46387,7395c1185713eef6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4473109}]" 2023-02-27T16:09:55.13533+08:00 INFO [46387,7395c1185713eef6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7395c1185713eef6, duration=71.291627ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4473109}]}] 2023-02-27T16:09:55.18364+08:00 INFO [46387,70bd6972d93a28c7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=70bd6972d93a28c7, body=] 2023-02-27T16:09:55.18369+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:09:55.18373+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:09:55.18374+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:09:55.18632+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:09:55.18641+08:00 INFO [46387,70bd6972d93a28c7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=70bd6972d93a28c7, duration=2.692078ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:10:55.22174+08:00 INFO [46387,bccece92e5f94fe3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bccece92e5f94fe3, body=] 2023-02-27T16:10:55.22185+08:00 INFO [46387,bccece92e5f94fe3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bccece92e5f94fe3, duration=12.579µs, status=200, data=2023-02-27 16:10:55.221815752 +0800 CST m=+4531.920108327] 2023-02-27T16:10:55.26845+08:00 INFO [46387,6c2a4d3e93dd487d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6c2a4d3e93dd487d, body={"processName":"ocp_mgragent"}] 2023-02-27T16:10:55.31997+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="70.637µs" 2023-02-27T16:10:55.34513+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.236261ms 2023-02-27T16:10:55.34522+08:00 INFO [46387,6c2a4d3e93dd487d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4533319}]" 2023-02-27T16:10:55.34532+08:00 INFO [46387,6c2a4d3e93dd487d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6c2a4d3e93dd487d, duration=76.753451ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4533319}]}] 2023-02-27T16:10:55.37799+08:00 INFO [46387,db66f050f592623f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=db66f050f592623f, body={"processName":"ocp_monagent"}] 2023-02-27T16:10:55.42154+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="127.089µs" 2023-02-27T16:10:55.44524+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.8309ms 2023-02-27T16:10:55.44531+08:00 INFO [46387,db66f050f592623f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4533421}]" 2023-02-27T16:10:55.44539+08:00 INFO [46387,db66f050f592623f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=db66f050f592623f, duration=67.318527ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4533421}]}] 2023-02-27T16:10:55.48652+08:00 INFO [46387,10d4dd1d3ce35ca0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=10d4dd1d3ce35ca0, body={"processName":"ocp_agentd"}] 2023-02-27T16:10:55.53657+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="246.951µs" 2023-02-27T16:10:55.5615+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.245612ms 2023-02-27T16:10:55.5622+08:00 INFO [46387,10d4dd1d3ce35ca0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4533536}]" 2023-02-27T16:10:55.56237+08:00 INFO [46387,10d4dd1d3ce35ca0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=10d4dd1d3ce35ca0, duration=75.774555ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4533536}]}] 2023-02-27T16:10:55.61111+08:00 INFO [46387,d93e2d73e2cda90e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d93e2d73e2cda90e, body=] 2023-02-27T16:10:55.61119+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:10:55.61125+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:10:55.61127+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:10:55.61428+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:10:55.61435+08:00 INFO [46387,d93e2d73e2cda90e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d93e2d73e2cda90e, duration=3.142946ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:11:55.65071+08:00 INFO [46387,fca6464d120e6cca] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fca6464d120e6cca, body=] 2023-02-27T16:11:55.65081+08:00 INFO [46387,fca6464d120e6cca] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=fca6464d120e6cca, duration=3.341µs, status=200, data=2023-02-27 16:11:55.650774684 +0800 CST m=+4592.349067256] 2023-02-27T16:11:55.69386+08:00 INFO [46387,23ed6dafa1b4933c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=23ed6dafa1b4933c, body={"processName":"ocp_mgragent"}] 2023-02-27T16:11:55.73642+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="192.341µs" 2023-02-27T16:11:55.76087+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=24.645539ms 2023-02-27T16:11:55.76096+08:00 INFO [46387,23ed6dafa1b4933c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4593736}]" 2023-02-27T16:11:55.76106+08:00 INFO [46387,23ed6dafa1b4933c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=23ed6dafa1b4933c, duration=67.098084ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4593736}]}] 2023-02-27T16:11:55.80116+08:00 INFO [46387,e8c1934b4eb86ee8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e8c1934b4eb86ee8, body={"processName":"ocp_monagent"}] 2023-02-27T16:11:55.84565+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="91.651µs" 2023-02-27T16:11:55.86673+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.172945ms 2023-02-27T16:11:55.86683+08:00 INFO [46387,e8c1934b4eb86ee8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4593845}]" 2023-02-27T16:11:55.8669+08:00 INFO [46387,e8c1934b4eb86ee8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e8c1934b4eb86ee8, duration=65.659644ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4593845}]}] 2023-02-27T16:11:55.89967+08:00 INFO [46387,e09619210015ca63] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e09619210015ca63, body={"processName":"ocp_agentd"}] 2023-02-27T16:11:55.94418+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="96.599µs" 2023-02-27T16:11:55.96774+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.658142ms 2023-02-27T16:11:55.96782+08:00 INFO [46387,e09619210015ca63] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4593943}]" 2023-02-27T16:11:55.96789+08:00 INFO [46387,e09619210015ca63] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e09619210015ca63, duration=67.974684ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4593943}]}] 2023-02-27T16:11:56.02606+08:00 INFO [46387,339ff77e8db805a1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=339ff77e8db805a1, body=] 2023-02-27T16:11:56.02612+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:11:56.02616+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:11:56.02618+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:11:56.02914+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:11:56.02923+08:00 INFO [46387,339ff77e8db805a1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=339ff77e8db805a1, duration=3.081485ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:12:56.06992+08:00 INFO [46387,8e8d94643f40fe7f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8e8d94643f40fe7f, body=] 2023-02-27T16:12:56.07007+08:00 INFO [46387,8e8d94643f40fe7f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8e8d94643f40fe7f, duration=17.277µs, status=200, data=2023-02-27 16:12:56.070029443 +0800 CST m=+4652.768322007] 2023-02-27T16:12:56.12173+08:00 INFO [46387,76b9f49803587dd1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=76b9f49803587dd1, body={"processName":"ocp_mgragent"}] 2023-02-27T16:12:56.16333+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="66.606µs" 2023-02-27T16:12:56.1853+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.034207ms 2023-02-27T16:12:56.18537+08:00 INFO [46387,76b9f49803587dd1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4654163}]" 2023-02-27T16:12:56.1855+08:00 INFO [46387,76b9f49803587dd1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=76b9f49803587dd1, duration=63.672003ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4654163}]}] 2023-02-27T16:12:56.22898+08:00 INFO [46387,bd49a4f98b33c0f8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bd49a4f98b33c0f8, body={"processName":"ocp_monagent"}] 2023-02-27T16:12:56.27486+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="121.458µs" 2023-02-27T16:12:56.2969+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=22.166092ms 2023-02-27T16:12:56.29697+08:00 INFO [46387,bd49a4f98b33c0f8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4654274}]" 2023-02-27T16:12:56.29713+08:00 INFO [46387,bd49a4f98b33c0f8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=bd49a4f98b33c0f8, duration=68.040736ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4654274}]}] 2023-02-27T16:12:56.33316+08:00 INFO [46387,f71b8d9f0a7dfdd5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f71b8d9f0a7dfdd5, body={"processName":"ocp_agentd"}] 2023-02-27T16:12:56.36999+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="90.616µs" 2023-02-27T16:12:56.39312+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.227884ms 2023-02-27T16:12:56.39319+08:00 INFO [46387,f71b8d9f0a7dfdd5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4654369}]" 2023-02-27T16:12:56.39327+08:00 INFO [46387,f71b8d9f0a7dfdd5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=f71b8d9f0a7dfdd5, duration=60.032609ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4654369}]}] 2023-02-27T16:12:56.43831+08:00 INFO [46387,a84254815c1770c1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a84254815c1770c1, body=] 2023-02-27T16:12:56.43837+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:12:56.43843+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:12:56.43846+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:12:56.44109+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:12:56.44118+08:00 INFO [46387,a84254815c1770c1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a84254815c1770c1, duration=2.7879ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:13:56.4748+08:00 INFO [46387,b8233cb877e88d3e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b8233cb877e88d3e, body=] 2023-02-27T16:13:56.47489+08:00 INFO [46387,b8233cb877e88d3e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b8233cb877e88d3e, duration=4.37µs, status=200, data=2023-02-27 16:13:56.474870966 +0800 CST m=+4713.173163526] 2023-02-27T16:13:56.52609+08:00 INFO [46387,0a19a9b8b2065aeb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0a19a9b8b2065aeb, body={"processName":"ocp_mgragent"}] 2023-02-27T16:13:56.56443+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="47.581µs" 2023-02-27T16:13:56.58663+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=22.243592ms 2023-02-27T16:13:56.5867+08:00 INFO [46387,0a19a9b8b2065aeb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4714564}]" 2023-02-27T16:13:56.58676+08:00 INFO [46387,0a19a9b8b2065aeb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0a19a9b8b2065aeb, duration=60.582158ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4714564}]}] 2023-02-27T16:13:56.61969+08:00 INFO [46387,054989e5caa6efcd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=054989e5caa6efcd, body={"processName":"ocp_monagent"}] 2023-02-27T16:13:56.66066+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="50.875µs" 2023-02-27T16:13:56.68185+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.249501ms 2023-02-27T16:13:56.68194+08:00 INFO [46387,054989e5caa6efcd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4714660}]" 2023-02-27T16:13:56.68204+08:00 INFO [46387,054989e5caa6efcd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=054989e5caa6efcd, duration=62.2362ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4714660}]}] 2023-02-27T16:13:56.71792+08:00 INFO [46387,d102ef9f6af26139] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d102ef9f6af26139, body={"processName":"ocp_agentd"}] 2023-02-27T16:13:56.7576+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="68.292µs" 2023-02-27T16:13:56.78267+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.144619ms 2023-02-27T16:13:56.78274+08:00 INFO [46387,d102ef9f6af26139] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4714757}]" 2023-02-27T16:13:56.78283+08:00 INFO [46387,d102ef9f6af26139] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d102ef9f6af26139, duration=64.784892ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4714757}]}] 2023-02-27T16:13:56.83716+08:00 INFO [46387,b6f2a750d4e3dd5c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b6f2a750d4e3dd5c, body=] 2023-02-27T16:13:56.83722+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:13:56.83725+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:13:56.83727+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:13:56.84003+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:13:56.84011+08:00 INFO [46387,b6f2a750d4e3dd5c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b6f2a750d4e3dd5c, duration=2.875317ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:14:56.87282+08:00 INFO [46387,66b0a7233f411025] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=66b0a7233f411025, body=] 2023-02-27T16:14:56.87294+08:00 INFO [46387,66b0a7233f411025] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=66b0a7233f411025, duration=3.426µs, status=200, data=2023-02-27 16:14:56.872922642 +0800 CST m=+4773.571215202] 2023-02-27T16:14:56.91761+08:00 INFO [46387,0a8f9de4d46e8d07] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0a8f9de4d46e8d07, body={"processName":"ocp_mgragent"}] 2023-02-27T16:14:56.96957+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="63.319µs" 2023-02-27T16:14:56.99473+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.229286ms 2023-02-27T16:14:56.99484+08:00 INFO [46387,0a8f9de4d46e8d07] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4774969}]" 2023-02-27T16:14:56.99496+08:00 INFO [46387,0a8f9de4d46e8d07] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0a8f9de4d46e8d07, duration=77.266115ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4774969}]}] 2023-02-27T16:14:57.03886+08:00 INFO [46387,6d000c6cde132bd6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d000c6cde132bd6, body={"processName":"ocp_monagent"}] 2023-02-27T16:14:57.07744+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="78.399µs" 2023-02-27T16:14:57.10051+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.140877ms 2023-02-27T16:14:57.10058+08:00 INFO [46387,6d000c6cde132bd6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4775077}]" 2023-02-27T16:14:57.10067+08:00 INFO [46387,6d000c6cde132bd6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6d000c6cde132bd6, duration=61.730568ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4775077}]}] 2023-02-27T16:14:57.1473+08:00 INFO [46387,e9af7cf4b07eab95] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e9af7cf4b07eab95, body={"processName":"ocp_agentd"}] 2023-02-27T16:14:57.1877+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="106.917µs" 2023-02-27T16:14:57.21185+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=24.253286ms 2023-02-27T16:14:57.21194+08:00 INFO [46387,e9af7cf4b07eab95] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4775186}]" 2023-02-27T16:14:57.21204+08:00 INFO [46387,e9af7cf4b07eab95] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e9af7cf4b07eab95, duration=64.649095ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4775186}]}] 2023-02-27T16:14:57.27042+08:00 INFO [46387,e6a495a527f203e6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e6a495a527f203e6, body=] 2023-02-27T16:14:57.2705+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:14:57.27055+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:14:57.27059+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:14:57.27341+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:14:57.2735+08:00 INFO [46387,e6a495a527f203e6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e6a495a527f203e6, duration=2.97107ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:15:57.31414+08:00 INFO [46387,aac927a269658451] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=aac927a269658451, body=] 2023-02-27T16:15:57.31453+08:00 INFO [46387,aac927a269658451] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=aac927a269658451, duration=4.919µs, status=200, data=2023-02-27 16:15:57.314427388 +0800 CST m=+4834.012719957] 2023-02-27T16:15:57.36946+08:00 INFO [46387,775b257947475799] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=775b257947475799, body={"processName":"ocp_mgragent"}] 2023-02-27T16:15:57.41761+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="96.672µs" 2023-02-27T16:15:57.44413+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=26.616666ms 2023-02-27T16:15:57.4442+08:00 INFO [46387,775b257947475799] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4835417}]" 2023-02-27T16:15:57.44427+08:00 INFO [46387,775b257947475799] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=775b257947475799, duration=74.730331ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4835417}]}] 2023-02-27T16:15:57.49128+08:00 INFO [46387,0ce73ff824c56fe3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0ce73ff824c56fe3, body={"processName":"ocp_monagent"}] 2023-02-27T16:15:57.53375+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="68.39µs" 2023-02-27T16:15:57.55697+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.290548ms 2023-02-27T16:15:57.55705+08:00 INFO [46387,0ce73ff824c56fe3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4835533}]" 2023-02-27T16:15:57.55716+08:00 INFO [46387,0ce73ff824c56fe3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0ce73ff824c56fe3, duration=65.793162ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4835533}]}] 2023-02-27T16:15:57.59784+08:00 INFO [46387,9baa2b79db9f5150] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9baa2b79db9f5150, body={"processName":"ocp_agentd"}] 2023-02-27T16:15:57.6385+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="277.156µs" 2023-02-27T16:15:57.66121+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=22.984234ms 2023-02-27T16:15:57.66129+08:00 INFO [46387,9baa2b79db9f5150] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4835638}]" 2023-02-27T16:15:57.66135+08:00 INFO [46387,9baa2b79db9f5150] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9baa2b79db9f5150, duration=63.423103ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4835638}]}] 2023-02-27T16:15:57.7055+08:00 INFO [46387,8487e13ef38e997a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8487e13ef38e997a, body=] 2023-02-27T16:15:57.70555+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:15:57.7056+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:15:57.70564+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:15:57.70882+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:15:57.70892+08:00 INFO [46387,8487e13ef38e997a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8487e13ef38e997a, duration=3.322322ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:16:57.74011+08:00 INFO [46387,ce8d6205b8cc167f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ce8d6205b8cc167f, body=] 2023-02-27T16:16:57.7402+08:00 INFO [46387,ce8d6205b8cc167f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=ce8d6205b8cc167f, duration=3.469µs, status=200, data=2023-02-27 16:16:57.740182093 +0800 CST m=+4894.438474653] 2023-02-27T16:16:57.79456+08:00 INFO [46387,3b86ba7e1591575f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3b86ba7e1591575f, body={"processName":"ocp_mgragent"}] 2023-02-27T16:16:57.84172+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="93.284µs" 2023-02-27T16:16:57.86248+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=20.846491ms 2023-02-27T16:16:57.86255+08:00 INFO [46387,3b86ba7e1591575f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4895841}]" 2023-02-27T16:16:57.86262+08:00 INFO [46387,3b86ba7e1591575f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=3b86ba7e1591575f, duration=67.912674ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4895841}]}] 2023-02-27T16:16:57.89794+08:00 INFO [46387,c804ab35182faa02] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c804ab35182faa02, body={"processName":"ocp_monagent"}] 2023-02-27T16:16:57.93563+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="47.446µs" 2023-02-27T16:16:57.96007+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.481748ms 2023-02-27T16:16:57.96015+08:00 INFO [46387,c804ab35182faa02] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4895935}]" 2023-02-27T16:16:57.96023+08:00 INFO [46387,c804ab35182faa02] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=c804ab35182faa02, duration=62.210511ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4895935}]}] 2023-02-27T16:16:58.00059+08:00 INFO [46387,b1d2a8252c5ad88d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b1d2a8252c5ad88d, body={"processName":"ocp_agentd"}] 2023-02-27T16:16:58.04818+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="102.977µs" 2023-02-27T16:16:58.07109+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.008233ms 2023-02-27T16:16:58.07116+08:00 INFO [46387,b1d2a8252c5ad88d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4896047}]" 2023-02-27T16:16:58.07123+08:00 INFO [46387,b1d2a8252c5ad88d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b1d2a8252c5ad88d, duration=70.550279ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4896047}]}] 2023-02-27T16:16:58.12281+08:00 INFO [46387,9964bb04257c987b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9964bb04257c987b, body=] 2023-02-27T16:16:58.12289+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:16:58.12294+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:16:58.12297+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:16:58.12587+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:16:58.12594+08:00 INFO [46387,9964bb04257c987b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9964bb04257c987b, duration=3.02761ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:17:58.1715+08:00 INFO [46387,65e1e0a721c8bc6e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=65e1e0a721c8bc6e, body=] 2023-02-27T16:17:58.17161+08:00 INFO [46387,65e1e0a721c8bc6e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=65e1e0a721c8bc6e, duration=2.76µs, status=200, data=2023-02-27 16:17:58.171556693 +0800 CST m=+4954.869849253] 2023-02-27T16:17:58.22155+08:00 INFO [46387,e461f93fdcb96b00] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e461f93fdcb96b00, body={"processName":"ocp_mgragent"}] 2023-02-27T16:17:58.26669+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="176.209µs" 2023-02-27T16:17:58.2902+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.692078ms 2023-02-27T16:17:58.29032+08:00 INFO [46387,e461f93fdcb96b00] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4956266}]" 2023-02-27T16:17:58.29041+08:00 INFO [46387,e461f93fdcb96b00] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e461f93fdcb96b00, duration=68.769336ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4956266}]}] 2023-02-27T16:17:58.3325+08:00 INFO [46387,8ceabed077d9f8a0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8ceabed077d9f8a0, body={"processName":"ocp_monagent"}] 2023-02-27T16:17:58.37788+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="76.883µs" 2023-02-27T16:17:58.40089+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.090686ms 2023-02-27T16:17:58.40099+08:00 INFO [46387,8ceabed077d9f8a0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4956377}]" 2023-02-27T16:17:58.40107+08:00 INFO [46387,8ceabed077d9f8a0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8ceabed077d9f8a0, duration=68.493278ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4956377}]}] 2023-02-27T16:17:58.43349+08:00 INFO [46387,d09c4d1c446ec656] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d09c4d1c446ec656, body={"processName":"ocp_agentd"}] 2023-02-27T16:17:58.47768+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="76.708µs" 2023-02-27T16:17:58.50334+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=25.757545ms 2023-02-27T16:17:58.50348+08:00 INFO [46387,d09c4d1c446ec656] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4956477}]" 2023-02-27T16:17:58.5036+08:00 INFO [46387,d09c4d1c446ec656] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=d09c4d1c446ec656, duration=70.009713ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 4956477}]}] 2023-02-27T16:17:58.54919+08:00 INFO [46387,51bfd1114a9eca4a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=51bfd1114a9eca4a, body=] 2023-02-27T16:17:58.54929+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:17:58.54934+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:17:58.54936+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:17:58.55208+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:17:58.55217+08:00 INFO [46387,51bfd1114a9eca4a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=51bfd1114a9eca4a, duration=2.856524ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:18:58.59097+08:00 INFO [46387,35ede92b250a295e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=35ede92b250a295e, body=] 2023-02-27T16:18:58.59107+08:00 INFO [46387,35ede92b250a295e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=35ede92b250a295e, duration=3.607µs, status=200, data=2023-02-27 16:18:58.591047634 +0800 CST m=+5015.289340199] 2023-02-27T16:18:58.63996+08:00 INFO [46387,7c7295a2e7d55dc1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7c7295a2e7d55dc1, body={"processName":"ocp_mgragent"}] 2023-02-27T16:18:58.68247+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="64.002µs" 2023-02-27T16:18:58.70797+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=25.566889ms 2023-02-27T16:18:58.70805+08:00 INFO [46387,7c7295a2e7d55dc1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5016682}]" 2023-02-27T16:18:58.70814+08:00 INFO [46387,7c7295a2e7d55dc1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=7c7295a2e7d55dc1, duration=68.083042ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5016682}]}] 2023-02-27T16:18:58.75648+08:00 INFO [46387,a93e1202b07c7b8e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a93e1202b07c7b8e, body={"processName":"ocp_monagent"}] 2023-02-27T16:18:58.79645+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="345.62µs" 2023-02-27T16:18:58.81798+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.872466ms 2023-02-27T16:18:58.81804+08:00 INFO [46387,a93e1202b07c7b8e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5016795}]" 2023-02-27T16:18:58.81811+08:00 INFO [46387,a93e1202b07c7b8e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a93e1202b07c7b8e, duration=61.553612ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5016795}]}] 2023-02-27T16:18:58.85356+08:00 INFO [46387,efea50254800b04d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=efea50254800b04d, body={"processName":"ocp_agentd"}] 2023-02-27T16:18:58.89201+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="40.274µs" 2023-02-27T16:18:58.91381+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.847711ms 2023-02-27T16:18:58.91388+08:00 INFO [46387,efea50254800b04d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5016891}]" 2023-02-27T16:18:58.914+08:00 INFO [46387,efea50254800b04d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=efea50254800b04d, duration=60.332329ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5016891}]}] 2023-02-27T16:18:58.95687+08:00 INFO [46387,0798970804cef450] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0798970804cef450, body=] 2023-02-27T16:18:58.95693+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:18:58.95698+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:18:58.957+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:18:58.95938+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:18:58.95948+08:00 INFO [46387,0798970804cef450] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=0798970804cef450, duration=2.518493ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:19:58.99334+08:00 INFO [46387,e72a255e9ad883d0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e72a255e9ad883d0, body=] 2023-02-27T16:19:58.99343+08:00 INFO [46387,e72a255e9ad883d0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=e72a255e9ad883d0, duration=10.1µs, status=200, data=2023-02-27 16:19:58.993409542 +0800 CST m=+5075.691702108] 2023-02-27T16:19:59.04112+08:00 INFO [46387,a60db56b6d34a1cc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a60db56b6d34a1cc, body={"processName":"ocp_mgragent"}] 2023-02-27T16:19:59.0843+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="735.247µs" 2023-02-27T16:19:59.10714+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.575377ms 2023-02-27T16:19:59.10723+08:00 INFO [46387,a60db56b6d34a1cc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5077083}]" 2023-02-27T16:19:59.10734+08:00 INFO [46387,a60db56b6d34a1cc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a60db56b6d34a1cc, duration=66.117875ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5077083}]}] 2023-02-27T16:19:59.1447+08:00 INFO [46387,b75d127d0d78e651] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b75d127d0d78e651, body={"processName":"ocp_monagent"}] 2023-02-27T16:19:59.18648+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="55.082µs" 2023-02-27T16:19:59.21066+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=24.234774ms 2023-02-27T16:19:59.21075+08:00 INFO [46387,b75d127d0d78e651] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5077186}]" 2023-02-27T16:19:59.21083+08:00 INFO [46387,b75d127d0d78e651] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b75d127d0d78e651, duration=66.057518ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5077186}]}] 2023-02-27T16:19:59.25154+08:00 INFO [46387,2b08cb4904686887] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2b08cb4904686887, body={"processName":"ocp_agentd"}] 2023-02-27T16:19:59.2913+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="59.142µs" 2023-02-27T16:19:59.31487+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.634671ms 2023-02-27T16:19:59.31496+08:00 INFO [46387,2b08cb4904686887] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5077291}]" 2023-02-27T16:19:59.31503+08:00 INFO [46387,2b08cb4904686887] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=2b08cb4904686887, duration=63.407799ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5077291}]}] 2023-02-27T16:19:59.36395+08:00 INFO [46387,782d693e7d7b035c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=782d693e7d7b035c, body=] 2023-02-27T16:19:59.36402+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:19:59.36406+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:19:59.36409+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:19:59.36718+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:19:59.36727+08:00 INFO [46387,782d693e7d7b035c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=782d693e7d7b035c, duration=3.230895ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:20:59.39734+08:00 INFO [46387,29a6b46dcb17bd99] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=29a6b46dcb17bd99, body=] 2023-02-27T16:20:59.39743+08:00 INFO [46387,29a6b46dcb17bd99] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=29a6b46dcb17bd99, duration=2.249µs, status=200, data=2023-02-27 16:20:59.397408229 +0800 CST m=+5136.095700787] 2023-02-27T16:20:59.43514+08:00 INFO [46387,81c601ef3acd1d5b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=81c601ef3acd1d5b, body={"processName":"ocp_mgragent"}] 2023-02-27T16:20:59.47713+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="81.241µs" 2023-02-27T16:20:59.5005+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.449356ms 2023-02-27T16:20:59.50058+08:00 INFO [46387,81c601ef3acd1d5b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5137476}]" 2023-02-27T16:20:59.50066+08:00 INFO [46387,81c601ef3acd1d5b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=81c601ef3acd1d5b, duration=65.431376ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5137476}]}] 2023-02-27T16:20:59.53613+08:00 INFO [46387,8688958a80cd24b0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8688958a80cd24b0, body={"processName":"ocp_monagent"}] 2023-02-27T16:20:59.5869+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="87.113µs" 2023-02-27T16:20:59.61001+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=23.199289ms 2023-02-27T16:20:59.61008+08:00 INFO [46387,8688958a80cd24b0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5137586}]" 2023-02-27T16:20:59.61016+08:00 INFO [46387,8688958a80cd24b0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=8688958a80cd24b0, duration=73.93834ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5137586}]}] 2023-02-27T16:20:59.64228+08:00 INFO [46387,9691d7bb55a702e7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9691d7bb55a702e7, body={"processName":"ocp_agentd"}] 2023-02-27T16:20:59.67885+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="91.922µs" 2023-02-27T16:20:59.70214+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.378152ms 2023-02-27T16:20:59.70221+08:00 INFO [46387,9691d7bb55a702e7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5137678}]" 2023-02-27T16:20:59.70233+08:00 INFO [46387,9691d7bb55a702e7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=9691d7bb55a702e7, duration=59.94379ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5137678}]}] 2023-02-27T16:20:59.74967+08:00 INFO [46387,579883f61f56c9c4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=579883f61f56c9c4, body=] 2023-02-27T16:20:59.74974+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:20:59.74979+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:20:59.74981+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:20:59.75239+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:20:59.75246+08:00 INFO [46387,579883f61f56c9c4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=579883f61f56c9c4, duration=2.702782ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:21:59.7825+08:00 INFO [46387,5f2d7f5c71f7762f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5f2d7f5c71f7762f, body=] 2023-02-27T16:21:59.78258+08:00 INFO [46387,5f2d7f5c71f7762f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=5f2d7f5c71f7762f, duration=2.861µs, status=200, data=2023-02-27 16:21:59.78256912 +0800 CST m=+5196.480861679] 2023-02-27T16:21:59.82667+08:00 INFO [46387,a8433a37440e87a4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a8433a37440e87a4, body={"processName":"ocp_mgragent"}] 2023-02-27T16:21:59.86623+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="80.831µs" 2023-02-27T16:21:59.88932+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.17335ms 2023-02-27T16:21:59.8894+08:00 INFO [46387,a8433a37440e87a4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5197866}]" 2023-02-27T16:21:59.88949+08:00 INFO [46387,a8433a37440e87a4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=a8433a37440e87a4, duration=62.727795ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5197866}]}] 2023-02-27T16:21:59.93789+08:00 INFO [46387,68913f8363480ee7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=68913f8363480ee7, body={"processName":"ocp_monagent"}] 2023-02-27T16:21:59.97617+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="59.851µs" 2023-02-27T16:21:59.99777+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.677238ms 2023-02-27T16:21:59.99786+08:00 INFO [46387,68913f8363480ee7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5197976}]" 2023-02-27T16:21:59.99793+08:00 INFO [46387,68913f8363480ee7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=68913f8363480ee7, duration=59.958696ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5197976}]}] 2023-02-27T16:22:00.02985+08:00 INFO [46387,b7941b846cf3f075] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b7941b846cf3f075, body={"processName":"ocp_agentd"}] 2023-02-27T16:22:00.0682+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="50.583µs" 2023-02-27T16:22:00.09215+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=23.994295ms 2023-02-27T16:22:00.0922+08:00 INFO [46387,b7941b846cf3f075] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5198068}]" 2023-02-27T16:22:00.09229+08:00 INFO [46387,b7941b846cf3f075] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=b7941b846cf3f075, duration=62.339263ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5198068}]}] 2023-02-27T16:22:00.14337+08:00 INFO [46387,6ac609f85a5d9e5c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6ac609f85a5d9e5c, body=] 2023-02-27T16:22:00.14346+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:22:00.14349+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:22:00.14352+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:22:00.14637+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:22:00.14695+08:00 INFO [46387,6ac609f85a5d9e5c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=6ac609f85a5d9e5c, duration=2.981005ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-02-27T16:23:00.17719+08:00 INFO [46387,dbf11ec02e3403ed] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dbf11ec02e3403ed, body=] 2023-02-27T16:23:00.17727+08:00 INFO [46387,dbf11ec02e3403ed] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=dbf11ec02e3403ed, duration=3.245µs, status=200, data=2023-02-27 16:23:00.177255904 +0800 CST m=+5256.875548464] 2023-02-27T16:23:00.22267+08:00 INFO [46387,734653ac12a48c91] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=734653ac12a48c91, body={"processName":"ocp_mgragent"}] 2023-02-27T16:23:00.26231+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration="110.08µs" 2023-02-27T16:23:00.28532+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46387/' || true; }, timeout=10s} fields: duration=23.111774ms 2023-02-27T16:23:00.28546+08:00 INFO [46387,734653ac12a48c91] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5258262}]" 2023-02-27T16:23:00.28561+08:00 INFO [46387,734653ac12a48c91] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=734653ac12a48c91, duration=62.855452ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46387, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5258262}]}] 2023-02-27T16:23:00.31734+08:00 INFO [46387,794ee5d095d7daa1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=794ee5d095d7daa1, body={"processName":"ocp_monagent"}] 2023-02-27T16:23:00.35593+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration="45.503µs" 2023-02-27T16:23:00.37746+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46388/' || true; }, timeout=10s} fields: duration=21.579314ms 2023-02-27T16:23:00.37754+08:00 INFO [46387,794ee5d095d7daa1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5258355}]" 2023-02-27T16:23:00.37761+08:00 INFO [46387,794ee5d095d7daa1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=794ee5d095d7daa1, duration=60.174229ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46388, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5258355}]}] 2023-02-27T16:23:00.40761+08:00 INFO [46387,140012ffbc46dd22] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=140012ffbc46dd22, body={"processName":"ocp_agentd"}] 2023-02-27T16:23:00.45077+08:00 INFO [46387,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration="76.838µs" 2023-02-27T16:23:00.47259+08:00 INFO [46387,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '46381/' || true; }, timeout=10s} fields: duration=21.876452ms 2023-02-27T16:23:00.47266+08:00 INFO [46387,140012ffbc46dd22] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5258450}]" 2023-02-27T16:23:00.47274+08:00 INFO [46387,140012ffbc46dd22] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=140012ffbc46dd22, duration=65.033561ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 46381, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-02-27 14:55:22 +0800 CST, elapsedTime: 5258450}]}] 2023-02-27T16:23:00.51673+08:00 INFO [46387,cd1eeac5e5b81a5e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cd1eeac5e5b81a5e, body=] 2023-02-27T16:23:00.51683+08:00 INFO [46387,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-02-27T16:23:00.51688+08:00 INFO [46387,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-02-27T16:23:00.5169+08:00 INFO [46387,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-02-27T16:23:00.51917+08:00 INFO [46387,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-02-27T16:23:00.51925+08:00 INFO [46387,cd1eeac5e5b81a5e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.24.150, ocpServerIp=10.251.24.150, traceId=cd1eeac5e5b81a5e, duration=2.40398ms, status=200, data={State:running Ready:true Version: Pid:46381 Socket:/home/admin/ocp_agent/run/ocp_agentd.46381.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:46387 StartAt:1677480923313517606} Socket:/home/admin/ocp_agent/run/ocp_mgragent.46387.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:46388 StartAt:1677480923316056773} Socket:/home/admin/ocp_agent/run/ocp_monagent.46388.sock EndAt:-6795364578871345152}] Dangling:[]}]