2023-10-09T04:57:17.96437-04:00 INFO [14402,700615403174df6b] caller=sdk/sdk_init.go:32:InitSDK: init sdk conf {ConfigPropertiesDir:/root/myoceanbase/obagent/conf/config_properties ModuleConfigDir:/root/myoceanbase/obagent/conf/module_config CryptoPath:/root/myoceanbase/obagent/conf/.config_secret.key CryptoMethod:plain} 2023-10-09T04:57:17.9648-04:00 INFO [14402,700615403174df6b] caller=config/config_reader_writer.go:212:loadYamlFilesFromPath: read config files from path /root/myoceanbase/obagent/conf/config_properties 2023-10-09T04:57:17.96504-04:00 INFO [14402,700615403174df6b] caller=config/config_reader_writer.go:218:loadYamlFilesFromPath: read config from path /root/myoceanbase/obagent/conf/config_properties, files length 5 2023-10-09T04:57:17.96951-04:00 INFO [14402,700615403174df6b] caller=config/config_reader_writer.go:112:decodeConfigPropertiesGroup: config key monagent.node.ntp.server is not defined in sdk, use valueType string 2023-10-09T04:57:17.96955-04:00 INFO [14402,700615403174df6b] caller=config/config_reader_writer.go:112:decodeConfigPropertiesGroup: config key observer.coredump.path is not defined in sdk, use valueType string 2023-10-09T04:57:17.96957-04:00 INFO [14402,700615403174df6b] caller=config/config_reader_writer.go:112:decodeConfigPropertiesGroup: config key monagent.pipeline.ob.trace.status is not defined in sdk, use valueType string 2023-10-09T04:57:17.96985-04:00 WARN [14402,700615403174df6b] caller=config/config_property_meta.go:32:mergeConfigProperties: config key agent.http.basic.auth.password is still set as default value 2023-10-09T04:57:17.96993-04:00 WARN [14402,700615403174df6b] caller=config/config_property_meta.go:32:mergeConfigProperties: config key monagent.ob.monitor.password is still set as default value 2023-10-09T04:57:17.96998-04:00 INFO [14402,700615403174df6b] caller=sdk/sdk_init.go:67:initConfigs: init config properties success. 2023-10-09T04:57:17.97-04:00 INFO [14402,700615403174df6b] caller=config/config_reader_writer.go:212:loadYamlFilesFromPath: read config files from path /root/myoceanbase/obagent/conf/module_config 2023-10-09T04:57:17.97014-04:00 INFO [14402,700615403174df6b] caller=config/config_reader_writer.go:218:loadYamlFilesFromPath: read config from path /root/myoceanbase/obagent/conf/module_config, files length 13 2023-10-09T04:57:17.98203-04:00 INFO [14402,4dd36b2efb9adad3] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-10-09T04:57:17.98242-04:00 INFO [14402,4dd36b2efb9adad3] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-10-09T04:57:17.98286-04:00 INFO [14402,4dd36b2efb9adad3] caller=agentctl/main.go:121:func1: agentctl config updates:[agent.log.path=log/monagent.log agent.http.basic.auth.username=admin agent.http.basic.auth.password=xxx ocp.agent.manager.http.port=8099 mgragent.log.maxsize.mb=30 ocp.agent.monitor.http.port=8088 monagent.ob.monitor.password=xxx monagent.ob.sql.port=2881 monagent.ob.rpc.port=2882 monagent.ob.cluster.name=myoceanbase monagent.ob.cluster.id=1696841678 monagent.ob.zone.name=zone1 monagent.log.level=info monagent.pipeline.ob.status=active obagent.home.path=/root/myoceanbase/obagent monagent.host.ip=172.20.4.131 ob.log.path=/root/myoceanbase/oceanbase/store ob.data.path=/root/myoceanbase/oceanbase/store ob.install.path=/root/myoceanbase/oceanbase observer.log.path=/root/myoceanbase/oceanbase/log], notify modules:[], validate configs:[] 2023-10-09T04:57:17.98316-04:00 INFO [14402,4dd36b2efb9adad3] caller=agentctl/main.go:525:runUpdateConfigs: update module configs fields: pairs="[agent.log.path=log/monagent.log agent.http.basic.auth.username=admin agent.http.basic.auth.password=xxx ocp.agent.manager.http.port=8099 mgragent.log.maxsize.mb=30 ocp.agent.monitor.http.port=8088 monagent.ob.monitor.password=xxx monagent.ob.sql.port=2881 monagent.ob.rpc.port=2882 monagent.ob.cluster.name=myoceanbase monagent.ob.cluster.id=1696841678 monagent.ob.zone.name=zone1 monagent.log.level=info monagent.pipeline.ob.status=active obagent.home.path=/root/myoceanbase/obagent monagent.host.ip=172.20.4.131 ob.log.path=/root/myoceanbase/oceanbase/store ob.data.path=/root/myoceanbase/oceanbase/store ob.install.path=/root/myoceanbase/oceanbase observer.log.path=/root/myoceanbase/oceanbase/log]" 2023-10-09T04:57:17.98326-04:00 INFO [14402,] caller=config/config_verify_save.go:73:UpdateConfigPairs: update module config fields:, config key values="map[agent.http.basic.auth.password:xxx agent.http.basic.auth.username:admin agent.log.path:log/monagent.log mgragent.log.maxsize.mb:30 monagent.host.ip:172.20.4.131 monagent.log.level:info monagent.ob.cluster.id:1696841678 monagent.ob.cluster.name:myoceanbase monagent.ob.monitor.password:xxx monagent.ob.rpc.port:2882 monagent.ob.sql.port:2881 monagent.ob.zone.name:zone1 monagent.pipeline.ob.status:active ob.data.path:/root/myoceanbase/oceanbase/store ob.install.path:/root/myoceanbase/oceanbase ob.log.path:/root/myoceanbase/oceanbase/store obagent.home.path:/root/myoceanbase/obagent observer.log.path:/root/myoceanbase/oceanbase/log ocp.agent.manager.http.port:8099 ocp.agent.monitor.http.port:8088]" 2023-10-09T04:57:17.98336-04:00 INFO [14402,] caller=config/config_verify_save.go:165:verifyAndSaveConfig: update config fields:, key-values="map[agent.http.basic.auth.password:xxx agent.http.basic.auth.username:admin agent.log.path:log/monagent.log mgragent.log.maxsize.mb:30 monagent.host.ip:172.20.4.131 monagent.log.level:info monagent.ob.cluster.id:1696841678 monagent.ob.cluster.name:myoceanbase monagent.ob.monitor.password:xxx monagent.ob.rpc.port:2882 monagent.ob.sql.port:2881 monagent.ob.zone.name:zone1 monagent.pipeline.ob.status:active ob.data.path:/root/myoceanbase/oceanbase/store ob.install.path:/root/myoceanbase/oceanbase ob.log.path:/root/myoceanbase/oceanbase/store obagent.home.path:/root/myoceanbase/obagent observer.log.path:/root/myoceanbase/oceanbase/log ocp.agent.manager.http.port:8099 ocp.agent.monitor.http.port:8088]" 2023-10-09T04:57:17.99674-04:00 INFO [14402,4dd36b2efb9adad3] caller=runtime/asm_amd64.s:1581:goexit: check config version backups once. 2023-10-09T04:57:17.99704-04:00 INFO [14402,4dd36b2efb9adad3] caller=config/config_version.go:86:checkConfigVersionBackups: read config from path /root/myoceanbase/obagent/conf, files length 10 2023-10-09T04:57:17.99712-04:00 INFO [14402,4dd36b2efb9adad3] caller=config/config_version.go:102:checkConfigVersionBackups: config stay count:30, config version count:0, no need to rotate. 2023-10-09T04:57:17.99714-04:00 INFO [14402,4dd36b2efb9adad3] caller=runtime/asm_amd64.s:1581:goexit: check config version backups once. 2023-10-09T04:57:17.99722-04:00 INFO [14402,4dd36b2efb9adad3] caller=config/config_version.go:86:checkConfigVersionBackups: read config from path /root/myoceanbase/obagent/conf, files length 10 2023-10-09T04:57:17.99727-04:00 INFO [14402,4dd36b2efb9adad3] caller=config/config_version.go:102:checkConfigVersionBackups: config stay count:30, config version count:0, no need to rotate. 2023-10-09T04:57:18.01475-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module mgragent.basic.auth, process ob_mgragent 2023-10-09T04:57:18.01518-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module mgragent.log.config, process ob_mgragent 2023-10-09T04:57:18.01649-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module mgragent.logquerier, process ob_mgragent 2023-10-09T04:57:18.01674-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module mgragent.stat.config, process ob_mgragent 2023-10-09T04:57:18.01705-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monagent.server.basic.auth, process ob_monagent 2023-10-09T04:57:18.01727-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monagent.stat.config, process ob_monagent 2023-10-09T04:57:18.0181-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monitor.host.log, process ob_monagent 2023-10-09T04:57:18.0193-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monitor.mysql, process ob_monagent 2023-10-09T04:57:18.02211-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monitor.node.host, process ob_monagent 2023-10-09T04:57:18.04133-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monitor.ob, process ob_monagent 2023-10-09T04:57:18.04214-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monitor.ob.custom, process ob_monagent 2023-10-09T04:57:18.04282-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monitor.ob.err.log, process ob_monagent 2023-10-09T04:57:18.04376-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module monitor.ob.log, process ob_monagent 2023-10-09T04:57:18.04435-04:00 INFO [14402,] caller=config/config_verify_save.go:239:getUpdatedConfigs: changed config, module ob.logcleaner, process ob_mgragent 2023-10-09T04:57:18.04439-04:00 INFO [14402,] caller=config/config_verify_save.go:177:verifyAndSaveConfig: changed module fields:, change config modules="map[mgragent.basic.auth:[agent.http.basic.auth.password agent.http.basic.auth.username] mgragent.log.config:[mgragent.log.maxsize.mb] mgragent.logquerier:[0 0 0 0 0 0 0 0 0 0 0 0] mgragent.stat.config:[monagent.host.ip] monagent.server.basic.auth:[agent.http.basic.auth.password agent.http.basic.auth.username] monagent.stat.config:[monagent.host.ip] monitor.host.log:[monagent.ob.cluster.name monagent.ob.cluster.name monagent.ob.cluster.name] monitor.mysql:[monagent.host.ip] monitor.node.host:[fstype fstype fstype fstype ob.log.path ob.log.path ob.log.path monagent.pipeline.ob.status] monitor.ob:[monagent.host.ip monagent.host.ip monagent.host.ip monagent.host.ip monagent.host.ip monagent.host.ip queryDataConfigs monagent.host.ip monagent.host.ip monagent.host.ip monagent.host.ip monagent.host.ip monagent.host.ip queryDataConfigs monagent.pipeline.ob.status] monitor.ob.custom:[monagent.ob.monitor.user:monagent.ob.monitor.password@tcp(127.0.0.1:monagent.ob.sql.port)/oceanbase?interpolateParams=true monagent.pipeline.ob.status] monitor.ob.err.log:[ob.install.path/log ob.install.path/log ob.install.path/log monagent.host.ip monagent.host.ip monagent.host.ip monagent.host.ip] monitor.ob.log:[ob.install.path/log ob.install.path/log ob.install.path/log monagent.ob.cluster.name monagent.ob.cluster.name monagent.ob.cluster.name] ob.logcleaner:[1 0]]" 2023-10-09T04:57:18.04451-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key 0 is not found 2023-10-09T04:57:18.04456-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key fstype is not found 2023-10-09T04:57:18.04458-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key queryDataConfigs is not found 2023-10-09T04:57:18.0446-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key monagent.ob.monitor.user:monagent.ob.monitor.password@tcp(127.0.0.1:monagent.ob.sql.port)/oceanbase?interpolateParams=true is not found 2023-10-09T04:57:18.04461-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key ob.install.path/log is not found 2023-10-09T04:57:18.04463-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key ob.install.path/log is not found 2023-10-09T04:57:18.04464-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key 0 is not found 2023-10-09T04:57:18.04465-04:00 ERROR [14402,] caller=config/config_property.go:39:ContainsRestartNeededKeyValues: config key 1 is not found 2023-10-09T04:57:18.04519-04:00 INFO [14402,] caller=config/config_property.go:216:saveIncrementalConfig: save config 2023-10-09T04:57:18.0446-04:00 to file /root/myoceanbase/obagent/conf/config_properties/log.yaml 2023-10-09T04:57:18.04678-04:00 INFO [14402,] caller=config/config_property.go:216:saveIncrementalConfig: save config 2023-10-09T04:57:18.0446-04:00 to file /root/myoceanbase/obagent/conf/config_properties/monagent_pipeline.yaml 2023-10-09T04:57:18.04711-04:00 INFO [14402,] caller=config/config_property.go:216:saveIncrementalConfig: save config 2023-10-09T04:57:18.0446-04:00 to file /root/myoceanbase/obagent/conf/config_properties/common_meta.yaml 2023-10-09T04:57:18.0475-04:00 INFO [14402,] caller=config/config_property.go:216:saveIncrementalConfig: save config 2023-10-09T04:57:18.0446-04:00 to file /root/myoceanbase/obagent/conf/config_properties/basic_auth.yaml 2023-10-09T04:57:18.04764-04:00 INFO [14402,] caller=config/config_reader_writer.go:212:loadYamlFilesFromPath: read config files from path /root/myoceanbase/obagent/conf/config_properties 2023-10-09T04:57:18.04773-04:00 INFO [14402,] caller=config/config_reader_writer.go:218:loadYamlFilesFromPath: read config from path /root/myoceanbase/obagent/conf/config_properties, files length 5 2023-10-09T04:57:18.04824-04:00 INFO [14402,] caller=config/config_reader_writer.go:212:loadYamlFilesFromPath: read config files from path /root/myoceanbase/obagent/conf/module_config 2023-10-09T04:57:18.04837-04:00 INFO [14402,] caller=config/config_reader_writer.go:218:loadYamlFilesFromPath: read config from path /root/myoceanbase/obagent/conf/module_config, files length 13 2023-10-09T04:57:18.04949-04:00 INFO [14402,] caller=config/config_verify_save.go:282:snapshotForConfigVersion: check config version backups once. 2023-10-09T04:57:18.0496-04:00 INFO [14402,] caller=config/config_version.go:86:checkConfigVersionBackups: read config from path /root/myoceanbase/obagent/conf, files length 11 2023-10-09T04:57:18.04978-04:00 INFO [14402,] caller=config/config_version.go:102:checkConfigVersionBackups: config stay count:30, config version count:1, no need to rotate. 2023-10-09T04:57:18.04981-04:00 INFO [14402,] caller=config/config_notify.go:76:NotifyModuleConfigs: notify module configs length:14 2023-10-09T04:57:18.04983-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module mgragent.basic.auth, notify process ob_mgragent, current process ob_agentctl 2023-10-09T04:57:18.04985-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields: notify address=api/v1/module/config/notify, module=mgragent.basic.auth, process=ob_mgragent 2023-10-09T04:57:18.0499-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05004-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory fields: notify address=api/v1/module/config/notify, module=mgragent.basic.auth, process=ob_mgragent 2023-10-09T04:57:18.05007-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module mgragent.basic.auth err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory 2023-10-09T04:57:18.0501-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module mgragent.log.config, notify process ob_mgragent, current process ob_agentctl 2023-10-09T04:57:18.05012-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields: notify address=api/v1/module/config/notify, module=mgragent.log.config, process=ob_mgragent 2023-10-09T04:57:18.05016-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05019-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory fields:, module=mgragent.log.config, process=ob_mgragent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05021-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module mgragent.log.config err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory 2023-10-09T04:57:18.05024-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module mgragent.logquerier, notify process ob_mgragent, current process ob_agentctl 2023-10-09T04:57:18.05026-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields:, notify address=api/v1/module/config/notify, module=mgragent.logquerier, process=ob_mgragent 2023-10-09T04:57:18.05029-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05032-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory fields: module=mgragent.logquerier, process=ob_mgragent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05034-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module mgragent.logquerier err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory 2023-10-09T04:57:18.05036-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module mgragent.stat.config, notify process ob_mgragent, current process ob_agentctl 2023-10-09T04:57:18.05038-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields:, notify address=api/v1/module/config/notify, module=mgragent.stat.config, process=ob_mgragent 2023-10-09T04:57:18.05042-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05046-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory fields:, module=mgragent.stat.config, process=ob_mgragent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05049-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module mgragent.stat.config err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory 2023-10-09T04:57:18.05072-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monagent.server.basic.auth, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05074-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields: module=monagent.server.basic.auth, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05078-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05081-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields: module=monagent.server.basic.auth, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05084-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monagent.server.basic.auth err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05086-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monagent.stat.config, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05088-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields: notify address=api/v1/module/config/notify, module=monagent.stat.config, process=ob_monagent 2023-10-09T04:57:18.05094-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05098-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields:, notify address=api/v1/module/config/notify, module=monagent.stat.config, process=ob_monagent 2023-10-09T04:57:18.05101-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monagent.stat.config err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05104-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monitor.host.log, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05106-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields:, process=ob_monagent, notify address=api/v1/module/config/notify, module=monitor.host.log 2023-10-09T04:57:18.05109-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05112-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields:, module=monitor.host.log, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05115-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monitor.host.log err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05117-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monitor.mysql, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05119-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields:, notify address=api/v1/module/config/notify, module=monitor.mysql, process=ob_monagent 2023-10-09T04:57:18.05122-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05125-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields:, module=monitor.mysql, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05127-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monitor.mysql err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05129-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monitor.node.host, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05131-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields: module=monitor.node.host, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05135-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05156-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields:, module=monitor.node.host, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05159-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monitor.node.host err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05161-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monitor.ob, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05163-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields:, notify address=api/v1/module/config/notify, module=monitor.ob, process=ob_monagent 2023-10-09T04:57:18.05166-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05169-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields: process=ob_monagent, notify address=api/v1/module/config/notify, module=monitor.ob 2023-10-09T04:57:18.05171-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monitor.ob err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05174-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monitor.ob.custom, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05175-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields:, process=ob_monagent, notify address=api/v1/module/config/notify, module=monitor.ob.custom 2023-10-09T04:57:18.05178-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05181-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields: module=monitor.ob.custom, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05184-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monitor.ob.custom err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05186-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monitor.ob.err.log, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05188-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields: module=monitor.ob.err.log, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05191-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05195-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields:, notify address=api/v1/module/config/notify, module=monitor.ob.err.log, process=ob_monagent 2023-10-09T04:57:18.05198-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monitor.ob.err.log err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.052-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module monitor.ob.log, notify process ob_monagent, current process ob_agentctl 2023-10-09T04:57:18.05202-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields:, module=monitor.ob.log, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05205-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05208-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory fields:, module=monitor.ob.log, process=ob_monagent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05211-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module monitor.ob.log err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory 2023-10-09T04:57:18.05228-04:00 INFO [14402,] caller=config/config_notify.go:93:notifyModuleConfig: module ob.logcleaner, notify process ob_mgragent, current process ob_agentctl 2023-10-09T04:57:18.0523-04:00 INFO [14402,] caller=config/config_notify.go:124:NotifyRemoteModuleConfig: notify module config fields: module=ob.logcleaner, process=ob_mgragent, notify address=api/v1/module/config/notify 2023-10-09T04:57:18.05234-04:00 INFO [14402,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:/root/myoceanbase/obagent/obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.05237-04:00 ERROR [14402,] caller=config/config_notify.go:129:NotifyRemoteModuleConfig: new client err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory fields:, process=ob_mgragent, notify address=api/v1/module/config/notify, module=ob.logcleaner 2023-10-09T04:57:18.05246-04:00 ERROR [14402,] caller=config/config_notify.go:81:NotifyModuleConfigs: notify module ob.logcleaner err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory 2023-10-09T04:57:18.05262-04:00 ERROR [14402,] caller=config/config_verify_save.go:57:UpdateConfig: update module config failed, config version:2023-10-09T04:57:18.0446-04:00, changed modules length:14, err:notify modules err:Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_monagent.pid] cause: open /root/myoceanbase/obagent/run/ob_monagent.pid: no such file or directory,Module=agent, kind=INTERNAL, code=read_pid_failed; [/root/myoceanbase/obagent/run/ob_mgragent.pid] cause: open /root/myoceanbase/obagent/run/ob_mgragent.pid: no such file or directory github.com/oceanbase/obagent/config.NotifyModuleConfigs /root/.rpm_build/SOURCES/obagent/config/config_notify.go:86 github.com/oceanbase/obagent/config.UpdateConfig /root/.rpm_build/SOURCES/obagent/config/config_verify_save.go:55 github.com/oceanbase/obagent/config.UpdateConfigPairs /root/.rpm_build/SOURCES/obagent/config/config_verify_save.go:73 main.runUpdateConfigs /root/.rpm_build/SOURCES/obagent/cmd/agentctl/main.go:525 main.defineConfigCommands.func1 /root/.rpm_build/SOURCES/obagent/cmd/agentctl/main.go:123 github.com/spf13/cobra.(*Command).execute /root/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:766 github.com/spf13/cobra.(*Command).ExecuteC /root/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852 github.com/spf13/cobra.(*Command).Execute /root/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800 main.main /root/.rpm_build/SOURCES/obagent/cmd/agentctl/main.go:424 runtime.main /usr/local/go/src/runtime/proc.go:255 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1581 2023-10-09T04:57:18.05267-04:00 INFO [14402,4dd36b2efb9adad3] caller=config/config_verify_save.go:78:UpdateConfigPairs: update config success, version:&{ConfigVersion:2023-10-09T04:57:18.0446-04:00} 2023-10-09T04:57:18.05307-04:00 INFO [14402,] caller=agentctl/main.go:471:func1: agentctl success fields:, response="{\"successful\":true,\"message\":\"success\",\"error\":\"\"}" 2023-10-09T04:57:18.1412-04:00 INFO [14421,e49a5b2648d41740] caller=sdk/sdk_init.go:32:InitSDK: init sdk conf {ConfigPropertiesDir:/root/myoceanbase/obagent/conf/config_properties ModuleConfigDir:/root/myoceanbase/obagent/conf/module_config CryptoPath:/root/myoceanbase/obagent/conf/.config_secret.key CryptoMethod:plain} 2023-10-09T04:57:18.14145-04:00 INFO [14421,e49a5b2648d41740] caller=config/config_reader_writer.go:212:loadYamlFilesFromPath: read config files from path /root/myoceanbase/obagent/conf/config_properties 2023-10-09T04:57:18.14193-04:00 INFO [14421,e49a5b2648d41740] caller=config/config_reader_writer.go:218:loadYamlFilesFromPath: read config from path /root/myoceanbase/obagent/conf/config_properties, files length 5 2023-10-09T04:57:18.14353-04:00 INFO [14421,e49a5b2648d41740] caller=config/config_reader_writer.go:112:decodeConfigPropertiesGroup: config key monagent.node.ntp.server is not defined in sdk, use valueType string 2023-10-09T04:57:18.14357-04:00 INFO [14421,e49a5b2648d41740] caller=config/config_reader_writer.go:112:decodeConfigPropertiesGroup: config key observer.coredump.path is not defined in sdk, use valueType string 2023-10-09T04:57:18.14359-04:00 INFO [14421,e49a5b2648d41740] caller=config/config_reader_writer.go:112:decodeConfigPropertiesGroup: config key monagent.pipeline.ob.trace.status is not defined in sdk, use valueType string 2023-10-09T04:57:18.1439-04:00 INFO [14421,e49a5b2648d41740] caller=sdk/sdk_init.go:67:initConfigs: init config properties success. 2023-10-09T04:57:18.14396-04:00 INFO [14421,e49a5b2648d41740] caller=config/config_reader_writer.go:212:loadYamlFilesFromPath: read config files from path /root/myoceanbase/obagent/conf/module_config 2023-10-09T04:57:18.14406-04:00 INFO [14421,e49a5b2648d41740] caller=config/config_reader_writer.go:218:loadYamlFilesFromPath: read config from path /root/myoceanbase/obagent/conf/module_config, files length 13 2023-10-09T04:57:18.15974-04:00 INFO [14421,] caller=agent/admin.go:95:NewAdmin: NewAdmin with config {RunDir:/root/myoceanbase/obagent/run ConfDir:/root/myoceanbase/obagent/conf LogDir:/root/myoceanbase/obagent/log BackupDir:/root/myoceanbase/obagent/backup TempDir:/root/myoceanbase/obagent/tmp TaskStoreDir:/root/myoceanbase/obagent/task_store AgentPkgName:obagent PkgExt:rpm PkgStoreDir:/root/myoceanbase/obagent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/root/myoceanbase/obagent/bin/ob_agentd} 2023-10-09T04:57:18.15985-04:00 INFO [14421,] caller=agent/admin.go:142:Lock: process 14421 fetching admin lock 2023-10-09T04:57:18.15988-04:00 INFO [14421,] caller=agent/admin.go:107:cleanDanglingLock: process 14421 try cleaning dangling admin lock 2023-10-09T04:57:18.16013-04:00 INFO [14421,] caller=agent/admin.go:168:Lock: process 14421 got admin lock 2023-10-09T04:57:18.16018-04:00 INFO [14421,] caller=agent/admin.go:191:StartAgent: starting agent 2023-10-09T04:57:18.16022-04:00 INFO [14421,] caller=agent/admin.go:582:progressStart: startAgent start: [] 2023-10-09T04:57:18.16027-04:00 WARN [14421,] caller=agent/admin.go:583:progressStart: updateProgress: missing storedStatus fields:, task_token= 2023-10-09T04:57:18.16031-04:00 INFO [14421,] caller=agent/admin.go:217:startAgent: starting agentd with config file '/root/myoceanbase/obagent/conf/agentd.yaml' 2023-10-09T04:57:19.16143-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:19.23813-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:20.2391-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:20.28065-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:21.28103-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:21.32151-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:22.32266-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:22.36646-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:23.3666-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:23.41319-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:24.41427-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:24.4665-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:25.46706-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:25.51124-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:26.51179-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:26.55685-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:27.55732-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:27.59785-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:28.59841-04:00 INFO [14421,] caller=agent/admin.go:339:AgentStatus: AgentStatus 2023-10-09T04:57:28.64178-04:00 INFO [14421,] caller=agent/admin.go:351:AgentStatus: check agentd status got: {State:running Ready:false Version:4.2.0-SNAPSHOT Pid:14428 Socket:/root/myoceanbase/obagent/run/ob_agentd.14428.sock Services:map[ob_mgragent:{Status:{State:running Version:4.2.0-SNAPSHOT Pid:14435 StartAt:1696841838428336376 Ports:[8099]} Socket:/root/myoceanbase/obagent/run/ob_mgragent.14435.sock EndAt:-6795364578871345152} ob_monagent:{Status:{State:unknown Version: Pid:14436 StartAt:1696841838364024951 Ports:[]} Socket:/root/myoceanbase/obagent/run/ob_monagent.14436.sock EndAt:-6795364578871345152}] Dangling:[] StartAt:1696841838354513688} 2023-10-09T04:57:28.64186-04:00 ERROR [14421,] caller=agent/admin.go:241:startAgent: wait for agent ready timeout 2023-10-09T04:57:28.64194-04:00 INFO [14421,] caller=agent/admin.go:601:progressEnd: startAgent end 2023-10-09T04:57:28.64198-04:00 WARN [14421,] caller=agent/admin.go:603:progressEnd: updateProgress: missing storedStatus fields: task_token= 2023-10-09T04:57:28.64205-04:00 ERROR [14421,] caller=agent/admin.go:196:StartAgent: start agent failed: Module=agent, kind=DEADLINE_EXCEEDED, code=wait_for_ready_timeout; 2023-10-09T04:57:28.64215-04:00 INFO [14421,] caller=agent/admin.go:176:Unlock: process 14421 release admin lock 2023-10-09T04:57:28.6424-04:00 INFO [14421,] caller=agentctl/main.go:263:func2: agentctl error fields: response="{\"successful\":false,\"message\":null,\"error\":\"Module=agent, kind=DEADLINE_EXCEEDED, code=wait_for_ready_timeout; \"}"