2023-03-24T15:58:20.16966+08:00 INFO [42238,b7d4e4f558eec591] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.60.28] 2023-03-24T15:58:20.1718+08:00 INFO [42238,b7d4e4f558eec591] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.60.28] 2023-03-24T15:58:20.17283+08:00 INFO [42238,b7d4e4f558eec591] caller=sdk/mgragent_callbacks.go:47:func3: module mgragent.basic.auth init config successfully 2023-03-24T15:58:20.17287+08:00 INFO [42238,b7d4e4f558eec591] caller=common/middleware_auth.go:30:InitBasicAuthConf: init module mgragent.basic.auth config end 2023-03-24T15:58:20.17515+08:00 INFO [42238,] caller=cleaner/cleaner.go:48:startOBCleaner: start ob cleaner 2023-03-24T15:58:20.17525+08:00 WARN [42238,] caller=cleaner/cleaner.go:51:startOBCleaner: ob cleaner is disabled 2023-03-24T15:58:20.17804+08:00 INFO [42238,b7d4e4f558eec591] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-03-24T15:58:20.17962+08:00 INFO [42238,b7d4e4f558eec591] caller=mgragent/main.go:40:run: starting ocp manager agent, version 3.3.0-20220427 2023-03-24T15:58:20.1797+08:00 INFO [42238,b7d4e4f558eec591] caller=mgragent/main.go:41:run: agent running in release mode 2023-03-24T15:58:20.18324+08:00 INFO [42238,b7d4e4f558eec591] caller=runtime/asm_amd64.s:1371:goexit: check config version backups once. 2023-03-24T15:58:20.18352+08:00 INFO [42238,b7d4e4f558eec591] caller=config/config_version.go:89:checkConfigVersionBackups: read config from path /home/admin/ocp_agent/conf, files length 9 2023-03-24T15:58:20.18358+08:00 INFO [42238,b7d4e4f558eec591] caller=config/config_version.go:105:checkConfigVersionBackups: config stay count:30, config version count:1, no need to rotate. 2023-03-24T15:58:22.573+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, body=] 2023-03-24T15:58:22.57309+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, duration=3.09µs, status=200, data=2023-03-24 15:58:22.57307527 +0800 CST m=+2.435632583] 2023-03-24T15:58:22.84934+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, body={"processName":"ocp_mgragent"}] 2023-03-24T15:58:22.90353+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="62.541µs" 2023-03-24T15:58:22.93347+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=30.005257ms 2023-03-24T15:58:22.93355+08:00 INFO [42238,39067880305b4643] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 3902}]" 2023-03-24T15:58:22.93363+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, duration=84.157654ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 3902}]}] 2023-03-24T15:58:22.97397+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, body={"processName":"ocp_monagent"}] 2023-03-24T15:58:23.02856+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="83.276µs" 2023-03-24T15:58:23.05404+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=25.561434ms 2023-03-24T15:58:23.05412+08:00 INFO [42238,39067880305b4643] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 4028}]" 2023-03-24T15:58:23.05419+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, duration=80.08738ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 4028}]}] 2023-03-24T15:58:23.0818+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, body={"processName":"ocp_agentd"}] 2023-03-24T15:58:23.13404+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="118.199µs" 2023-03-24T15:58:23.1631+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=29.179391ms 2023-03-24T15:58:23.16319+08:00 INFO [42238,39067880305b4643] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 4133}]" 2023-03-24T15:58:23.16331+08:00 INFO [42238,39067880305b4643] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=39067880305b4643, duration=81.39267ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 4133}]}] 2023-03-24T15:59:03.94687+08:00 INFO [42238,7532fe27d29cd6df] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=7532fe27d29cd6df, body=] 2023-03-24T15:59:03.94695+08:00 INFO [42238,7532fe27d29cd6df] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=7532fe27d29cd6df, duration=3.689µs, status=200, data=2023-03-24 15:59:03.946946038 +0800 CST m=+43.809503353] 2023-03-24T15:59:04.00324+08:00 INFO [42238,07975e78ad718181] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=07975e78ad718181, body={"processName":"ocp_mgragent"}] 2023-03-24T15:59:04.05476+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="228.272µs" 2023-03-24T15:59:04.08369+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=29.153613ms 2023-03-24T15:59:04.08377+08:00 INFO [42238,07975e78ad718181] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 45054}]" 2023-03-24T15:59:04.08385+08:00 INFO [42238,07975e78ad718181] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=07975e78ad718181, duration=80.522438ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 45054}]}] 2023-03-24T15:59:04.20534+08:00 INFO [42238,c5a6fa079db6b33e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c5a6fa079db6b33e, body={"processName":"ocp_monagent"}] 2023-03-24T15:59:04.2679+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="141.71µs" 2023-03-24T15:59:04.29284+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=25.081345ms 2023-03-24T15:59:04.29294+08:00 INFO [42238,c5a6fa079db6b33e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 45267}]" 2023-03-24T15:59:04.29301+08:00 INFO [42238,c5a6fa079db6b33e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c5a6fa079db6b33e, duration=87.533596ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 45267}]}] 2023-03-24T15:59:04.33074+08:00 INFO [42238,98e3862fab55af8b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=98e3862fab55af8b, body={"processName":"ocp_agentd"}] 2023-03-24T15:59:04.38322+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="93.058µs" 2023-03-24T15:59:04.41874+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=35.613441ms 2023-03-24T15:59:04.41882+08:00 INFO [42238,98e3862fab55af8b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 45383}]" 2023-03-24T15:59:04.41895+08:00 INFO [42238,98e3862fab55af8b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=98e3862fab55af8b, duration=88.112882ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 45383}]}] 2023-03-24T15:59:04.47774+08:00 INFO [42238,e347d673839a1075] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e347d673839a1075, body=] 2023-03-24T15:59:04.47782+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T15:59:04.47787+08:00 INFO [42238,] 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-03-24T15:59:04.4779+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T15:59:04.482+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T15:59:04.48212+08:00 INFO [42238,e347d673839a1075] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e347d673839a1075, duration=4.276802ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T15:59:18.74926+08:00 INFO [42238,92d4ee0478fe405f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=92d4ee0478fe405f, body={"processName":"observer"}] 2023-03-24T15:59:18.8011+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6972/' || true; }, timeout=10s} fields: duration="77.951µs" 2023-03-24T15:59:18.86679+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6972/' || true; }, timeout=10s} fields: duration=65.762154ms 2023-03-24T15:59:18.86694+08:00 INFO [42238,92d4ee0478fe405f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 6972, name: observer, cmdLine: /home/admin/oceanbase/bin/observer -r 10.251.60.28:2882:2881 -o __min_full_resource_pool_memory=268435456,enable_syslog_recycle=True,enable_syslog_wf=True,max_syslog_file_count=4,memory_limit=58G,system_memory=29G,cpu_count=22,datafile_size=74G -z zone1 -p 2881 -P 2882 -n obcluster -c 1 -d /data/1 -i ens160 -l INFO, username: admin, createTime: 2023-03-24 15:20:15 +0800 CST, elapsedTime: 2343800}]" 2023-03-24T15:59:18.86705+08:00 INFO [42238,92d4ee0478fe405f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=92d4ee0478fe405f, duration=117.651888ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6972, name: observer, cmdLine: /home/admin/oceanbase/bin/observer -r 10.251.60.28:2882:2881 -o __min_full_resource_pool_memory=268435456,enable_syslog_recycle=True,enable_syslog_wf=True,max_syslog_file_count=4,memory_limit=58G,system_memory=29G,cpu_count=22,datafile_size=74G -z zone1 -p 2881 -P 2882 -n obcluster -c 1 -d /data/1 -i ens160 -l INFO, username: admin, createTime: 2023-03-24 15:20:15 +0800 CST, elapsedTime: 2343800}]}] 2023-03-24T16:00:04.56037+08:00 INFO [42238,5d145c1356502326] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5d145c1356502326, body=] 2023-03-24T16:00:04.56048+08:00 INFO [42238,5d145c1356502326] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5d145c1356502326, duration=3.424µs, status=200, data=2023-03-24 16:00:04.560468043 +0800 CST m=+104.423025355] 2023-03-24T16:00:04.62399+08:00 INFO [42238,f053a5e2534ea032] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f053a5e2534ea032, body={"processName":"ocp_mgragent"}] 2023-03-24T16:00:04.68805+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="205.685µs" 2023-03-24T16:00:04.71304+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=25.197875ms 2023-03-24T16:00:04.71314+08:00 INFO [42238,f053a5e2534ea032] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 105687}]" 2023-03-24T16:00:04.71327+08:00 INFO [42238,f053a5e2534ea032] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f053a5e2534ea032, duration=89.187481ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 105687}]}] 2023-03-24T16:00:04.7607+08:00 INFO [42238,0f49c68780098da4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0f49c68780098da4, body={"processName":"ocp_monagent"}] 2023-03-24T16:00:04.81547+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="103.494µs" 2023-03-24T16:00:04.84055+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=25.18637ms 2023-03-24T16:00:04.84065+08:00 INFO [42238,0f49c68780098da4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 105815}]" 2023-03-24T16:00:04.84074+08:00 INFO [42238,0f49c68780098da4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0f49c68780098da4, duration=79.91253ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 105815}]}] 2023-03-24T16:00:04.88732+08:00 INFO [42238,14166c8dc42b4cb8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=14166c8dc42b4cb8, body={"processName":"ocp_agentd"}] 2023-03-24T16:00:04.9432+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="70.533µs" 2023-03-24T16:00:04.96954+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=26.419298ms 2023-03-24T16:00:04.96964+08:00 INFO [42238,14166c8dc42b4cb8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 105943}]" 2023-03-24T16:00:04.96977+08:00 INFO [42238,14166c8dc42b4cb8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=14166c8dc42b4cb8, duration=82.356683ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 105943}]}] 2023-03-24T16:00:05.03608+08:00 INFO [42238,74aff84ea7c262f3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=74aff84ea7c262f3, body=] 2023-03-24T16:00:05.03617+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:00:05.03623+08:00 INFO [42238,] 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-03-24T16:00:05.03626+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:00:05.04121+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:00:05.04129+08:00 INFO [42238,74aff84ea7c262f3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=74aff84ea7c262f3, duration=5.106214ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:01:05.09184+08:00 INFO [42238,cf14b801de6222a5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=cf14b801de6222a5, body=] 2023-03-24T16:01:05.09193+08:00 INFO [42238,cf14b801de6222a5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=cf14b801de6222a5, duration=3.294µs, status=200, data=2023-03-24 16:01:05.091919099 +0800 CST m=+164.954476413] 2023-03-24T16:01:05.15842+08:00 INFO [42238,a2008a35e45ad179] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2008a35e45ad179, body={"processName":"ocp_mgragent"}] 2023-03-24T16:01:05.2139+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="102.126µs" 2023-03-24T16:01:05.2403+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=26.499015ms 2023-03-24T16:01:05.24036+08:00 INFO [42238,a2008a35e45ad179] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 166213}]" 2023-03-24T16:01:05.24044+08:00 INFO [42238,a2008a35e45ad179] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2008a35e45ad179, duration=81.930819ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 166213}]}] 2023-03-24T16:01:05.28921+08:00 INFO [42238,6fd3cca4d54440ce] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6fd3cca4d54440ce, body={"processName":"ocp_monagent"}] 2023-03-24T16:01:05.33994+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="62.409µs" 2023-03-24T16:01:05.3651+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=25.224201ms 2023-03-24T16:01:05.36517+08:00 INFO [42238,6fd3cca4d54440ce] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 166339}]" 2023-03-24T16:01:05.36526+08:00 INFO [42238,6fd3cca4d54440ce] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6fd3cca4d54440ce, duration=75.960524ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 166339}]}] 2023-03-24T16:01:05.40559+08:00 INFO [42238,e0a2a4a0aee743f0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e0a2a4a0aee743f0, body={"processName":"ocp_agentd"}] 2023-03-24T16:01:05.46367+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="65.158µs" 2023-03-24T16:01:05.48902+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=25.419998ms 2023-03-24T16:01:05.48911+08:00 INFO [42238,e0a2a4a0aee743f0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 166463}]" 2023-03-24T16:01:05.48932+08:00 INFO [42238,e0a2a4a0aee743f0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e0a2a4a0aee743f0, duration=83.521638ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 166463}]}] 2023-03-24T16:01:05.55334+08:00 INFO [42238,3b7dbe9c2af0c4d5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3b7dbe9c2af0c4d5, body=] 2023-03-24T16:01:05.5534+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:01:05.55346+08:00 INFO [42238,] 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-03-24T16:01:05.55348+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:01:05.55598+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:01:05.55606+08:00 INFO [42238,3b7dbe9c2af0c4d5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3b7dbe9c2af0c4d5, duration=2.642697ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:02:05.59252+08:00 INFO [42238,3f11797065e0f98d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3f11797065e0f98d, body=] 2023-03-24T16:02:05.59264+08:00 INFO [42238,3f11797065e0f98d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3f11797065e0f98d, duration=4.1µs, status=200, data=2023-03-24 16:02:05.592619545 +0800 CST m=+225.455176867] 2023-03-24T16:02:05.64732+08:00 INFO [42238,70458915c6540b2c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=70458915c6540b2c, body={"processName":"ocp_mgragent"}] 2023-03-24T16:02:05.70562+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="56.14µs" 2023-03-24T16:02:05.73043+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=24.867623ms 2023-03-24T16:02:05.73057+08:00 INFO [42238,70458915c6540b2c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 226705}]" 2023-03-24T16:02:05.7307+08:00 INFO [42238,70458915c6540b2c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=70458915c6540b2c, duration=83.285315ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 226705}]}] 2023-03-24T16:02:05.77413+08:00 INFO [42238,a13825be6f8f2c71] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a13825be6f8f2c71, body={"processName":"ocp_monagent"}] 2023-03-24T16:02:05.83938+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="142.382µs" 2023-03-24T16:02:05.86305+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=23.818451ms 2023-03-24T16:02:05.86315+08:00 INFO [42238,a13825be6f8f2c71] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 226839}]" 2023-03-24T16:02:05.86324+08:00 INFO [42238,a13825be6f8f2c71] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a13825be6f8f2c71, duration=89.001699ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 226839}]}] 2023-03-24T16:02:05.90992+08:00 INFO [42238,72d89377cc7c5ebf] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=72d89377cc7c5ebf, body={"processName":"ocp_agentd"}] 2023-03-24T16:02:05.9712+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="89.134µs" 2023-03-24T16:02:05.99673+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=25.610619ms 2023-03-24T16:02:05.9969+08:00 INFO [42238,72d89377cc7c5ebf] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 226971}]" 2023-03-24T16:02:05.997+08:00 INFO [42238,72d89377cc7c5ebf] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=72d89377cc7c5ebf, duration=86.988756ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 226971}]}] 2023-03-24T16:02:06.07126+08:00 INFO [42238,7d053f5229f957cd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=7d053f5229f957cd, body=] 2023-03-24T16:02:06.07133+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:02:06.07142+08:00 INFO [42238,] 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-03-24T16:02:06.07145+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:02:06.07408+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:02:06.07418+08:00 INFO [42238,7d053f5229f957cd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=7d053f5229f957cd, duration=2.817299ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:03:06.11202+08:00 INFO [42238,0e09dd3c87659115] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0e09dd3c87659115, body=] 2023-03-24T16:03:06.11214+08:00 INFO [42238,0e09dd3c87659115] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0e09dd3c87659115, duration=3.076µs, status=200, data=2023-03-24 16:03:06.11210903 +0800 CST m=+285.974666343] 2023-03-24T16:03:06.16783+08:00 INFO [42238,ededc31c7ff1b675] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ededc31c7ff1b675, body={"processName":"ocp_mgragent"}] 2023-03-24T16:03:06.22652+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="66.905µs" 2023-03-24T16:03:06.25059+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=24.132105ms 2023-03-24T16:03:06.25065+08:00 INFO [42238,ededc31c7ff1b675] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 287226}]" 2023-03-24T16:03:06.25072+08:00 INFO [42238,ededc31c7ff1b675] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ededc31c7ff1b675, duration=82.748583ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 287226}]}] 2023-03-24T16:03:06.30044+08:00 INFO [42238,c97e5fa302f5fa2c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c97e5fa302f5fa2c, body={"processName":"ocp_monagent"}] 2023-03-24T16:03:06.35695+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="112.496µs" 2023-03-24T16:03:06.3808+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=23.96551ms 2023-03-24T16:03:06.38095+08:00 INFO [42238,c97e5fa302f5fa2c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 287356}]" 2023-03-24T16:03:06.38103+08:00 INFO [42238,c97e5fa302f5fa2c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c97e5fa302f5fa2c, duration=80.464975ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 287356}]}] 2023-03-24T16:03:06.42029+08:00 INFO [42238,c2f4209ab4cee4cc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c2f4209ab4cee4cc, body={"processName":"ocp_agentd"}] 2023-03-24T16:03:06.47424+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="56.106µs" 2023-03-24T16:03:06.5006+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=26.415475ms 2023-03-24T16:03:06.50068+08:00 INFO [42238,c2f4209ab4cee4cc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 287474}]" 2023-03-24T16:03:06.50076+08:00 INFO [42238,c2f4209ab4cee4cc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c2f4209ab4cee4cc, duration=80.207233ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 287474}]}] 2023-03-24T16:03:06.5521+08:00 INFO [42238,82d3bfda58b3cd5f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=82d3bfda58b3cd5f, body=] 2023-03-24T16:03:06.55215+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:03:06.55219+08:00 INFO [42238,] 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-03-24T16:03:06.55221+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:03:06.55677+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:03:06.55687+08:00 INFO [42238,82d3bfda58b3cd5f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=82d3bfda58b3cd5f, duration=4.691524ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:04:06.59151+08:00 INFO [42238,3cd6c984b9032a2b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3cd6c984b9032a2b, body=] 2023-03-24T16:04:06.59159+08:00 INFO [42238,3cd6c984b9032a2b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3cd6c984b9032a2b, duration=4.259µs, status=200, data=2023-03-24 16:04:06.591578012 +0800 CST m=+346.454135326] 2023-03-24T16:04:06.6379+08:00 INFO [42238,f79436360f29f0a5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f79436360f29f0a5, body={"processName":"ocp_mgragent"}] 2023-03-24T16:04:06.69561+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="81.97µs" 2023-03-24T16:04:06.72819+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=32.655601ms 2023-03-24T16:04:06.72828+08:00 INFO [42238,f79436360f29f0a5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 347695}]" 2023-03-24T16:04:06.72836+08:00 INFO [42238,f79436360f29f0a5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f79436360f29f0a5, duration=90.373727ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 347695}]}] 2023-03-24T16:04:06.77048+08:00 INFO [42238,6e00d1471d39d4d6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6e00d1471d39d4d6, body={"processName":"ocp_monagent"}] 2023-03-24T16:04:06.81891+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="87.117µs" 2023-03-24T16:04:06.84396+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=25.142416ms 2023-03-24T16:04:06.84405+08:00 INFO [42238,6e00d1471d39d4d6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 347818}]" 2023-03-24T16:04:06.84414+08:00 INFO [42238,6e00d1471d39d4d6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6e00d1471d39d4d6, duration=73.577115ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 347818}]}] 2023-03-24T16:04:06.88199+08:00 INFO [42238,926d8c9e4bbd5f26] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=926d8c9e4bbd5f26, body={"processName":"ocp_agentd"}] 2023-03-24T16:04:06.93691+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="199.57µs" 2023-03-24T16:04:06.96472+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=28.011055ms 2023-03-24T16:04:06.96482+08:00 INFO [42238,926d8c9e4bbd5f26] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 347936}]" 2023-03-24T16:04:06.9649+08:00 INFO [42238,926d8c9e4bbd5f26] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=926d8c9e4bbd5f26, duration=82.798362ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 347936}]}] 2023-03-24T16:04:07.01273+08:00 INFO [42238,0292e4524717180d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0292e4524717180d, body=] 2023-03-24T16:04:07.0128+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:04:07.01287+08:00 INFO [42238,] 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-03-24T16:04:07.0129+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:04:07.01589+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:04:07.016+08:00 INFO [42238,0292e4524717180d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0292e4524717180d, duration=3.16989ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:05:07.07182+08:00 INFO [42238,25668eb57988de60] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=25668eb57988de60, body=] 2023-03-24T16:05:07.07194+08:00 INFO [42238,25668eb57988de60] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=25668eb57988de60, duration=4.24µs, status=200, data=2023-03-24 16:05:07.071903268 +0800 CST m=+406.934460582] 2023-03-24T16:05:07.15413+08:00 INFO [42238,3ab13286ec35566e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3ab13286ec35566e, body={"processName":"ocp_mgragent"}] 2023-03-24T16:05:07.22031+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="94.436µs" 2023-03-24T16:05:07.24647+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=26.251998ms 2023-03-24T16:05:07.24655+08:00 INFO [42238,3ab13286ec35566e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 408220}]" 2023-03-24T16:05:07.24671+08:00 INFO [42238,3ab13286ec35566e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3ab13286ec35566e, duration=92.423337ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 408220}]}] 2023-03-24T16:05:07.30408+08:00 INFO [42238,064d9e8e6b9d8f96] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=064d9e8e6b9d8f96, body={"processName":"ocp_monagent"}] 2023-03-24T16:05:07.36442+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="80.963µs" 2023-03-24T16:05:07.39044+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=26.09463ms 2023-03-24T16:05:07.39053+08:00 INFO [42238,064d9e8e6b9d8f96] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 408364}]" 2023-03-24T16:05:07.3906+08:00 INFO [42238,064d9e8e6b9d8f96] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=064d9e8e6b9d8f96, duration=86.406206ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 408364}]}] 2023-03-24T16:05:07.44399+08:00 INFO [42238,0fcdc2da348436ad] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0fcdc2da348436ad, body={"processName":"ocp_agentd"}] 2023-03-24T16:05:07.50372+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="103.344µs" 2023-03-24T16:05:07.53449+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=30.874217ms 2023-03-24T16:05:07.53458+08:00 INFO [42238,0fcdc2da348436ad] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 408503}]" 2023-03-24T16:05:07.53473+08:00 INFO [42238,0fcdc2da348436ad] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=0fcdc2da348436ad, duration=90.587841ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 408503}]}] 2023-03-24T16:05:07.60634+08:00 INFO [42238,c5ec9dee60c683ce] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c5ec9dee60c683ce, body=] 2023-03-24T16:05:07.60646+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:05:07.60653+08:00 INFO [42238,] 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-03-24T16:05:07.60656+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:05:07.60913+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:05:07.60924+08:00 INFO [42238,c5ec9dee60c683ce] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c5ec9dee60c683ce, duration=2.737462ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:06:07.64886+08:00 INFO [42238,a58bef6b6d63f15d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a58bef6b6d63f15d, body=] 2023-03-24T16:06:07.64897+08:00 INFO [42238,a58bef6b6d63f15d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a58bef6b6d63f15d, duration=5.274µs, status=200, data=2023-03-24 16:06:07.648950669 +0800 CST m=+467.511507993] 2023-03-24T16:06:07.69655+08:00 INFO [42238,d371dc8bebba1313] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=d371dc8bebba1313, body={"processName":"ocp_mgragent"}] 2023-03-24T16:06:07.75076+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration="93.066µs" 2023-03-24T16:06:07.77669+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42238/' || true; }, timeout=10s} fields: duration=26.019249ms 2023-03-24T16:06:07.77682+08:00 INFO [42238,d371dc8bebba1313] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 468750}]" 2023-03-24T16:06:07.7769+08:00 INFO [42238,d371dc8bebba1313] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=d371dc8bebba1313, duration=80.242839ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42238, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 468750}]}] 2023-03-24T16:06:07.82791+08:00 INFO [42238,42b097ee1b13b3e7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=42b097ee1b13b3e7, body={"processName":"ocp_monagent"}] 2023-03-24T16:06:07.88811+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration="177.256µs" 2023-03-24T16:06:07.91166+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42239/' || true; }, timeout=10s} fields: duration=23.725138ms 2023-03-24T16:06:07.91173+08:00 INFO [42238,42b097ee1b13b3e7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 468887}]" 2023-03-24T16:06:07.9118+08:00 INFO [42238,42b097ee1b13b3e7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=42b097ee1b13b3e7, duration=83.771027ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42239, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 468887}]}] 2023-03-24T16:06:07.94938+08:00 INFO [42238,6a3ed4fc8afe9d37] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6a3ed4fc8afe9d37, body={"processName":"ocp_agentd"}] 2023-03-24T16:06:08.00295+08:00 INFO [42238,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration="67.083µs" 2023-03-24T16:06:08.02984+08:00 INFO [42238,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '42231/' || true; }, timeout=10s} fields: duration=26.956232ms 2023-03-24T16:06:08.02993+08:00 INFO [42238,6a3ed4fc8afe9d37] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 469002}]" 2023-03-24T16:06:08.03002+08:00 INFO [42238,6a3ed4fc8afe9d37] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6a3ed4fc8afe9d37, duration=80.538143ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 42231, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 15:58:19 +0800 CST, elapsedTime: 469002}]}] 2023-03-24T16:06:08.08511+08:00 INFO [42238,d385c7ca4bfe22fe] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=d385c7ca4bfe22fe, body=] 2023-03-24T16:06:08.08518+08:00 INFO [42238,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:06:08.08523+08:00 INFO [42238,] 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-03-24T16:06:08.08534+08:00 INFO [42238,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:06:08.08865+08:00 INFO [42238,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:06:08.08874+08:00 INFO [42238,d385c7ca4bfe22fe] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=d385c7ca4bfe22fe, duration=3.528445ms, status=200, data={State:running Ready:true Version: Pid:42231 Socket:/home/admin/ocp_agent/run/ocp_agentd.42231.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:42238 StartAt:1679644700149315962} Socket:/home/admin/ocp_agent/run/ocp_mgragent.42238.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:42239 StartAt:1679644700150834377} Socket:/home/admin/ocp_agent/run/ocp_monagent.42239.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:08:03.09546+08:00 INFO [4038,869ee1d7669a181d] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.60.28] 2023-03-24T16:08:03.09937+08:00 INFO [4038,869ee1d7669a181d] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.60.28] 2023-03-24T16:08:03.10045+08:00 INFO [4038,869ee1d7669a181d] caller=sdk/mgragent_callbacks.go:47:func3: module mgragent.basic.auth init config successfully 2023-03-24T16:08:03.10051+08:00 INFO [4038,869ee1d7669a181d] caller=common/middleware_auth.go:30:InitBasicAuthConf: init module mgragent.basic.auth config end 2023-03-24T16:08:03.1011+08:00 INFO [4038,] caller=cleaner/cleaner.go:48:startOBCleaner: start ob cleaner 2023-03-24T16:08:03.10114+08:00 WARN [4038,] caller=cleaner/cleaner.go:51:startOBCleaner: ob cleaner is disabled 2023-03-24T16:08:03.1031+08:00 INFO [4038,869ee1d7669a181d] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-03-24T16:08:03.10492+08:00 INFO [4038,869ee1d7669a181d] caller=mgragent/main.go:40:run: starting ocp manager agent, version 3.3.0-20220427 2023-03-24T16:08:03.10496+08:00 INFO [4038,869ee1d7669a181d] caller=mgragent/main.go:41:run: agent running in release mode 2023-03-24T16:08:03.10733+08:00 INFO [4038,869ee1d7669a181d] caller=runtime/asm_amd64.s:1371:goexit: check config version backups once. 2023-03-24T16:08:03.10759+08:00 INFO [4038,869ee1d7669a181d] caller=config/config_version.go:89:checkConfigVersionBackups: read config from path /home/admin/ocp_agent/conf, files length 9 2023-03-24T16:08:03.1077+08:00 INFO [4038,869ee1d7669a181d] caller=config/config_version.go:105:checkConfigVersionBackups: config stay count:30, config version count:1, no need to rotate. 2023-03-24T16:09:20.74219+08:00 INFO [4038,86d1e9837dca3c1b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=86d1e9837dca3c1b, body=] 2023-03-24T16:09:20.74235+08:00 INFO [4038,86d1e9837dca3c1b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=86d1e9837dca3c1b, duration=3.497µs, status=200, data=2023-03-24 16:09:20.742306054 +0800 CST m=+77.686826984] 2023-03-24T16:09:21.00179+08:00 INFO [4038,bccca82552a9e0cb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=bccca82552a9e0cb, body={"processName":"ocp_mgragent"}] 2023-03-24T16:09:21.055+08:00 INFO [4038,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '4038/' || true; }, timeout=10s} fields: duration="60.287µs" 2023-03-24T16:09:21.07974+08:00 INFO [4038,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '4038/' || true; }, timeout=10s} fields: duration=24.803493ms 2023-03-24T16:09:21.07999+08:00 INFO [4038,bccca82552a9e0cb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 4038, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:08:02 +0800 CST, elapsedTime: 79054}]" 2023-03-24T16:09:21.08014+08:00 INFO [4038,bccca82552a9e0cb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=bccca82552a9e0cb, duration=78.244058ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 4038, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:08:02 +0800 CST, elapsedTime: 79054}]}] 2023-03-24T16:09:21.27436+08:00 INFO [4038,c7d16fbce4ad902e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c7d16fbce4ad902e, body={"processName":"ocp_monagent"}] 2023-03-24T16:09:21.33115+08:00 INFO [4038,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '4037/' || true; }, timeout=10s} fields: duration="54.486µs" 2023-03-24T16:09:21.35511+08:00 INFO [4038,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '4037/' || true; }, timeout=10s} fields: duration=24.018177ms 2023-03-24T16:09:21.35521+08:00 INFO [4038,c7d16fbce4ad902e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 4037, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:08:02 +0800 CST, elapsedTime: 79331}]" 2023-03-24T16:09:21.35534+08:00 INFO [4038,c7d16fbce4ad902e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c7d16fbce4ad902e, duration=80.842636ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 4037, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:08:02 +0800 CST, elapsedTime: 79331}]}] 2023-03-24T16:09:21.42494+08:00 INFO [4038,e16b5eb0215ba4c1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e16b5eb0215ba4c1, body={"processName":"ocp_agentd"}] 2023-03-24T16:09:21.48032+08:00 INFO [4038,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '4031/' || true; }, timeout=10s} fields: duration="101.099µs" 2023-03-24T16:09:21.50356+08:00 INFO [4038,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '4031/' || true; }, timeout=10s} fields: duration=23.337455ms 2023-03-24T16:09:21.50365+08:00 INFO [4038,e16b5eb0215ba4c1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 4031, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:08:02 +0800 CST, elapsedTime: 79480}]" 2023-03-24T16:09:21.50374+08:00 INFO [4038,e16b5eb0215ba4c1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e16b5eb0215ba4c1, duration=78.69836ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 4031, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:08:02 +0800 CST, elapsedTime: 79480}]}] 2023-03-24T16:09:21.59146+08:00 INFO [4038,ab32aaddc7486e48] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ab32aaddc7486e48, body=] 2023-03-24T16:09:21.59155+08:00 INFO [4038,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:09:21.59165+08:00 INFO [4038,] 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-03-24T16:09:21.59169+08:00 INFO [4038,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:09:21.59485+08:00 INFO [4038,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:4031 Socket:/home/admin/ocp_agent/run/ocp_agentd.4031.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:4038 StartAt:1679645283070578622} Socket:/home/admin/ocp_agent/run/ocp_mgragent.4038.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:4037 StartAt:1679645283066696411} Socket:/home/admin/ocp_agent/run/ocp_monagent.4037.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:09:21.59494+08:00 INFO [4038,ab32aaddc7486e48] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ab32aaddc7486e48, duration=3.366467ms, status=200, data={State:running Ready:true Version: Pid:4031 Socket:/home/admin/ocp_agent/run/ocp_agentd.4031.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:4038 StartAt:1679645283070578622} Socket:/home/admin/ocp_agent/run/ocp_mgragent.4038.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:4037 StartAt:1679645283066696411} Socket:/home/admin/ocp_agent/run/ocp_monagent.4037.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:09:35.49425+08:00 INFO [4038,1bffcb7df896494a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=1bffcb7df896494a, body={"processName":"observer"}] 2023-03-24T16:09:35.55041+08:00 INFO [4038,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration="126.566µs" 2023-03-24T16:09:35.60622+08:00 INFO [4038,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration=55.929138ms 2023-03-24T16:09:35.60634+08:00 INFO [4038,1bffcb7df896494a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 114550}]" 2023-03-24T16:09:35.60643+08:00 INFO [4038,1bffcb7df896494a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=1bffcb7df896494a, duration=112.06646ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 114550}]}] 2023-03-24T16:09:44.46669+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, body=] 2023-03-24T16:09:44.46682+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, duration=2.684µs, status=200, data=2023-03-24 16:09:44.466806079 +0800 CST m=+101.411327010] 2023-03-24T16:09:44.47259+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, body=] 2023-03-24T16:09:44.47268+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, duration=2.736µs, status=200, data=2023-03-24 16:09:44.472664635 +0800 CST m=+101.417185567] 2023-03-24T16:09:44.47576+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, body=] 2023-03-24T16:09:44.47586+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, duration=3.02µs, status=200, data=2023-03-24 16:09:44.475848368 +0800 CST m=+101.420369298] 2023-03-24T16:09:44.47885+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, body=] 2023-03-24T16:09:44.47895+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, duration=7.246µs, status=200, data=2023-03-24 16:09:44.478935933 +0800 CST m=+101.423456870] 2023-03-24T16:09:44.48276+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, body=] 2023-03-24T16:09:44.48285+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, duration=4.558µs, status=200, data=2023-03-24 16:09:44.48283861 +0800 CST m=+101.427359541] 2023-03-24T16:09:44.48596+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, body=] 2023-03-24T16:09:44.48607+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, duration=4.904µs, status=200, data=2023-03-24 16:09:44.486030759 +0800 CST m=+101.430551692] 2023-03-24T16:09:44.49036+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, body=] 2023-03-24T16:09:44.49045+08:00 INFO [4038,a2b9fd71a1934550] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a2b9fd71a1934550, duration=2.987µs, status=200, data=2023-03-24 16:09:44.490434586 +0800 CST m=+101.434955515] 2023-03-24T16:10:01.10444+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, body=] 2023-03-24T16:10:01.10455+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, duration=4.575µs, status=200, data=2023-03-24 16:10:01.104530756 +0800 CST m=+118.049051687] 2023-03-24T16:10:01.10888+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, body=] 2023-03-24T16:10:01.10899+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, duration=3.061µs, status=200, data=2023-03-24 16:10:01.108977941 +0800 CST m=+118.053498872] 2023-03-24T16:10:01.11266+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, body=] 2023-03-24T16:10:01.11283+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, duration=7.72µs, status=200, data=2023-03-24 16:10:01.11281413 +0800 CST m=+118.057335069] 2023-03-24T16:10:01.11959+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, body=] 2023-03-24T16:10:01.11973+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, duration=3.892µs, status=200, data=2023-03-24 16:10:01.119713818 +0800 CST m=+118.064234747] 2023-03-24T16:10:01.12332+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, body=] 2023-03-24T16:10:01.12347+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, duration=4.626µs, status=200, data=2023-03-24 16:10:01.1234513 +0800 CST m=+118.067972246] 2023-03-24T16:10:01.12689+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, body=] 2023-03-24T16:10:01.12698+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, duration=4.792µs, status=200, data=2023-03-24 16:10:01.126971313 +0800 CST m=+118.071492242] 2023-03-24T16:10:01.13046+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, body=] 2023-03-24T16:10:01.13061+08:00 INFO [4038,e4cf6b360cb04aa0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e4cf6b360cb04aa0, duration=4.123µs, status=200, data=2023-03-24 16:10:01.130591131 +0800 CST m=+118.075112062] 2023-03-24T16:10:11.40702+08:00 INFO [4038,5ee606a91f7f4000] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, body=] 2023-03-24T16:10:11.40712+08:00 INFO [4038,5ee606a91f7f4000] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, duration=4.331µs, status=200, data=2023-03-24 16:10:11.407104615 +0800 CST m=+128.351625551] 2023-03-24T16:10:11.43984+08:00 INFO [4038,5ee606a91f7f4000] caller=common/middleware.go:59:func1: API request: [POST /api/v1/agent/restart, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, body={"taskToken":"22634e4e-b445-499f-b795-c4224d351273"}] 2023-03-24T16:10:11.44397+08:00 INFO [4038,] caller=mgragent/agent_handler.go:25:func3: restarting agent 2023-03-24T16:10:11.44407+08:00 INFO [4038,] caller=agent/agentctl.go:50:Restart: execute agentctl '/home/admin/ocp_agent/bin/ocp_agentctl' [restart --task-token=22634e4e-b445-499f-b795-c4224d351273] 2023-03-24T16:10:11.44565+08:00 INFO [4038,5ee606a91f7f4000] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/agent/restart, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, duration=5.643817ms, status=200, data={TaskToken:22634e4e-b445-499f-b795-c4224d351273}] 2023-03-24T16:10:11.46145+08:00 INFO [4038,5ee606a91f7f4000] caller=common/middleware.go:59:func1: API request: [POST /api/v1/task/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, body={"taskToken":"22634e4e-b445-499f-b795-c4224d351273"}] 2023-03-24T16:10:11.46162+08:00 INFO [4038,5ee606a91f7f4000] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/task/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, duration=61.972µs, status=200, data={Finished:false Ok:false Result: Err: Progress:}] 2023-03-24T16:10:11.56197+08:00 INFO [6756,64a328310240afa7] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.60.28] 2023-03-24T16:10:11.56491+08:00 INFO [6756,64a328310240afa7] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:10.251.60.28] 2023-03-24T16:10:11.56624+08:00 INFO [6756,64a328310240afa7] caller=sdk/mgragent_callbacks.go:47:func3: module mgragent.basic.auth init config successfully 2023-03-24T16:10:11.56632+08:00 INFO [6756,64a328310240afa7] caller=common/middleware_auth.go:30:InitBasicAuthConf: init module mgragent.basic.auth config end 2023-03-24T16:10:11.56712+08:00 INFO [6756,] caller=cleaner/cleaner.go:48:startOBCleaner: start ob cleaner 2023-03-24T16:10:11.56718+08:00 WARN [6756,] caller=cleaner/cleaner.go:51:startOBCleaner: ob cleaner is disabled 2023-03-24T16:10:11.5689+08:00 INFO [6756,64a328310240afa7] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-03-24T16:10:11.56939+08:00 INFO [6756,64a328310240afa7] caller=mgragent/main.go:40:run: starting ocp manager agent, version 3.3.0-20220427 2023-03-24T16:10:11.56942+08:00 INFO [6756,64a328310240afa7] caller=mgragent/main.go:41:run: agent running in release mode 2023-03-24T16:10:11.57154+08:00 INFO [6756,64a328310240afa7] caller=runtime/asm_amd64.s:1371:goexit: check config version backups once. 2023-03-24T16:10:11.57173+08:00 INFO [6756,64a328310240afa7] caller=config/config_version.go:89:checkConfigVersionBackups: read config from path /home/admin/ocp_agent/conf, files length 9 2023-03-24T16:10:11.57179+08:00 INFO [6756,64a328310240afa7] caller=config/config_version.go:105:checkConfigVersionBackups: config stay count:30, config version count:1, no need to rotate. 2023-03-24T16:10:12.51864+08:00 INFO [4038,869ee1d7669a181d] caller=mgragent/main.go:50:run: signal 'terminated' received. exiting... 2023-03-24T16:10:12.51893+08:00 FATAL [4038,] caller=runtime/asm_amd64.s:1371:goexit: serve on tcp listener failed fields: error="http: Server closed" 2023-03-24T16:10:14.50834+08:00 INFO [6756,5ee606a91f7f4000] caller=common/middleware.go:59:func1: API request: [POST /api/v1/task/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, body={"taskToken":"22634e4e-b445-499f-b795-c4224d351273"}] 2023-03-24T16:10:14.50876+08:00 INFO [6756,5ee606a91f7f4000] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/task/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, duration=291.331µs, status=200, data={Finished:false Ok:false Result: Err: Progress:[map[name:restartAgent status:start timestamp:1.6796454114821888e+18] map[name:backupPid status:start timestamp:1.6796454114844667e+18] map[name:backupPid status:ok timestamp:1.679645411486774e+18] map[name:confirmCanSignal status:start timestamp:1.6796454114888602e+18] map[name:confirmCanSignal status:ok timestamp:1.6796454114982316e+18] map[name:startAgent status:start timestamp:1.6796454115001812e+18] map[name:startAgent status:ok timestamp:1.6796454125095918e+18] map[name:stopAgentPid status:start timestamp:1.6796454125141896e+18]]}] 2023-03-24T16:10:17.53603+08:00 INFO [6756,5ee606a91f7f4000] caller=common/middleware.go:59:func1: API request: [POST /api/v1/task/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, body={"taskToken":"22634e4e-b445-499f-b795-c4224d351273"}] 2023-03-24T16:10:17.53632+08:00 INFO [6756,5ee606a91f7f4000] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/task/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5ee606a91f7f4000, duration=132.126µs, status=200, data={Finished:true Ok:true Result:true Err: Progress:[map[name:restartAgent status:start timestamp:1.6796454114821888e+18] map[name:backupPid status:start timestamp:1.6796454114844667e+18] map[name:backupPid status:ok timestamp:1.679645411486774e+18] map[name:confirmCanSignal status:start timestamp:1.6796454114888602e+18] map[name:confirmCanSignal status:ok timestamp:1.6796454114982316e+18] map[name:startAgent status:start timestamp:1.6796454115001812e+18] map[name:startAgent status:ok timestamp:1.6796454125095918e+18] map[name:stopAgentPid status:start timestamp:1.6796454125141896e+18] map[name:stopAgentPid status:ok timestamp:1.6796454165209126e+18] map[name:restartAgent status:ok timestamp:1.6796454165245757e+18]]}] 2023-03-24T16:10:21.64782+08:00 INFO [6756,889687777863a646] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=889687777863a646, body=] 2023-03-24T16:10:21.64793+08:00 INFO [6756,889687777863a646] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=889687777863a646, duration=3.259µs, status=200, data=2023-03-24 16:10:21.647898558 +0800 CST m=+10.120677499] 2023-03-24T16:10:21.70441+08:00 INFO [6756,b1f00969f9b2e0ab] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=b1f00969f9b2e0ab, body={"processName":"ocp_mgragent"}] 2023-03-24T16:10:21.76198+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="96.235µs" 2023-03-24T16:10:21.78492+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=23.037966ms 2023-03-24T16:10:21.78501+08:00 INFO [6756,b1f00969f9b2e0ab] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 10761}]" 2023-03-24T16:10:21.78509+08:00 INFO [6756,b1f00969f9b2e0ab] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=b1f00969f9b2e0ab, duration=80.595535ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 10761}]}] 2023-03-24T16:10:21.82747+08:00 INFO [6756,b2c35a38d7947a6c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=b2c35a38d7947a6c, body={"processName":"ocp_monagent"}] 2023-03-24T16:10:21.88261+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="928.203µs" 2023-03-24T16:10:21.90607+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=24.386528ms 2023-03-24T16:10:21.90615+08:00 INFO [6756,b2c35a38d7947a6c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 10881}]" 2023-03-24T16:10:21.90622+08:00 INFO [6756,b2c35a38d7947a6c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=b2c35a38d7947a6c, duration=78.668743ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 10881}]}] 2023-03-24T16:10:21.94541+08:00 INFO [6756,ed13c975217ad6b5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ed13c975217ad6b5, body={"processName":"ocp_agentd"}] 2023-03-24T16:10:21.99478+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="90.657µs" 2023-03-24T16:10:22.02032+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=25.630122ms 2023-03-24T16:10:22.0204+08:00 INFO [6756,ed13c975217ad6b5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 10994}]" 2023-03-24T16:10:22.02048+08:00 INFO [6756,ed13c975217ad6b5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ed13c975217ad6b5, duration=74.983756ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 10994}]}] 2023-03-24T16:10:22.08074+08:00 INFO [6756,25b239f902890556] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=25b239f902890556, body=] 2023-03-24T16:10:22.08083+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:10:22.08089+08:00 INFO [6756,] 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-03-24T16:10:22.08093+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:10:22.08385+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:10:22.08396+08:00 INFO [6756,25b239f902890556] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=25b239f902890556, duration=3.109897ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:12:35.30679+08:00 INFO [6756,965108ea0805a512] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=965108ea0805a512, body=] 2023-03-24T16:12:35.30686+08:00 INFO [6756,965108ea0805a512] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=965108ea0805a512, duration=2.878µs, status=200, data=2023-03-24 16:12:35.306850427 +0800 CST m=+143.779629358] 2023-03-24T16:12:35.55455+08:00 INFO [6756,fb8d4ab7982475b7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=fb8d4ab7982475b7, body={"processName":"ocp_mgragent"}] 2023-03-24T16:12:35.60691+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="138.39µs" 2023-03-24T16:12:35.62902+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=22.249338ms 2023-03-24T16:12:35.62912+08:00 INFO [6756,fb8d4ab7982475b7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 144606}]" 2023-03-24T16:12:35.6292+08:00 INFO [6756,fb8d4ab7982475b7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=fb8d4ab7982475b7, duration=74.563624ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 144606}]}] 2023-03-24T16:12:35.76647+08:00 INFO [6756,9c5f53738cf35900] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=9c5f53738cf35900, body={"processName":"ocp_monagent"}] 2023-03-24T16:12:35.8257+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="78.617µs" 2023-03-24T16:12:35.84848+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=22.860672ms 2023-03-24T16:12:35.84859+08:00 INFO [6756,9c5f53738cf35900] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 144825}]" 2023-03-24T16:12:35.84871+08:00 INFO [6756,9c5f53738cf35900] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=9c5f53738cf35900, duration=82.139185ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 144825}]}] 2023-03-24T16:12:35.91322+08:00 INFO [6756,68a222b99fae8b8c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=68a222b99fae8b8c, body={"processName":"ocp_agentd"}] 2023-03-24T16:12:35.96712+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="71.988µs" 2023-03-24T16:12:35.99165+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=24.615769ms 2023-03-24T16:12:35.99175+08:00 INFO [6756,68a222b99fae8b8c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 144966}]" 2023-03-24T16:12:35.99185+08:00 INFO [6756,68a222b99fae8b8c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=68a222b99fae8b8c, duration=78.504372ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 144966}]}] 2023-03-24T16:12:36.08596+08:00 INFO [6756,9d597cc8f7cf1ab7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=9d597cc8f7cf1ab7, body=] 2023-03-24T16:12:36.08605+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:12:36.08612+08:00 INFO [6756,] 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-03-24T16:12:36.08615+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:12:36.08944+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:12:36.08956+08:00 INFO [6756,9d597cc8f7cf1ab7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=9d597cc8f7cf1ab7, duration=3.503738ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:12:46.12734+08:00 INFO [6756,046ebe25a8d84a5c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=046ebe25a8d84a5c, body={"processName":"observer"}] 2023-03-24T16:12:46.18013+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration="84.232µs" 2023-03-24T16:12:46.23332+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration=53.273303ms 2023-03-24T16:12:46.23343+08:00 INFO [6756,046ebe25a8d84a5c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 305179}]" 2023-03-24T16:12:46.2337+08:00 INFO [6756,046ebe25a8d84a5c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=046ebe25a8d84a5c, duration=106.252341ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 305179}]}] 2023-03-24T16:12:53.87381+08:00 INFO [6756,8ca013392e374c47] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=8ca013392e374c47, body={"processName":"observer"}] 2023-03-24T16:12:53.92524+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration="111.015µs" 2023-03-24T16:12:53.98057+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration=55.439655ms 2023-03-24T16:12:53.9808+08:00 INFO [6756,8ca013392e374c47] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 312924}]" 2023-03-24T16:12:53.98092+08:00 INFO [6756,8ca013392e374c47] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=8ca013392e374c47, duration=107.014153ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 312924}]}] 2023-03-24T16:13:36.1554+08:00 INFO [6756,eb08deab382b2587] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=eb08deab382b2587, body=] 2023-03-24T16:13:36.1555+08:00 INFO [6756,eb08deab382b2587] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=eb08deab382b2587, duration=3.205µs, status=200, data=2023-03-24 16:13:36.155480064 +0800 CST m=+204.628258993] 2023-03-24T16:13:36.22772+08:00 INFO [6756,69fbee1343e2e9f3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=69fbee1343e2e9f3, body={"processName":"ocp_mgragent"}] 2023-03-24T16:13:36.28099+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="82.887µs" 2023-03-24T16:13:36.30408+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=23.170201ms 2023-03-24T16:13:36.30416+08:00 INFO [6756,69fbee1343e2e9f3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 205280}]" 2023-03-24T16:13:36.30425+08:00 INFO [6756,69fbee1343e2e9f3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=69fbee1343e2e9f3, duration=76.430037ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 205280}]}] 2023-03-24T16:13:36.35319+08:00 INFO [6756,6935943f0e78bb00] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6935943f0e78bb00, body={"processName":"ocp_monagent"}] 2023-03-24T16:13:36.40697+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="67.123µs" 2023-03-24T16:13:36.43124+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=24.334153ms 2023-03-24T16:13:36.43133+08:00 INFO [6756,6935943f0e78bb00] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 205406}]" 2023-03-24T16:13:36.4314+08:00 INFO [6756,6935943f0e78bb00] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6935943f0e78bb00, duration=78.091859ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 205406}]}] 2023-03-24T16:13:36.48432+08:00 INFO [6756,55d210b3a23212fb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=55d210b3a23212fb, body={"processName":"ocp_agentd"}] 2023-03-24T16:13:36.53457+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="68.492µs" 2023-03-24T16:13:36.56048+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=25.97845ms 2023-03-24T16:13:36.56056+08:00 INFO [6756,55d210b3a23212fb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 205534}]" 2023-03-24T16:13:36.56063+08:00 INFO [6756,55d210b3a23212fb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=55d210b3a23212fb, duration=76.215527ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 205534}]}] 2023-03-24T16:13:36.62272+08:00 INFO [6756,f69872e10442bf94] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f69872e10442bf94, body=] 2023-03-24T16:13:36.62279+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:13:36.62284+08:00 INFO [6756,] 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-03-24T16:13:36.62286+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:13:36.62577+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:13:36.62586+08:00 INFO [6756,f69872e10442bf94] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f69872e10442bf94, duration=3.044694ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:13:52.63372+08:00 INFO [6756,7eebb6e94cb84731] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=7eebb6e94cb84731, body={"processName":"observer"}] 2023-03-24T16:13:52.684+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration="65.429µs" 2023-03-24T16:13:52.73806+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '2244/' || true; }, timeout=10s} fields: duration=54.128409ms 2023-03-24T16:13:52.73818+08:00 INFO [6756,7eebb6e94cb84731] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 371683}]" 2023-03-24T16:13:52.73833+08:00 INFO [6756,7eebb6e94cb84731] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=7eebb6e94cb84731, duration=104.437731ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 2244, name: observer, cmdLine: /home/admin/oceanbase/bin/observer, username: admin, createTime: 2023-03-24 16:07:41 +0800 CST, elapsedTime: 371683}]}] 2023-03-24T16:14:36.67542+08:00 INFO [6756,c2bc3af4ff9a778e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c2bc3af4ff9a778e, body=] 2023-03-24T16:14:36.67553+08:00 INFO [6756,c2bc3af4ff9a778e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c2bc3af4ff9a778e, duration=7.129µs, status=200, data=2023-03-24 16:14:36.675498019 +0800 CST m=+265.148276958] 2023-03-24T16:14:36.76473+08:00 INFO [6756,d5ac7401542a503c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=d5ac7401542a503c, body={"processName":"ocp_mgragent"}] 2023-03-24T16:14:36.82251+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="93.701µs" 2023-03-24T16:14:36.84724+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=24.811941ms 2023-03-24T16:14:36.84736+08:00 INFO [6756,d5ac7401542a503c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 265822}]" 2023-03-24T16:14:36.84746+08:00 INFO [6756,d5ac7401542a503c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=d5ac7401542a503c, duration=82.626894ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 265822}]}] 2023-03-24T16:14:36.90477+08:00 INFO [6756,c3ec3058d0745682] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c3ec3058d0745682, body={"processName":"ocp_monagent"}] 2023-03-24T16:14:36.96089+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="118.443µs" 2023-03-24T16:14:36.9872+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=26.43474ms 2023-03-24T16:14:36.9873+08:00 INFO [6756,c3ec3058d0745682] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 265960}]" 2023-03-24T16:14:36.98743+08:00 INFO [6756,c3ec3058d0745682] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c3ec3058d0745682, duration=82.57125ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 265960}]}] 2023-03-24T16:14:37.04654+08:00 INFO [6756,bda687098a6472ba] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=bda687098a6472ba, body={"processName":"ocp_agentd"}] 2023-03-24T16:14:37.09577+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="67.835µs" 2023-03-24T16:14:37.12068+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=24.976097ms 2023-03-24T16:14:37.12077+08:00 INFO [6756,bda687098a6472ba] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 266095}]" 2023-03-24T16:14:37.12085+08:00 INFO [6756,bda687098a6472ba] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=bda687098a6472ba, duration=74.194997ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 266095}]}] 2023-03-24T16:14:37.19367+08:00 INFO [6756,5fa8b1fed780cbfe] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5fa8b1fed780cbfe, body=] 2023-03-24T16:14:37.19375+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:14:37.19379+08:00 INFO [6756,] 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-03-24T16:14:37.1938+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:14:37.19656+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:14:37.19664+08:00 INFO [6756,5fa8b1fed780cbfe] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5fa8b1fed780cbfe, duration=2.867371ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:15:37.2378+08:00 INFO [6756,6c0e789b6d640187] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6c0e789b6d640187, body=] 2023-03-24T16:15:37.23789+08:00 INFO [6756,6c0e789b6d640187] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6c0e789b6d640187, duration=3.373µs, status=200, data=2023-03-24 16:15:37.23787414 +0800 CST m=+325.710653069] 2023-03-24T16:15:37.29698+08:00 INFO [6756,2748d9cc3b93a5c4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=2748d9cc3b93a5c4, body={"processName":"ocp_mgragent"}] 2023-03-24T16:15:37.35793+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="127.184µs" 2023-03-24T16:15:37.38194+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=24.130435ms 2023-03-24T16:15:37.38203+08:00 INFO [6756,2748d9cc3b93a5c4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 326357}]" 2023-03-24T16:15:37.38221+08:00 INFO [6756,2748d9cc3b93a5c4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=2748d9cc3b93a5c4, duration=85.067468ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 326357}]}] 2023-03-24T16:15:37.44095+08:00 INFO [6756,07e5ea08b084ba3a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=07e5ea08b084ba3a, body={"processName":"ocp_monagent"}] 2023-03-24T16:15:37.49496+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="303.578µs" 2023-03-24T16:15:37.51984+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=25.187133ms 2023-03-24T16:15:37.51993+08:00 INFO [6756,07e5ea08b084ba3a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 326494}]" 2023-03-24T16:15:37.52011+08:00 INFO [6756,07e5ea08b084ba3a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=07e5ea08b084ba3a, duration=79.04474ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 326494}]}] 2023-03-24T16:15:37.56102+08:00 INFO [6756,5aefbf745b511870] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5aefbf745b511870, body={"processName":"ocp_agentd"}] 2023-03-24T16:15:37.60932+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="105.531µs" 2023-03-24T16:15:37.63362+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=24.39913ms 2023-03-24T16:15:37.63369+08:00 INFO [6756,5aefbf745b511870] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 326609}]" 2023-03-24T16:15:37.63376+08:00 INFO [6756,5aefbf745b511870] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=5aefbf745b511870, duration=72.650565ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 326609}]}] 2023-03-24T16:15:37.69222+08:00 INFO [6756,715a53d6156f7c0f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=715a53d6156f7c0f, body=] 2023-03-24T16:15:37.69231+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:15:37.69235+08:00 INFO [6756,] 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-03-24T16:15:37.69237+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:15:37.69535+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:15:37.69543+08:00 INFO [6756,715a53d6156f7c0f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=715a53d6156f7c0f, duration=3.110655ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:16:37.74609+08:00 INFO [6756,ad71f60ca1f0c647] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ad71f60ca1f0c647, body=] 2023-03-24T16:16:37.74618+08:00 INFO [6756,ad71f60ca1f0c647] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ad71f60ca1f0c647, duration=3.422µs, status=200, data=2023-03-24 16:16:37.74616054 +0800 CST m=+386.218939470] 2023-03-24T16:16:37.79733+08:00 INFO [6756,ac08591b45fdf676] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ac08591b45fdf676, body={"processName":"ocp_mgragent"}] 2023-03-24T16:16:37.84789+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="55.106µs" 2023-03-24T16:16:37.87434+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=26.515251ms 2023-03-24T16:16:37.87444+08:00 INFO [6756,ac08591b45fdf676] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 386847}]" 2023-03-24T16:16:37.87453+08:00 INFO [6756,ac08591b45fdf676] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=ac08591b45fdf676, duration=77.095662ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 386847}]}] 2023-03-24T16:16:37.94091+08:00 INFO [6756,2c5ac67c4c74efb4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=2c5ac67c4c74efb4, body={"processName":"ocp_monagent"}] 2023-03-24T16:16:38.002+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="68.556µs" 2023-03-24T16:16:38.02584+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=23.9165ms 2023-03-24T16:16:38.02599+08:00 INFO [6756,2c5ac67c4c74efb4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 387001}]" 2023-03-24T16:16:38.02607+08:00 INFO [6756,2c5ac67c4c74efb4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=2c5ac67c4c74efb4, duration=85.058958ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 387001}]}] 2023-03-24T16:16:38.06808+08:00 INFO [6756,a5f6bd35ed53effb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a5f6bd35ed53effb, body={"processName":"ocp_agentd"}] 2023-03-24T16:16:38.1166+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="196.395µs" 2023-03-24T16:16:38.13937+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=22.96192ms 2023-03-24T16:16:38.13951+08:00 INFO [6756,a5f6bd35ed53effb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 387116}]" 2023-03-24T16:16:38.13959+08:00 INFO [6756,a5f6bd35ed53effb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=a5f6bd35ed53effb, duration=71.350569ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 387116}]}] 2023-03-24T16:16:38.18918+08:00 INFO [6756,07f4cf72d9eed20f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=07f4cf72d9eed20f, body=] 2023-03-24T16:16:38.18928+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:16:38.18933+08:00 INFO [6756,] 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-03-24T16:16:38.18936+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:16:38.19217+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:16:38.19225+08:00 INFO [6756,07f4cf72d9eed20f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=07f4cf72d9eed20f, duration=2.94709ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:17:38.23172+08:00 INFO [6756,3794b650b04a4e4d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3794b650b04a4e4d, body=] 2023-03-24T16:17:38.23181+08:00 INFO [6756,3794b650b04a4e4d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3794b650b04a4e4d, duration=2.446µs, status=200, data=2023-03-24 16:17:38.231790618 +0800 CST m=+446.704569549] 2023-03-24T16:17:38.28229+08:00 INFO [6756,f944bd902ea34aa6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f944bd902ea34aa6, body={"processName":"ocp_mgragent"}] 2023-03-24T16:17:38.33842+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="63.6µs" 2023-03-24T16:17:38.3637+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=25.345687ms 2023-03-24T16:17:38.3638+08:00 INFO [6756,f944bd902ea34aa6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 447338}]" 2023-03-24T16:17:38.36388+08:00 INFO [6756,f944bd902ea34aa6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=f944bd902ea34aa6, duration=81.498922ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 447338}]}] 2023-03-24T16:17:38.40859+08:00 INFO [6756,1ead1aeb5fc754a6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=1ead1aeb5fc754a6, body={"processName":"ocp_monagent"}] 2023-03-24T16:17:38.46017+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="109.726µs" 2023-03-24T16:17:38.4855+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=25.444162ms 2023-03-24T16:17:38.48558+08:00 INFO [6756,1ead1aeb5fc754a6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 447459}]" 2023-03-24T16:17:38.48573+08:00 INFO [6756,1ead1aeb5fc754a6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=1ead1aeb5fc754a6, duration=77.031879ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 447459}]}] 2023-03-24T16:17:38.52668+08:00 INFO [6756,00875d9f1d6884ab] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=00875d9f1d6884ab, body={"processName":"ocp_agentd"}] 2023-03-24T16:17:38.56906+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="47.695µs" 2023-03-24T16:17:38.59439+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=25.377893ms 2023-03-24T16:17:38.5945+08:00 INFO [6756,00875d9f1d6884ab] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 447568}]" 2023-03-24T16:17:38.59458+08:00 INFO [6756,00875d9f1d6884ab] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=00875d9f1d6884ab, duration=67.815545ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 447568}]}] 2023-03-24T16:17:38.6511+08:00 INFO [6756,25c4880d5d73d92e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=25c4880d5d73d92e, body=] 2023-03-24T16:17:38.65119+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:17:38.65124+08:00 INFO [6756,] 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-03-24T16:17:38.65127+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:17:38.6541+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:17:38.65419+08:00 INFO [6756,25c4880d5d73d92e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=25c4880d5d73d92e, duration=2.97582ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:18:38.69189+08:00 INFO [6756,3060d5189e54e7b5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3060d5189e54e7b5, body=] 2023-03-24T16:18:38.69198+08:00 INFO [6756,3060d5189e54e7b5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3060d5189e54e7b5, duration=3.236µs, status=200, data=2023-03-24 16:18:38.691956245 +0800 CST m=+507.164735175] 2023-03-24T16:18:38.74088+08:00 INFO [6756,2f846befaa6a77a1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=2f846befaa6a77a1, body={"processName":"ocp_mgragent"}] 2023-03-24T16:18:38.79218+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="79.693µs" 2023-03-24T16:18:38.8175+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=25.3982ms 2023-03-24T16:18:38.8176+08:00 INFO [6756,2f846befaa6a77a1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 507792}]" 2023-03-24T16:18:38.81767+08:00 INFO [6756,2f846befaa6a77a1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=2f846befaa6a77a1, duration=76.696195ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 507792}]}] 2023-03-24T16:18:38.868+08:00 INFO [6756,c12689cb644fc007] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c12689cb644fc007, body={"processName":"ocp_monagent"}] 2023-03-24T16:18:38.92018+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="111.67µs" 2023-03-24T16:18:38.94825+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=28.174373ms 2023-03-24T16:18:38.94835+08:00 INFO [6756,c12689cb644fc007] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 507920}]" 2023-03-24T16:18:38.94843+08:00 INFO [6756,c12689cb644fc007] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=c12689cb644fc007, duration=80.33483ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 507920}]}] 2023-03-24T16:18:38.99264+08:00 INFO [6756,6882599ac68a4ec0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6882599ac68a4ec0, body={"processName":"ocp_agentd"}] 2023-03-24T16:18:39.0504+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="246.532µs" 2023-03-24T16:18:39.07597+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=25.811879ms 2023-03-24T16:18:39.07604+08:00 INFO [6756,6882599ac68a4ec0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 508050}]" 2023-03-24T16:18:39.07614+08:00 INFO [6756,6882599ac68a4ec0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=6882599ac68a4ec0, duration=83.394712ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 508050}]}] 2023-03-24T16:18:39.1385+08:00 INFO [6756,e438fb98d37e4939] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e438fb98d37e4939, body=] 2023-03-24T16:18:39.13857+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:18:39.13864+08:00 INFO [6756,] 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-03-24T16:18:39.13866+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:18:39.14374+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:18:39.14382+08:00 INFO [6756,e438fb98d37e4939] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=e438fb98d37e4939, duration=5.232774ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-03-24T16:19:39.18578+08:00 INFO [6756,3ab487b840d5a29b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3ab487b840d5a29b, body=] 2023-03-24T16:19:39.18587+08:00 INFO [6756,3ab487b840d5a29b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=3ab487b840d5a29b, duration=3.473µs, status=200, data=2023-03-24 16:19:39.185854195 +0800 CST m=+567.658633136] 2023-03-24T16:19:39.24529+08:00 INFO [6756,38c9496b9d4fd410] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=38c9496b9d4fd410, body={"processName":"ocp_mgragent"}] 2023-03-24T16:19:39.296+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration="84.747µs" 2023-03-24T16:19:39.32167+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6756/' || true; }, timeout=10s} fields: duration=25.755054ms 2023-03-24T16:19:39.32177+08:00 INFO [6756,38c9496b9d4fd410] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 568295}]" 2023-03-24T16:19:39.32187+08:00 INFO [6756,38c9496b9d4fd410] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=38c9496b9d4fd410, duration=76.494394ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6756, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 568295}]}] 2023-03-24T16:19:39.35428+08:00 INFO [6756,61d12b48d8a8d922] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=61d12b48d8a8d922, body={"processName":"ocp_monagent"}] 2023-03-24T16:19:39.40665+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration="91.793µs" 2023-03-24T16:19:39.43273+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6757/' || true; }, timeout=10s} fields: duration=26.173131ms 2023-03-24T16:19:39.43283+08:00 INFO [6756,61d12b48d8a8d922] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 568406}]" 2023-03-24T16:19:39.43293+08:00 INFO [6756,61d12b48d8a8d922] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=61d12b48d8a8d922, duration=78.521972ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6757, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 568406}]}] 2023-03-24T16:19:39.47475+08:00 INFO [6756,42a5e18f024beb2b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=42a5e18f024beb2b, body={"processName":"ocp_agentd"}] 2023-03-24T16:19:39.52609+08:00 INFO [6756,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration="73.13µs" 2023-03-24T16:19:39.55177+08:00 INFO [6756,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '6750/' || true; }, timeout=10s} fields: duration=25.755266ms 2023-03-24T16:19:39.55799+08:00 INFO [6756,42a5e18f024beb2b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 568525}]" 2023-03-24T16:19:39.55822+08:00 INFO [6756,42a5e18f024beb2b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=42a5e18f024beb2b, duration=83.373724ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 6750, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-03-24 16:10:11 +0800 CST, elapsedTime: 568525}]}] 2023-03-24T16:19:39.61553+08:00 INFO [6756,061258a48a95dfbc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=061258a48a95dfbc, body=] 2023-03-24T16:19:39.61568+08:00 INFO [6756,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-03-24T16:19:39.61575+08:00 INFO [6756,] 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-03-24T16:19:39.61578+08:00 INFO [6756,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-03-24T16:19:39.6187+08:00 INFO [6756,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-03-24T16:19:39.61877+08:00 INFO [6756,061258a48a95dfbc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=10.251.60.28, ocpServerIp=10.251.60.28, traceId=061258a48a95dfbc, duration=3.071116ms, status=200, data={State:running Ready:true Version: Pid:6750 Socket:/home/admin/ocp_agent/run/ocp_agentd.6750.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:6756 StartAt:1679645411541341789} Socket:/home/admin/ocp_agent/run/ocp_mgragent.6756.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:6757 StartAt:1679645411543618227} Socket:/home/admin/ocp_agent/run/ocp_monagent.6757.sock EndAt:-6795364578871345152}] Dangling:[]}]