[2024-12-11 12:53:27.713] [DEBUG] - cmd: ['demo'] [2024-12-11 12:53:27.713] [DEBUG] - opts: {'servers': None, 'components': None, 'with_parameter': True} [2024-12-11 12:53:27.714] [DEBUG] - mkdir /root/.obd/lock/ [2024-12-11 12:53:27.714] [DEBUG] - unknown lock mode [2024-12-11 12:53:27.714] [DEBUG] - try to get share lock /root/.obd/lock/global [2024-12-11 12:53:27.714] [DEBUG] - share lock `/root/.obd/lock/global`, count 1 [2024-12-11 12:53:27.714] [DEBUG] - Get Deploy by name [2024-12-11 12:53:27.714] [DEBUG] - mkdir /root/.obd/cluster/ [2024-12-11 12:53:27.715] [DEBUG] - mkdir /root/.obd/config_parser/ [2024-12-11 12:53:27.715] [DEBUG] - try to get exclusive lock /root/.obd/lock/deploy_demo [2024-12-11 12:53:27.715] [DEBUG] - exclusive lock `/root/.obd/lock/deploy_demo`, count 1 [2024-12-11 12:53:27.724] [DEBUG] - Deploy status judge [2024-12-11 12:53:27.724] [INFO] Get local repositories and plugins [2024-12-11 12:53:27.725] [DEBUG] - mkdir /root/.obd/repository [2024-12-11 12:53:27.725] [DEBUG] - Get local repository obagent-4.2.2-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.726] [DEBUG] - try to get share lock /root/.obd/lock/mirror_and_repo [2024-12-11 12:53:27.726] [DEBUG] - share lock `/root/.obd/lock/mirror_and_repo`, count 1 [2024-12-11 12:53:27.728] [DEBUG] - Get local repository grafana-7.5.17-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.729] [DEBUG] - share lock `/root/.obd/lock/mirror_and_repo`, count 2 [2024-12-11 12:53:27.731] [DEBUG] - Get local repository obproxy-ce-4.2.3.0-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.731] [DEBUG] - share lock `/root/.obd/lock/mirror_and_repo`, count 3 [2024-12-11 12:53:27.734] [DEBUG] - Get local repository prometheus-2.37.1-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.734] [DEBUG] - share lock `/root/.obd/lock/mirror_and_repo`, count 4 [2024-12-11 12:53:27.737] [DEBUG] - Get local repository oceanbase-ce-4.3.3.0-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.737] [DEBUG] - share lock `/root/.obd/lock/mirror_and_repo`, count 5 [2024-12-11 12:53:27.763] [DEBUG] - Searching restart plugin for components ... [2024-12-11 12:53:27.763] [DEBUG] - Searching restart plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.763] [DEBUG] - mkdir /root/.obd/plugins [2024-12-11 12:53:27.764] [DEBUG] - Found for obagent-py_script_restart-1.3.0 for obagent-4.2.2 [2024-12-11 12:53:27.764] [DEBUG] - Searching restart plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.764] [DEBUG] - Found for grafana-py_script_restart-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.764] [DEBUG] - Searching restart plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.766] [DEBUG] - Found for obproxy-ce-py_script_restart-3.1.0 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.766] [DEBUG] - Searching restart plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.766] [DEBUG] - Found for prometheus-py_script_restart-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.766] [DEBUG] - Searching restart plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.767] [DEBUG] - Found for oceanbase-ce-py_script_restart-4.2.2.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.767] [DEBUG] - Searching reload plugin for components ... [2024-12-11 12:53:27.767] [DEBUG] - Searching reload plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.767] [DEBUG] - Found for obagent-py_script_reload-1.3.0 for obagent-4.2.2 [2024-12-11 12:53:27.767] [DEBUG] - Searching reload plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.767] [DEBUG] - Found for grafana-py_script_reload-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.767] [DEBUG] - Searching reload plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.768] [DEBUG] - Found for obproxy-ce-py_script_reload-4.2.3 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.768] [DEBUG] - Searching reload plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.768] [DEBUG] - Found for prometheus-py_script_reload-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.768] [DEBUG] - Searching reload plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.768] [DEBUG] - Found for oceanbase-ce-py_script_reload-4.2.1.4 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.768] [DEBUG] - Searching start_check plugin for components ... [2024-12-11 12:53:27.768] [DEBUG] - Searching start_check plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.769] [DEBUG] - Found for obagent-py_script_start_check-4.2.2 for obagent-4.2.2 [2024-12-11 12:53:27.769] [DEBUG] - Searching start_check plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.769] [DEBUG] - Found for grafana-py_script_start_check-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.769] [DEBUG] - Searching start_check plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.769] [DEBUG] - Found for obproxy-ce-py_script_start_check-4.2.3 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.770] [DEBUG] - Searching start_check plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.770] [DEBUG] - Found for prometheus-py_script_start_check-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.770] [DEBUG] - Searching start_check plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.770] [DEBUG] - Found for oceanbase-ce-py_script_start_check-4.3.0.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.770] [DEBUG] - Searching start plugin for components ... [2024-12-11 12:53:27.770] [DEBUG] - Searching start plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.771] [DEBUG] - Found for obagent-py_script_start-4.2.2 for obagent-4.2.2 [2024-12-11 12:53:27.771] [DEBUG] - Searching start plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.771] [DEBUG] - Found for grafana-py_script_start-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.771] [DEBUG] - Searching start plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.771] [DEBUG] - Found for obproxy-ce-py_script_start-4.2.3 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.771] [DEBUG] - Searching start plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.772] [DEBUG] - Found for prometheus-py_script_start-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.772] [DEBUG] - Searching start plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.772] [DEBUG] - Found for oceanbase-ce-py_script_start-4.3.0.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.772] [DEBUG] - Searching stop plugin for components ... [2024-12-11 12:53:27.772] [DEBUG] - Searching stop plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.773] [DEBUG] - Found for obagent-py_script_stop-1.3.0 for obagent-4.2.2 [2024-12-11 12:53:27.773] [DEBUG] - Searching stop plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.773] [DEBUG] - Found for grafana-py_script_stop-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.773] [DEBUG] - Searching stop plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.773] [DEBUG] - Found for obproxy-ce-py_script_stop-3.1.0 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.773] [DEBUG] - Searching stop plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.774] [DEBUG] - Found for prometheus-py_script_stop-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.774] [DEBUG] - Searching stop plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.774] [DEBUG] - Found for oceanbase-ce-py_script_stop-4.2.2.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.774] [DEBUG] - Searching connect plugin for components ... [2024-12-11 12:53:27.774] [DEBUG] - Searching connect plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.775] [DEBUG] - Found for obagent-py_script_connect-1.3.0 for obagent-4.2.2 [2024-12-11 12:53:27.775] [DEBUG] - Searching connect plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.775] [DEBUG] - Found for grafana-py_script_connect-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.775] [DEBUG] - Searching connect plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.775] [DEBUG] - Found for obproxy-ce-py_script_connect-3.1.0 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.775] [DEBUG] - Searching connect plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.775] [DEBUG] - Found for prometheus-py_script_connect-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.775] [DEBUG] - Searching connect plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.776] [DEBUG] - Found for oceanbase-ce-py_script_connect-4.2.2.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.776] [DEBUG] - Searching display plugin for components ... [2024-12-11 12:53:27.776] [DEBUG] - Searching display plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.776] [DEBUG] - Found for obagent-py_script_display-1.3.0 for obagent-4.2.2 [2024-12-11 12:53:27.776] [DEBUG] - Searching display plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.777] [DEBUG] - Found for grafana-py_script_display-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.777] [DEBUG] - Searching display plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.777] [DEBUG] - Found for obproxy-ce-py_script_display-3.1.0 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.777] [DEBUG] - Searching display plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.777] [DEBUG] - Found for prometheus-py_script_display-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.777] [DEBUG] - Searching display plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.777] [DEBUG] - Found for oceanbase-ce-py_script_display-3.1.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.777] [DEBUG] - Searching bootstrap plugin for components ... [2024-12-11 12:53:27.778] [DEBUG] - Searching bootstrap plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.778] [DEBUG] - Found for obagent-py_script_bootstrap-0.1 for obagent-4.2.2 [2024-12-11 12:53:27.778] [DEBUG] - Searching bootstrap plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.778] [DEBUG] - Found for grafana-py_script_bootstrap-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.778] [DEBUG] - Searching bootstrap plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:27.778] [DEBUG] - Found for obproxy-ce-py_script_bootstrap-3.1.0 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.779] [DEBUG] - Searching bootstrap plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:27.779] [DEBUG] - Found for prometheus-py_script_bootstrap-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:27.779] [DEBUG] - Searching bootstrap plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:27.779] [DEBUG] - Found for oceanbase-ce-py_script_bootstrap-4.2.2.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:27.856] [INFO] Load cluster param plugin [2024-12-11 12:53:27.856] [DEBUG] - Searching param plugin for components ... [2024-12-11 12:53:27.856] [DEBUG] - Search param plugin for obagent [2024-12-11 12:53:27.857] [DEBUG] - Found for obagent-param-4.2.2 for obagent-4.2.2 [2024-12-11 12:53:27.857] [DEBUG] - Applying obagent-param-4.2.2 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:27.932] [DEBUG] - Search param plugin for grafana [2024-12-11 12:53:27.932] [DEBUG] - Found for grafana-param-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:27.932] [DEBUG] - Applying grafana-param-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:27.960] [DEBUG] - Search param plugin for obproxy-ce [2024-12-11 12:53:27.961] [DEBUG] - Found for obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:27.961] [DEBUG] - Applying obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:28.093] [DEBUG] - Search param plugin for prometheus [2024-12-11 12:53:28.094] [DEBUG] - Found for prometheus-param-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:28.094] [DEBUG] - Applying prometheus-param-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:28.112] [DEBUG] - Search param plugin for oceanbase-ce [2024-12-11 12:53:28.113] [DEBUG] - Found for oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:28.113] [DEBUG] - Applying oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:28.667] [DEBUG] - Searching param plugin for components ... [2024-12-11 12:53:28.667] [DEBUG] - Search param plugin for obagent [2024-12-11 12:53:28.667] [DEBUG] - Found for obagent-param-4.2.2 for obagent-4.2.2 [2024-12-11 12:53:28.667] [DEBUG] - Applying obagent-param-4.2.2 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:28.667] [DEBUG] - Search param plugin for grafana [2024-12-11 12:53:28.667] [DEBUG] - Found for grafana-param-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:28.667] [DEBUG] - Applying grafana-param-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:28.667] [DEBUG] - Search param plugin for obproxy-ce [2024-12-11 12:53:28.668] [DEBUG] - Found for obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:28.668] [DEBUG] - Applying obproxy-ce-param-4.2.3 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:28.668] [DEBUG] - Search param plugin for prometheus [2024-12-11 12:53:28.668] [DEBUG] - Found for prometheus-param-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:28.668] [DEBUG] - Applying prometheus-param-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:28.668] [DEBUG] - Search param plugin for oceanbase-ce [2024-12-11 12:53:28.668] [DEBUG] - Found for oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:28.669] [DEBUG] - Applying oceanbase-ce-param-4.3.3.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:28.728] [INFO] Open ssh connection [2024-12-11 12:53:28.864] [INFO] Cluster status check [2024-12-11 12:53:28.864] [DEBUG] - Searching status plugin for components ... [2024-12-11 12:53:28.865] [DEBUG] - Searching status plugin for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:28.865] [DEBUG] - Found for obagent-py_script_status-1.3.0 for obagent-4.2.2 [2024-12-11 12:53:28.865] [DEBUG] - Searching status plugin for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:28.865] [DEBUG] - Found for grafana-py_script_status-7.5.17 for grafana-7.5.17 [2024-12-11 12:53:28.866] [DEBUG] - Searching status plugin for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:28.866] [DEBUG] - Found for obproxy-ce-py_script_status-3.1.0 for obproxy-ce-4.2.3.0 [2024-12-11 12:53:28.866] [DEBUG] - Searching status plugin for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:28.866] [DEBUG] - Found for prometheus-py_script_status-2.37.1 for prometheus-2.37.1 [2024-12-11 12:53:28.866] [DEBUG] - Searching status plugin for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:28.866] [DEBUG] - Found for oceanbase-ce-py_script_status-3.1.0 for oceanbase-ce-4.3.3.0 [2024-12-11 12:53:28.866] [DEBUG] - Call obagent-py_script_status-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:53:28.866] [DEBUG] - import status [2024-12-11 12:53:28.868] [DEBUG] - add status ref count to 1 [2024-12-11 12:53:28.868] [DEBUG] -- local execute: cat /root/obagent/run/ob_agentd.pid [2024-12-11 12:53:28.875] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.875] [DEBUG] -- local execute: ls /proc/18250 [2024-12-11 12:53:28.879] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.880] [DEBUG] - sub status ref count to 0 [2024-12-11 12:53:28.880] [DEBUG] - export status [2024-12-11 12:53:28.880] [DEBUG] - plugin obagent-py_script_status-1.3.0 result: True [2024-12-11 12:53:28.880] [DEBUG] - Call grafana-py_script_status-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:53:28.880] [DEBUG] - import status [2024-12-11 12:53:28.882] [DEBUG] - add status ref count to 1 [2024-12-11 12:53:28.882] [DEBUG] -- local execute: cat /root/grafana/run/grafana.pid [2024-12-11 12:53:28.887] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.887] [DEBUG] -- local execute: ls /proc/18984 [2024-12-11 12:53:28.891] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.892] [DEBUG] - sub status ref count to 0 [2024-12-11 12:53:28.892] [DEBUG] - export status [2024-12-11 12:53:28.892] [DEBUG] - plugin grafana-py_script_status-7.5.17 result: True [2024-12-11 12:53:28.892] [DEBUG] - Call obproxy-ce-py_script_status-3.1.0 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:53:28.892] [DEBUG] - import status [2024-12-11 12:53:28.894] [DEBUG] - add status ref count to 1 [2024-12-11 12:53:28.894] [DEBUG] -- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:53:28.899] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.900] [DEBUG] -- local execute: ls /proc/18673 [2024-12-11 12:53:28.903] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.904] [DEBUG] - sub status ref count to 0 [2024-12-11 12:53:28.904] [DEBUG] - export status [2024-12-11 12:53:28.904] [DEBUG] - plugin obproxy-ce-py_script_status-3.1.0 result: True [2024-12-11 12:53:28.904] [DEBUG] - Call prometheus-py_script_status-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:53:28.904] [DEBUG] - import status [2024-12-11 12:53:28.906] [DEBUG] - add status ref count to 1 [2024-12-11 12:53:28.906] [DEBUG] -- local execute: cat /root/prometheus/run/prometheus.pid [2024-12-11 12:53:28.911] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.911] [DEBUG] -- local execute: ls /proc/18924 [2024-12-11 12:53:28.915] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.915] [DEBUG] - sub status ref count to 0 [2024-12-11 12:53:28.915] [DEBUG] - export status [2024-12-11 12:53:28.915] [DEBUG] - plugin prometheus-py_script_status-2.37.1 result: True [2024-12-11 12:53:28.915] [DEBUG] - Call oceanbase-ce-py_script_status-3.1.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:28.915] [DEBUG] - import status [2024-12-11 12:53:28.917] [DEBUG] - add status ref count to 1 [2024-12-11 12:53:28.917] [DEBUG] -- local execute: cat /root/oceanbase-ce/run/observer.pid [2024-12-11 12:53:28.921] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.922] [DEBUG] -- local execute: ls /proc/17255 [2024-12-11 12:53:28.925] [DEBUG] -- exited code 0 [2024-12-11 12:53:28.925] [DEBUG] - sub status ref count to 0 [2024-12-11 12:53:28.925] [DEBUG] - export status [2024-12-11 12:53:28.926] [DEBUG] - plugin oceanbase-ce-py_script_status-3.1.0 result: True [2024-12-11 12:53:28.995] [DEBUG] - Call oceanbase-ce-py_script_start_check-4.3.0.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:28.996] [DEBUG] - import start_check [2024-12-11 12:53:29.006] [DEBUG] - add start_check ref count to 1 [2024-12-11 12:53:29.007] [INFO] Check before restart observer [2024-12-11 12:53:29.009] [DEBUG] -- local execute: ls /mnt/obdata/clog/tenant_1/ [2024-12-11 12:53:29.015] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.016] [DEBUG] -- local execute: cat /root/oceanbase-ce/run/observer.pid [2024-12-11 12:53:29.019] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.020] [DEBUG] -- local execute: ls /proc/17255 [2024-12-11 12:53:29.023] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.024] [DEBUG] -- 127.0.0.1 is runnning, skip [2024-12-11 12:53:29.024] [DEBUG] -- local execute: cat /proc/sys/fs/aio-max-nr /proc/sys/fs/aio-nr [2024-12-11 12:53:29.027] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.028] [DEBUG] -- local execute: ulimit -a [2024-12-11 12:53:29.030] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.031] [DEBUG] -- local execute: sysctl -a [2024-12-11 12:53:29.063] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.067] [DEBUG] -- local execute: cat /proc/meminfo [2024-12-11 12:53:29.070] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.071] [DEBUG] -- local execute: df --block-size=1024 [2024-12-11 12:53:29.077] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /dev, total: 8111812608 avail: 8111812608 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /run, total: 1627201536 avail: 1618104320 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /, total: 105554128896 avail: 37753606144 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /dev/shm, total: 8136003584 avail: 8136003584 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /run/lock, total: 5242880 avail: 5242880 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /sys/fs/cgroup, total: 8136003584 avail: 8136003584 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /mnt, total: 210303426560 avail: 112420564992 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /var/lib/docker/overlay2/8d569b1493accdb4d85cd89a3723a0cae19c4a9bb8dab72cec74c24947031f4c/merged, total: 105554128896 avail: 37753606144 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /var/lib/docker/overlay2/7bc2242536583f14a56b23dfafd3310ccce2a53c4d642c52b4bda0f3588633d0/merged, total: 105554128896 avail: 37753606144 [2024-12-11 12:53:29.078] [DEBUG] -- get disk info for path /var/lib/docker/overlay2/4200a172e001bf7ad914fa556c3fae265e308175debea1ac615197fb27ea9ff5/merged, total: 105554128896 avail: 37753606144 [2024-12-11 12:53:29.079] [DEBUG] -- get disk info for path /var/lib/docker/overlay2/78ec7f8a7185a8e4fcb70256710bb1208354e9298920dab71def243e05533194/merged, total: 105554128896 avail: 37753606144 [2024-12-11 12:53:29.079] [DEBUG] -- get disk info for path /var/lib/docker/overlay2/e8ac84101414cdad02ca61f2cd8f424d156c0627b1e2d0bccdcb79f01cea2d60/merged, total: 105554128896 avail: 37753606144 [2024-12-11 12:53:29.079] [DEBUG] -- get disk info for path /run/user/0, total: 1627197440 avail: 1627197440 [2024-12-11 12:53:29.079] [DEBUG] -- disk: {'/dev': {'total': 8111812608, 'avail': 8111812608, 'need': 0}, '/run': {'total': 1627201536, 'avail': 1618104320, 'need': 0}, '/': {'total': 105554128896, 'avail': 37753606144, 'need': 0}, '/dev/shm': {'total': 8136003584, 'avail': 8136003584, 'need': 0}, '/run/lock': {'total': 5242880, 'avail': 5242880, 'need': 0}, '/sys/fs/cgroup': {'total': 8136003584, 'avail': 8136003584, 'need': 0}, '/mnt': {'total': 210303426560, 'avail': 112420564992, 'need': 0}, '/var/lib/docker/overlay2/8d569b1493accdb4d85cd89a3723a0cae19c4a9bb8dab72cec74c24947031f4c/merged': {'total': 105554128896, 'avail': 37753606144, 'need': 0}, '/var/lib/docker/overlay2/7bc2242536583f14a56b23dfafd3310ccce2a53c4d642c52b4bda0f3588633d0/merged': {'total': 105554128896, 'avail': 37753606144, 'need': 0}, '/var/lib/docker/overlay2/4200a172e001bf7ad914fa556c3fae265e308175debea1ac615197fb27ea9ff5/merged': {'total': 105554128896, 'avail': 37753606144, 'need': 0}, '/var/lib/docker/overlay2/78ec7f8a7185a8e4fcb70256710bb1208354e9298920dab71def243e05533194/merged': {'total': 105554128896, 'avail': 37753606144, 'need': 0}, '/var/lib/docker/overlay2/e8ac84101414cdad02ca61f2cd8f424d156c0627b1e2d0bccdcb79f01cea2d60/merged': {'total': 105554128896, 'avail': 37753606144, 'need': 0}, '/run/user/0': {'total': 1627197440, 'avail': 1627197440, 'need': 0}} [2024-12-11 12:53:29.079] [DEBUG] -- local execute: date +%s%N [2024-12-11 12:53:29.085] [DEBUG] -- exited code 0 [2024-12-11 12:53:29.086] [DEBUG] -- 127.0.0.1 time delta 2.405517578125 [2024-12-11 12:53:29.143] [DEBUG] - sub start_check ref count to 0 [2024-12-11 12:53:29.143] [DEBUG] - export start_check [2024-12-11 12:53:29.143] [DEBUG] - plugin oceanbase-ce-py_script_start_check-4.3.0.0 result: True [2024-12-11 12:53:29.143] [DEBUG] - Call oceanbase-ce-py_script_restart-4.2.2.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:29.143] [DEBUG] - import restart [2024-12-11 12:53:29.147] [DEBUG] - add restart ref count to 1 [2024-12-11 12:53:29.148] [INFO] Connect to observer [2024-12-11 12:53:29.148] [DEBUG] -- Call oceanbase-ce-py_script_connect-4.2.2.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:29.148] [DEBUG] --- import connect [2024-12-11 12:53:29.655] [DEBUG] --- add connect ref count to 1 [2024-12-11 12:53:29.656] [DEBUG] ---- connect obshell (127.0.0.1:2886) [2024-12-11 12:53:29.656] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p****** [2024-12-11 12:53:29.658] [DEBUG] ---- execute sql: select 1. args: None [2024-12-11 12:53:29.660] [DEBUG] --- sub connect ref count to 0 [2024-12-11 12:53:29.660] [DEBUG] --- export connect [2024-12-11 12:53:29.660] [DEBUG] --- plugin oceanbase-ce-py_script_connect-4.2.2.0 result: True [2024-12-11 12:53:29.672] [DEBUG] ---- execute sql: use oceanbase. args: None [2024-12-11 12:53:29.673] [DEBUG] ---- execute sql: set session ob_query_timeout=1000000000. args: None [2024-12-11 12:53:29.676] [INFO] Server check [2024-12-11 12:53:29.677] [DEBUG] ---- execute sql: select * from oceanbase.__all_server. args: None [2024-12-11 12:53:29.680] [DEBUG] -- [{'gmt_create': datetime.datetime(2024, 5, 3, 23, 24, 37, 232785), 'gmt_modified': datetime.datetime(2024, 11, 3, 22, 10, 10, 313252), 'svr_ip': '127.0.0.1', 'svr_port': 2882, 'id': 1, 'zone': 'zone1', 'inner_port': 2881, 'with_rootserver': 1, 'status': 'ACTIVE', 'block_migrate_in_time': 0, 'build_version': '4.3.3.0_100000132024100711-0eba6bc1c209771831934b11cfe728780ecb7a85(Oct 7 2024 12:01:19)', 'stop_time': 0, 'start_service_time': 1730643008518722, 'first_sessid': 0, 'with_partition': 1, 'last_offline_time': 0}] [2024-12-11 12:53:29.808] [INFO] Observer restart [2024-12-11 12:53:29.808] [DEBUG] -- Call oceanbase-ce-py_script_stop-4.2.2.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:29.808] [DEBUG] --- import stop [2024-12-11 12:53:29.811] [DEBUG] --- add stop ref count to 1 [2024-12-11 12:53:29.811] [DEBUG] ---- local execute: cat /root/oceanbase-ce/run/observer.pid [2024-12-11 12:53:29.816] [DEBUG] ---- exited code 0 [2024-12-11 12:53:29.817] [DEBUG] ---- local execute: ps uax | egrep " 17255 " | grep -v grep [2024-12-11 12:53:29.835] [DEBUG] ---- exited code 0 [2024-12-11 12:53:29.836] [DEBUG] ---- 127.0.0.1 observer[pid:17255] stopping ... [2024-12-11 12:53:29.836] [DEBUG] ---- local execute: kill -9 17255 [2024-12-11 12:53:29.841] [DEBUG] ---- exited code 0 [2024-12-11 12:53:30.842] [DEBUG] ---- 127.0.0.1 check whether the port is released [2024-12-11 12:53:30.842] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B42' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:53:30.869] [DEBUG] ---- exited code 0 [2024-12-11 12:53:30.870] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B41' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:53:30.878] [DEBUG] ---- exited code 0 [2024-12-11 12:53:30.878] [DEBUG] ---- local execute: rm -f /root/oceanbase-ce/run/observer.pid [2024-12-11 12:53:30.884] [DEBUG] ---- exited code 0 [2024-12-11 12:53:30.884] [DEBUG] ---- 127.0.0.1 observer is stopped [2024-12-11 12:53:30.884] [DEBUG] ---- 127.0.0.1 obshell stopping ... [2024-12-11 12:53:30.885] [DEBUG] ---- local execute: cd /root/oceanbase-ce; /root/oceanbase-ce/bin/obshell admin stop [2024-12-11 12:53:32.324] [DEBUG] ---- exited code 0 [2024-12-11 12:53:32.324] [DEBUG] ---- local execute: cat /root/oceanbase-ce/run/obshell.pid [2024-12-11 12:53:32.329] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:53:32.330] [DEBUG] cat: /root/oceanbase-ce/run/obshell.pid: No such file or directory [2024-12-11 12:53:32.330] [DEBUG] [2024-12-11 12:53:32.330] [DEBUG] ---- local execute: cat /root/oceanbase-ce/run/daemon.pid [2024-12-11 12:53:32.334] [DEBUG] ---- exited code 0 [2024-12-11 12:53:32.334] [DEBUG] ---- local execute: ps uax | egrep " 17291 " | grep -v grep [2024-12-11 12:53:32.348] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:53:32.349] [DEBUG] [2024-12-11 12:53:32.349] [DEBUG] --- sub stop ref count to 0 [2024-12-11 12:53:32.349] [DEBUG] --- export stop [2024-12-11 12:53:32.349] [DEBUG] --- plugin oceanbase-ce-py_script_stop-4.2.2.0 result: True [2024-12-11 12:53:32.349] [DEBUG] -- Call oceanbase-ce-py_script_start-4.3.0.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:32.349] [DEBUG] --- import start [2024-12-11 12:53:32.354] [DEBUG] --- add start ref count to 1 [2024-12-11 12:53:32.356] [INFO] cluster scenario: htap [2024-12-11 12:53:32.358] [DEBUG] ---- local execute: ls /mnt/obdata/clog/tenant_1/ [2024-12-11 12:53:32.362] [DEBUG] ---- exited code 0 [2024-12-11 12:53:32.363] [DEBUG] ---- local execute: cat /root/oceanbase-ce/run/observer.pid [2024-12-11 12:53:32.366] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:53:32.366] [DEBUG] cat: /root/oceanbase-ce/run/observer.pid: No such file or directory [2024-12-11 12:53:32.366] [DEBUG] [2024-12-11 12:53:32.366] [DEBUG] ---- 127.0.0.1 start command construction [2024-12-11 12:53:32.366] [DEBUG] ---- update large_query_threshold to 600s because of scenario [2024-12-11 12:53:32.366] [DEBUG] ---- update enable_syslog_recycle to 1 because of scenario [2024-12-11 12:53:32.367] [DEBUG] ---- update max_syslog_file_count to 300 because of scenario [2024-12-11 12:53:32.367] [DEBUG] ---- starting 127.0.0.1 observer [2024-12-11 12:53:32.367] [DEBUG] ---- root@127.0.0.1 export LD_LIBRARY_PATH='/root/oceanbase-ce/lib:' [2024-12-11 12:53:32.367] [DEBUG] ---- local execute: cd /root/oceanbase-ce; /root/oceanbase-ce/bin/observer -p 2881 -o cpu_count=8 [2024-12-11 12:53:33.054] [DEBUG] ---- exited code 0 [2024-12-11 12:53:33.054] [DEBUG] ---- root@127.0.0.1 delete env LD_LIBRARY_PATH [2024-12-11 12:53:33.054] [DEBUG] ---- start_obshell: True [2024-12-11 12:53:33.054] [DEBUG] ---- local execute: cat /root/oceanbase-ce/run/obshell.pid [2024-12-11 12:53:33.060] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:53:33.060] [DEBUG] cat: /root/oceanbase-ce/run/obshell.pid: No such file or directory [2024-12-11 12:53:33.060] [DEBUG] [2024-12-11 12:53:33.060] [DEBUG] ---- root@127.0.0.1 export OB_ROOT_PASSWORD='******' [2024-12-11 12:53:33.060] [DEBUG] ---- start obshell: cd /root/oceanbase-ce; /root/oceanbase-ce/bin/obshell admin start --ip 127.0.0.1 --port 2886 [2024-12-11 12:53:33.060] [DEBUG] ---- local execute: cd /root/oceanbase-ce; /root/oceanbase-ce/bin/obshell admin start --ip 127.0.0.1 --port 2886 [2024-12-11 12:53:35.148] [DEBUG] ---- exited code 0 [2024-12-11 12:53:38.152] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:53:38.152] [DEBUG] ---- local execute: cat /root/oceanbase-ce/run/observer.pid [2024-12-11 12:53:38.159] [DEBUG] ---- exited code 0 [2024-12-11 12:53:38.159] [DEBUG] ---- local execute: ls /proc/2887 [2024-12-11 12:53:38.164] [DEBUG] ---- exited code 0 [2024-12-11 12:53:38.165] [DEBUG] ---- 127.0.0.1 observer[pid: 2887] started [2024-12-11 12:53:38.165] [DEBUG] ---- local execute: cat /root/oceanbase-ce/run/obshell.pid [2024-12-11 12:53:38.169] [DEBUG] ---- exited code 0 [2024-12-11 12:53:38.169] [DEBUG] ---- local execute: ls /proc/2952 [2024-12-11 12:53:38.174] [DEBUG] ---- exited code 0 [2024-12-11 12:53:38.174] [DEBUG] ---- 127.0.0.1 obshell[pid: 2952] started [2024-12-11 12:53:38.174] [DEBUG] ---- need_bootstrap: False [2024-12-11 12:53:38.175] [DEBUG] --- sub start ref count to 0 [2024-12-11 12:53:38.175] [DEBUG] --- export start [2024-12-11 12:53:38.175] [DEBUG] --- plugin oceanbase-ce-py_script_start-4.3.0.0 result: True [2024-12-11 12:53:38.176] [DEBUG] -- Call oceanbase-ce-py_script_connect-4.2.2.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:53:38.176] [DEBUG] ---- connect obshell (127.0.0.1:2886) [2024-12-11 12:53:38.177] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p****** [2024-12-11 12:53:41.181] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p [2024-12-11 12:53:44.186] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p****** [2024-12-11 12:53:47.191] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p [2024-12-11 12:53:50.195] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p****** [2024-12-11 12:53:53.198] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p [2024-12-11 12:53:56.203] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p****** [2024-12-11 12:53:59.207] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p [2024-12-11 12:54:02.330] [DEBUG] ---- connect 127.0.0.1 -P2881 -uroot -p****** [2024-12-11 12:54:02.332] [DEBUG] ---- execute sql: select 1. args: None [2024-12-11 12:54:02.334] [DEBUG] --- plugin oceanbase-ce-py_script_connect-4.2.2.0 result: True [2024-12-11 12:54:02.334] [DEBUG] ---- execute sql: use oceanbase. args: None [2024-12-11 12:54:02.335] [DEBUG] ---- execute sql: set session ob_query_timeout=1000000000. args: None [2024-12-11 12:54:02.335] [DEBUG] -- server check [2024-12-11 12:54:02.335] [DEBUG] ---- execute sql: select * from oceanbase.__all_server where status != 'active' or stop_time > 0 or start_service_time = 0. args: None [2024-12-11 12:54:02.407] [INFO] cluster scenario: htap [2024-12-11 12:54:02.407] [INFO] [2024-12-11 12:54:02.407] [DEBUG] ---- execute sql: select version(). args: None [2024-12-11 12:54:02.409] [DEBUG] -- {'version()': '5.7.25-OceanBase_CE-v4.3.3.0'} [2024-12-11 12:54:02.409] [DEBUG] -- Call oceanbase-ce-py_script_display-3.1.0 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:54:02.409] [DEBUG] --- import display [2024-12-11 12:54:02.412] [DEBUG] --- add display ref count to 1 [2024-12-11 12:54:02.412] [INFO] Wait for observer init [2024-12-11 12:54:02.413] [DEBUG] ---- execute sql: select * from oceanbase.__all_server. args: None [2024-12-11 12:54:02.417] [INFO] +---------------------------------------------+ [2024-12-11 12:54:02.417] [INFO] | oceanbase-ce | [2024-12-11 12:54:02.417] [INFO] +-----------+---------+------+-------+--------+ [2024-12-11 12:54:02.417] [INFO] | ip | version | port | zone | status | [2024-12-11 12:54:02.417] [INFO] +-----------+---------+------+-------+--------+ [2024-12-11 12:54:02.417] [INFO] | 127.0.0.1 | 4.3.3.0 | 2881 | zone1 | ACTIVE | [2024-12-11 12:54:02.417] [INFO] +-----------+---------+------+-------+--------+ [2024-12-11 12:54:02.417] [INFO] obclient -h127.0.0.1 -P2881 -uroot -p'******' -Doceanbase -A [2024-12-11 12:54:02.544] [INFO] +---------------------------------------------+ [2024-12-11 12:54:02.544] [INFO] | oceanbase-ce | [2024-12-11 12:54:02.544] [INFO] +-----------+---------+------+-------+--------+ [2024-12-11 12:54:02.544] [INFO] | ip | version | port | zone | status | [2024-12-11 12:54:02.544] [INFO] +-----------+---------+------+-------+--------+ [2024-12-11 12:54:02.544] [INFO] | 127.0.0.1 | 4.3.3.0 | 2881 | zone1 | ACTIVE | [2024-12-11 12:54:02.544] [INFO] +-----------+---------+------+-------+--------+ [2024-12-11 12:54:02.545] [INFO] obclient -h127.0.0.1 -P2881 -uroot -p'******' -Doceanbase -A [2024-12-11 12:54:02.545] [INFO] [2024-12-11 12:54:02.545] [DEBUG] ---- execute sql: select unix_timestamp(gmt_create) as gmt_create from oceanbase.__all_virtual_sys_variable limit 1. args: None [2024-12-11 12:54:02.576] [INFO] cluster unique id: 1582aeea-2f4f-5a6f-aed0-40bbfcc79391-18f3f0eb2be-00030304 [2024-12-11 12:54:02.576] [INFO] [2024-12-11 12:54:02.576] [DEBUG] --- sub display ref count to 0 [2024-12-11 12:54:02.576] [DEBUG] --- export display [2024-12-11 12:54:02.577] [DEBUG] --- plugin oceanbase-ce-py_script_display-3.1.0 result: True [2024-12-11 12:54:02.577] [DEBUG] -- Call oceanbase-ce-py_script_reload-4.2.1.4 for oceanbase-ce-4.3.3.0-100000132024100711.el7-518e8d2f797a94a53869dbc8c3f5c22630f7c54f [2024-12-11 12:54:02.577] [DEBUG] --- import reload [2024-12-11 12:54:02.580] [DEBUG] --- add reload ref count to 1 [2024-12-11 12:54:02.580] [DEBUG] ---- get 127.0.0.1 old configuration [2024-12-11 12:54:02.581] [DEBUG] ---- get 127.0.0.1 new configuration [2024-12-11 12:54:02.581] [DEBUG] ---- get 127.0.0.1 cluster address [2024-12-11 12:54:02.581] [DEBUG] ---- compare configuration of 127.0.0.1 [2024-12-11 12:54:02.581] [DEBUG] ---- obshell_port is not a oceanbase parameter. skip [2024-12-11 12:54:02.581] [DEBUG] ---- cpu_count can not be reload [2024-12-11 12:54:02.581] [DEBUG] ---- production_mode is not a oceanbase parameter. skip [2024-12-11 12:54:02.582] [DEBUG] ---- local_ip is not a oceanbase parameter. skip [2024-12-11 12:54:02.582] [DEBUG] ---- apply new configuration [2024-12-11 12:54:02.582] [INFO] Reload observer [2024-12-11 12:54:02.583] [DEBUG] ---- execute sql: alter system set large_query_threshold = %s. args: ['600s'] [2024-12-11 12:54:02.625] [DEBUG] ---- execute sql: alter system reload server. args: None [2024-12-11 12:54:02.630] [DEBUG] ---- execute sql: alter system reload zone. args: None [2024-12-11 12:54:02.637] [DEBUG] ---- execute sql: alter system reload unit. args: None [2024-12-11 12:54:02.713] [DEBUG] --- sub reload ref count to 0 [2024-12-11 12:54:02.713] [DEBUG] --- export reload [2024-12-11 12:54:02.714] [DEBUG] --- plugin oceanbase-ce-py_script_reload-4.2.1.4 result: None [2024-12-11 12:54:02.714] [DEBUG] - sub restart ref count to 0 [2024-12-11 12:54:02.714] [DEBUG] - export restart [2024-12-11 12:54:02.714] [DEBUG] - plugin oceanbase-ce-py_script_restart-4.2.2.0 result: True [2024-12-11 12:54:02.724] [DEBUG] - Call obagent-py_script_start_check-4.2.2 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:54:02.724] [DEBUG] - import start_check [2024-12-11 12:54:02.728] [DEBUG] - add start_check ref count to 1 [2024-12-11 12:54:02.728] [INFO] Check before start obagent [2024-12-11 12:54:02.731] [DEBUG] -- local execute: cat /root/obagent/run/ob_agentd.pid [2024-12-11 12:54:02.738] [DEBUG] -- exited code 0 [2024-12-11 12:54:02.739] [DEBUG] -- local execute: ls /proc/18250 [2024-12-11 12:54:02.744] [DEBUG] -- exited code 0 [2024-12-11 12:54:02.745] [DEBUG] -- 127.0.0.1 is runnning, skip [2024-12-11 12:54:02.862] [DEBUG] - sub start_check ref count to 0 [2024-12-11 12:54:02.862] [DEBUG] - export start_check [2024-12-11 12:54:02.863] [DEBUG] - plugin obagent-py_script_start_check-4.2.2 result: True [2024-12-11 12:54:02.863] [DEBUG] - Call obagent-py_script_restart-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:54:02.863] [DEBUG] - import restart [2024-12-11 12:54:02.866] [DEBUG] - add restart ref count to 1 [2024-12-11 12:54:02.866] [DEBUG] -- Call obagent-py_script_stop-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:54:02.866] [DEBUG] --- import stop [2024-12-11 12:54:02.868] [DEBUG] --- add stop ref count to 1 [2024-12-11 12:54:02.868] [INFO] Stop obagent [2024-12-11 12:54:02.869] [DEBUG] ---- local execute: cat /root/obagent/run/ob_agentd.pid [2024-12-11 12:54:02.876] [DEBUG] ---- exited code 0 [2024-12-11 12:54:02.876] [DEBUG] ---- 127.0.0.1 obagentd[pid:18250] stopping ... [2024-12-11 12:54:02.876] [DEBUG] ---- local execute: kill -9 18250 [2024-12-11 12:54:02.880] [DEBUG] ---- exited code 0 [2024-12-11 12:54:02.880] [DEBUG] ---- local execute: cat /root/obagent/run/ob_monagent.pid [2024-12-11 12:54:02.885] [DEBUG] ---- exited code 0 [2024-12-11 12:54:02.886] [DEBUG] ---- 127.0.0.1 monagent[pid:7252] stopping ... [2024-12-11 12:54:02.886] [DEBUG] ---- local execute: kill -9 7252 [2024-12-11 12:54:02.889] [DEBUG] ---- exited code 0 [2024-12-11 12:54:02.889] [DEBUG] ---- local execute: cat /root/obagent/run/ob_mgragent.pid [2024-12-11 12:54:02.895] [DEBUG] ---- exited code 0 [2024-12-11 12:54:02.895] [DEBUG] ---- 127.0.0.1 mgragent[pid:18304] stopping ... [2024-12-11 12:54:02.895] [DEBUG] ---- local execute: kill -9 18304 [2024-12-11 12:54:02.898] [DEBUG] ---- exited code 0 [2024-12-11 12:54:03.900] [DEBUG] ---- 127.0.0.1 check whether the port is released [2024-12-11 12:54:03.900] [DEBUG] ---- local execute: ls /proc/18250 [2024-12-11 12:54:03.907] [DEBUG] ---- exited code 2, error output: [2024-12-11 12:54:03.907] [DEBUG] ls: cannot access '/proc/18250': No such file or directory [2024-12-11 12:54:03.907] [DEBUG] [2024-12-11 12:54:03.907] [DEBUG] ---- local execute: rm -f /root/obagent/run/ob_agentd.pid [2024-12-11 12:54:03.913] [DEBUG] ---- exited code 0 [2024-12-11 12:54:03.913] [DEBUG] ---- local execute: ls /proc/7252 [2024-12-11 12:54:03.917] [DEBUG] ---- exited code 2, error output: [2024-12-11 12:54:03.918] [DEBUG] ls: cannot access '/proc/7252': No such file or directory [2024-12-11 12:54:03.918] [DEBUG] [2024-12-11 12:54:03.918] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:1F98' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:03.926] [DEBUG] ---- exited code 0 [2024-12-11 12:54:03.926] [DEBUG] ---- local execute: rm -f /root/obagent/run/ob_monagent.pid [2024-12-11 12:54:03.931] [DEBUG] ---- exited code 0 [2024-12-11 12:54:03.931] [DEBUG] ---- local execute: ls /proc/18304 [2024-12-11 12:54:03.935] [DEBUG] ---- exited code 2, error output: [2024-12-11 12:54:03.936] [DEBUG] ls: cannot access '/proc/18304': No such file or directory [2024-12-11 12:54:03.936] [DEBUG] [2024-12-11 12:54:03.936] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:1F99' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:03.943] [DEBUG] ---- exited code 0 [2024-12-11 12:54:03.944] [DEBUG] ---- local execute: rm -f /root/obagent/run/ob_mgragent.pid [2024-12-11 12:54:03.948] [DEBUG] ---- exited code 0 [2024-12-11 12:54:03.948] [DEBUG] ---- 127.0.0.1 obagent is stopped [2024-12-11 12:54:04.043] [DEBUG] --- sub stop ref count to 0 [2024-12-11 12:54:04.043] [DEBUG] --- export stop [2024-12-11 12:54:04.043] [DEBUG] --- plugin obagent-py_script_stop-1.3.0 result: True [2024-12-11 12:54:04.043] [DEBUG] -- Call obagent-py_script_start_check-4.2.2 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:54:04.044] [INFO] Check before start obagent [2024-12-11 12:54:04.047] [DEBUG] ---- local execute: cat /root/obagent/run/ob_agentd.pid [2024-12-11 12:54:04.052] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:54:04.052] [DEBUG] cat: /root/obagent/run/ob_agentd.pid: No such file or directory [2024-12-11 12:54:04.052] [DEBUG] [2024-12-11 12:54:04.053] [DEBUG] ---- 127.0.0.1 port check [2024-12-11 12:54:04.053] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{if($4=="0A") print $2,$4,$10}' | grep ':1F99' | awk -F' ' '{print $3}' | uniq [2024-12-11 12:54:04.061] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.062] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{if($4=="0A") print $2,$4,$10}' | grep ':1F98' | awk -F' ' '{print $3}' | uniq [2024-12-11 12:54:04.069] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.178] [DEBUG] --- plugin obagent-py_script_start_check-4.2.2 result: True [2024-12-11 12:54:04.178] [DEBUG] -- Call obagent-py_script_start-4.2.2 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:54:04.178] [DEBUG] --- import start [2024-12-11 12:54:04.183] [DEBUG] --- add start ref count to 1 [2024-12-11 12:54:04.196] [INFO] Start obagent [2024-12-11 12:54:04.197] [DEBUG] ---- local execute: cat /root/obagent/run/ob_agentd.pid [2024-12-11 12:54:04.202] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:54:04.203] [DEBUG] cat: /root/obagent/run/ob_agentd.pid: No such file or directory [2024-12-11 12:54:04.203] [DEBUG] [2024-12-11 12:54:04.203] [DEBUG] ---- local execute: cat /root/obagent/conf/mgragent.yaml [2024-12-11 12:54:04.209] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.210] [DEBUG] ---- write install: [2024-12-11 12:54:04.210] [DEBUG] path: ${obagent.home.path} [2024-12-11 12:54:04.210] [DEBUG] server: [2024-12-11 12:54:04.210] [DEBUG] address: 0.0.0.0:${ocp.agent.manager.http.port} [2024-12-11 12:54:04.210] [DEBUG] runDir: ${obagent.home.path}/run [2024-12-11 12:54:04.210] [DEBUG] sdkConfig: [2024-12-11 12:54:04.210] [DEBUG] configPropertiesDir: ${obagent.home.path}/conf/config_properties [2024-12-11 12:54:04.210] [DEBUG] moduleConfigDir: ${obagent.home.path}/conf/module_config [2024-12-11 12:54:04.210] [DEBUG] cryptoPath: ${obagent.home.path}/conf/.config_secret.key [2024-12-11 12:54:04.210] [DEBUG] cryptoMethod: plain [2024-12-11 12:54:04.210] [DEBUG] shellf: [2024-12-11 12:54:04.210] [DEBUG] template: ${obagent.home.path}/conf/shell_templates/shell_template.yaml [2024-12-11 12:54:04.210] [DEBUG] to /root/obagent/conf/mgragent.yaml [2024-12-11 12:54:04.210] [DEBUG] ---- open /root/obagent/conf/mgragent.yaml for w [2024-12-11 12:54:04.211] [DEBUG] ---- local execute: chmod 755 /root/obagent/conf/mgragent.yaml [2024-12-11 12:54:04.217] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.217] [DEBUG] ---- local execute: cat /root/obagent/conf/monagent.yaml [2024-12-11 12:54:04.221] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.222] [DEBUG] ---- write server: [2024-12-11 12:54:04.222] [DEBUG] address: 0.0.0.0:${ocp.agent.monitor.http.port} [2024-12-11 12:54:04.222] [DEBUG] runDir: ${obagent.home.path}/run [2024-12-11 12:54:04.222] [DEBUG] [2024-12-11 12:54:04.222] [DEBUG] cryptoMethod: plain [2024-12-11 12:54:04.222] [DEBUG] cryptoPath: ${obagent.home.path}/conf/.config_secret.key [2024-12-11 12:54:04.222] [DEBUG] modulePath: ${obagent.home.path}/conf/module_config [2024-12-11 12:54:04.222] [DEBUG] propertiesPath: ${obagent.home.path}/conf/config_properties [2024-12-11 12:54:04.222] [DEBUG] to /root/obagent/conf/monagent.yaml [2024-12-11 12:54:04.222] [DEBUG] ---- open /root/obagent/conf/monagent.yaml for w [2024-12-11 12:54:04.222] [DEBUG] ---- local execute: chmod 755 /root/obagent/conf/monagent.yaml [2024-12-11 12:54:04.226] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.226] [DEBUG] ---- local execute: cat /root/obagent/conf/agentctl.yaml [2024-12-11 12:54:04.231] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.231] [DEBUG] ---- write log: [2024-12-11 12:54:04.231] [DEBUG] level: info [2024-12-11 12:54:04.231] [DEBUG] filename: ${obagent.home.path}/log/agentctl.log [2024-12-11 12:54:04.232] [DEBUG] maxsize: 30 [2024-12-11 12:54:04.232] [DEBUG] maxage: 30 [2024-12-11 12:54:04.232] [DEBUG] maxbackups: 10 [2024-12-11 12:54:04.232] [DEBUG] localtime: true [2024-12-11 12:54:04.232] [DEBUG] compress: true [2024-12-11 12:54:04.232] [DEBUG] [2024-12-11 12:54:04.232] [DEBUG] runDir: ${obagent.home.path}/run [2024-12-11 12:54:04.232] [DEBUG] confDir: ${obagent.home.path}/conf [2024-12-11 12:54:04.232] [DEBUG] logDir: ${obagent.home.path}/log [2024-12-11 12:54:04.232] [DEBUG] backupDir: ${obagent.home.path}/backup [2024-12-11 12:54:04.232] [DEBUG] pkgStoreDir: ${obagent.home.path}/pkg_store [2024-12-11 12:54:04.232] [DEBUG] taskStoreDir: ${obagent.home.path}/task_store [2024-12-11 12:54:04.232] [DEBUG] agentPkgName: obagent [2024-12-11 12:54:04.232] [DEBUG] pkgExt: rpm [2024-12-11 12:54:04.232] [DEBUG] [2024-12-11 12:54:04.232] [DEBUG] sdkConfig: [2024-12-11 12:54:04.232] [DEBUG] configPropertiesDir: ${obagent.home.path}/conf/config_properties [2024-12-11 12:54:04.232] [DEBUG] moduleConfigDir: ${obagent.home.path}/conf/module_config [2024-12-11 12:54:04.232] [DEBUG] cryptoPath: ${obagent.home.path}/conf/.config_secret.key [2024-12-11 12:54:04.232] [DEBUG] cryptoMethod: plain [2024-12-11 12:54:04.232] [DEBUG] to /root/obagent/conf/agentctl.yaml [2024-12-11 12:54:04.232] [DEBUG] ---- open /root/obagent/conf/agentctl.yaml for w [2024-12-11 12:54:04.233] [DEBUG] ---- local execute: chmod 755 /root/obagent/conf/agentctl.yaml [2024-12-11 12:54:04.237] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.237] [DEBUG] ---- local execute: cd /root/obagent;/root/obagent/bin/ob_agentctl config -u agent.log.path=log/monagent.log,agent.http.basic.auth.username=admin,agent.http.basic.auth.password=9Hr5vBT7j,ocp.agent.manager.http.port=8089,mgragent.log.maxsize.mb=30,ocp.agent.monitor.http.port=8088,monagent.ob.monitor.password=4XO31tZmzi,monagent.ob.sql.port=2881,monagent.ob.rpc.port=2882,monagent.ob.cluster.name=obcluster,monagent.ob.cluster.id=1714748368,monagent.ob.zone.name=zone1,monagent.log.level=info,monagent.pipeline.ob.status=active,obagent.home.path=/root/obagent,monagent.host.ip=127.0.0.1,ob.log.path=/root/oceanbase-ce/store,ob.data.path=/root/oceanbase-ce/store,ob.install.path=/root/oceanbase-ce,observer.log.path=/root/oceanbase-ce/log && touch /root/obagent/.configured [2024-12-11 12:54:04.434] [DEBUG] ---- exited code 0 [2024-12-11 12:54:04.435] [DEBUG] ---- local execute: cd /root/obagent;/root/obagent/bin/ob_agentctl start [2024-12-11 12:54:05.517] [DEBUG] ---- exited code 0 [2024-12-11 12:54:05.632] [INFO] obagent program health check [2024-12-11 12:54:06.634] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:06.634] [DEBUG] ---- local execute: cat /root/obagent/run/ob_agentd.pid [2024-12-11 12:54:06.640] [DEBUG] ---- exited code 0 [2024-12-11 12:54:06.640] [DEBUG] ---- local execute: cat /root/obagent/run/ob_mgragent.pid [2024-12-11 12:54:06.645] [DEBUG] ---- exited code 0 [2024-12-11 12:54:06.645] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:1F99' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:06.652] [DEBUG] ---- exited code 0 [2024-12-11 12:54:06.653] [DEBUG] ---- 270873229 [2024-12-11 12:54:06.653] [DEBUG] [2024-12-11 12:54:06.653] [DEBUG] ---- local execute: ls -l /proc/4140/fd/ |grep -E 'socket:\[(270873229)\]' [2024-12-11 12:54:06.659] [DEBUG] ---- exited code 0 [2024-12-11 12:54:06.659] [DEBUG] ---- 127.0.0.1 obagent[pid: 4134] started [2024-12-11 12:54:06.659] [DEBUG] ---- start to sync target config [2024-12-11 12:54:06.675] [DEBUG] --- sub start ref count to 0 [2024-12-11 12:54:06.676] [DEBUG] --- export start [2024-12-11 12:54:06.676] [DEBUG] --- plugin obagent-py_script_start-4.2.2 result: True [2024-12-11 12:54:06.676] [DEBUG] -- Call obagent-py_script_connect-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:54:06.676] [DEBUG] --- import connect [2024-12-11 12:54:06.678] [DEBUG] --- add connect ref count to 1 [2024-12-11 12:54:06.679] [INFO] Connect to Obagent [2024-12-11 12:54:06.679] [DEBUG] ---- connect obagent (127.0.0.1:8089 by user admin) [2024-12-11 12:54:06.680] [DEBUG] ---- send http request method: GET, url: http://127.0.0.1:8089/api/v1/agent/status, data: None [2024-12-11 12:54:06.813] [DEBUG] --- sub connect ref count to 0 [2024-12-11 12:54:06.813] [DEBUG] --- export connect [2024-12-11 12:54:06.813] [DEBUG] --- plugin obagent-py_script_connect-1.3.0 result: True [2024-12-11 12:54:06.813] [DEBUG] -- Call obagent-py_script_display-1.3.0 for obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e [2024-12-11 12:54:06.813] [DEBUG] --- import display [2024-12-11 12:54:06.815] [DEBUG] --- add display ref count to 1 [2024-12-11 12:54:06.815] [DEBUG] ---- send http request method: GET, url: http://127.0.0.1:8089/api/v1/agent/status, data: None [2024-12-11 12:54:06.850] [INFO] +-------------------------------------------------------------------+ [2024-12-11 12:54:06.850] [INFO] | obagent | [2024-12-11 12:54:06.851] [INFO] +----------------+--------------------+--------------------+--------+ [2024-12-11 12:54:06.851] [INFO] | ip | mgragent_http_port | monagent_http_port | status | [2024-12-11 12:54:06.851] [INFO] +----------------+--------------------+--------------------+--------+ [2024-12-11 12:54:06.851] [INFO] | 172.17.116.249 | 8089 | 8088 | active | [2024-12-11 12:54:06.851] [INFO] +----------------+--------------------+--------------------+--------+ [2024-12-11 12:54:06.851] [DEBUG] --- sub display ref count to 0 [2024-12-11 12:54:06.851] [DEBUG] --- export display [2024-12-11 12:54:06.851] [DEBUG] --- plugin obagent-py_script_display-1.3.0 result: True [2024-12-11 12:54:06.851] [DEBUG] - sub restart ref count to 0 [2024-12-11 12:54:06.851] [DEBUG] - export restart [2024-12-11 12:54:06.851] [DEBUG] - plugin obagent-py_script_restart-1.3.0 result: True [2024-12-11 12:54:06.863] [DEBUG] - Call obproxy-ce-py_script_start_check-4.2.3 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:06.863] [DEBUG] - import start_check [2024-12-11 12:54:06.866] [DEBUG] - add start_check ref count to 1 [2024-12-11 12:54:06.867] [INFO] Check before start obproxy [2024-12-11 12:54:06.867] [DEBUG] -- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:06.872] [DEBUG] -- exited code 0 [2024-12-11 12:54:06.873] [DEBUG] -- local execute: ls /proc/18673/fd [2024-12-11 12:54:06.877] [DEBUG] -- exited code 0 [2024-12-11 12:54:06.878] [DEBUG] -- 127.0.0.1 is runnning, skip [2024-12-11 12:54:07.000] [DEBUG] - sub start_check ref count to 0 [2024-12-11 12:54:07.001] [DEBUG] - export start_check [2024-12-11 12:54:07.001] [DEBUG] - plugin obproxy-ce-py_script_start_check-4.2.3 result: True [2024-12-11 12:54:07.001] [DEBUG] - Call obproxy-ce-py_script_restart-3.1.0 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:07.001] [DEBUG] - import restart [2024-12-11 12:54:07.004] [DEBUG] - add restart ref count to 1 [2024-12-11 12:54:07.005] [INFO] Connect to obproxy [2024-12-11 12:54:07.005] [DEBUG] -- Call obproxy-ce-py_script_connect-3.1.0 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:07.005] [DEBUG] --- import connect [2024-12-11 12:54:07.008] [DEBUG] --- add connect ref count to 1 [2024-12-11 12:54:07.010] [DEBUG] ---- connect 127.0.0.1 -P2883 -uroot@proxysys -p****** [2024-12-11 12:54:07.109] [DEBUG] --- sub connect ref count to 0 [2024-12-11 12:54:07.109] [DEBUG] --- export connect [2024-12-11 12:54:07.109] [DEBUG] --- plugin obproxy-ce-py_script_connect-3.1.0 result: True [2024-12-11 12:54:07.136] [DEBUG] -- Call obproxy-ce-py_script_reload-4.2.3 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:07.136] [DEBUG] --- import reload [2024-12-11 12:54:07.138] [DEBUG] --- add reload ref count to 1 [2024-12-11 12:54:07.139] [DEBUG] ---- get 127.0.0.1 old configuration [2024-12-11 12:54:07.140] [DEBUG] ---- get 127.0.0.1 new configuration [2024-12-11 12:54:07.140] [DEBUG] ---- get 127.0.0.1 cluster address [2024-12-11 12:54:07.140] [DEBUG] ---- compare configuration of 127.0.0.1 [2024-12-11 12:54:07.140] [DEBUG] ---- apply new configuration [2024-12-11 12:54:07.140] [DEBUG] ---- execute sql: alter proxyconfig set observer_sys_password = %s. args: [''] [2024-12-11 12:54:07.217] [DEBUG] --- sub reload ref count to 0 [2024-12-11 12:54:07.217] [DEBUG] --- export reload [2024-12-11 12:54:07.217] [DEBUG] --- plugin obproxy-ce-py_script_reload-4.2.3 result: True [2024-12-11 12:54:07.217] [DEBUG] -- Call obproxy-ce-py_script_stop-3.1.0 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:07.217] [DEBUG] --- import stop [2024-12-11 12:54:07.219] [DEBUG] --- add stop ref count to 1 [2024-12-11 12:54:07.219] [INFO] Stop obproxy [2024-12-11 12:54:07.220] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:07.226] [DEBUG] ---- exited code 0 [2024-12-11 12:54:07.226] [DEBUG] ---- local execute: ls /proc/18673 [2024-12-11 12:54:07.231] [DEBUG] ---- exited code 0 [2024-12-11 12:54:07.231] [DEBUG] ---- local execute: ls /proc/18673/fd [2024-12-11 12:54:07.235] [DEBUG] ---- exited code 0 [2024-12-11 12:54:07.236] [DEBUG] ---- 127.0.0.1 obproxy[pid:18673] stopping ... [2024-12-11 12:54:07.236] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxyd-127.0.0.1-2883.pid | xargs kill -9; kill -9 -18673 [2024-12-11 12:54:07.245] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.246] [DEBUG] ---- 127.0.0.1 check whether the port is released [2024-12-11 12:54:08.270] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B44' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:08.280] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.280] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:08.289] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.290] [DEBUG] ---- local execute: rm -f /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:08.294] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.294] [DEBUG] ---- 127.0.0.1 obproxy is stopped [2024-12-11 12:54:08.394] [DEBUG] --- sub stop ref count to 0 [2024-12-11 12:54:08.394] [DEBUG] --- export stop [2024-12-11 12:54:08.394] [DEBUG] --- plugin obproxy-ce-py_script_stop-3.1.0 result: True [2024-12-11 12:54:08.394] [DEBUG] -- Call obproxy-ce-py_script_start-4.2.3 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:08.394] [DEBUG] --- import start [2024-12-11 12:54:08.398] [DEBUG] --- add start ref count to 1 [2024-12-11 12:54:08.402] [INFO] Start obproxy [2024-12-11 12:54:08.403] [DEBUG] ---- local execute: ls /root/obproxy-ce/etc/obproxy_config.bin [2024-12-11 12:54:08.408] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.408] [DEBUG] ---- 127.0.0.1 port check [2024-12-11 12:54:08.408] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:08.412] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:54:08.412] [DEBUG] cat: /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid: No such file or directory [2024-12-11 12:54:08.412] [DEBUG] [2024-12-11 12:54:08.412] [DEBUG] ---- starting 127.0.0.1 obproxy [2024-12-11 12:54:08.413] [DEBUG] ---- root@127.0.0.1 export LD_LIBRARY_PATH='/root/obproxy-ce/lib:' [2024-12-11 12:54:08.413] [DEBUG] ---- local execute: cd /root/obproxy-ce; /root/obproxy-ce/bin/obproxy -o client_session_id_version=2,proxy_id=1916,obproxy_sys_password='03259f1ad7cc537aebc68aca4c5074cea1ecf209',enable_strict_kernel_release=False,skip_proxy_sys_private_check=True,enable_cluster_checkout=False,proxy_mem_limited='500M',proxy_id=1916,client_session_id_version=2 --listen_port 2883 --prometheus_listen_port 2884 --rs_list '127.0.0.1:2881' --cluster_name 'obcluster' [2024-12-11 12:54:08.535] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.536] [DEBUG] ---- root@127.0.0.1 delete env LD_LIBRARY_PATH [2024-12-11 12:54:08.536] [DEBUG] ---- local execute: ps -aux | grep -e '/root/obproxy-ce/bin/obproxy -o client_session_id_version=2,proxy_id=1916,obproxy_sys_password=03259f1ad7cc537aebc68aca4c5074cea1ecf209,enable_strict_kernel_release=False,skip_proxy_sys_private_check=True,enable_cluster_checkout=False,proxy_mem_limited=500M,proxy_id=1916,client_session_id_version=2 --listen_port 2883 --prometheus_listen_port 2884 --rs_list 127.0.0.1:2881 --cluster_name obcluster$' | grep -v grep | awk '{print $2}' > /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:08.556] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.670] [INFO] obproxy program health check [2024-12-11 12:54:08.683] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:08.683] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:08.689] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.690] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:08.698] [DEBUG] ---- exited code 0 [2024-12-11 12:54:08.699] [DEBUG] ---- failed to start 127.0.0.1 obproxy, remaining retries: 299 [2024-12-11 12:54:09.700] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:09.700] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:09.706] [DEBUG] ---- exited code 0 [2024-12-11 12:54:09.739] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:09.750] [DEBUG] ---- exited code 0 [2024-12-11 12:54:09.751] [DEBUG] ---- failed to start 127.0.0.1 obproxy, remaining retries: 298 [2024-12-11 12:54:10.751] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:10.752] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:10.758] [DEBUG] ---- exited code 0 [2024-12-11 12:54:10.758] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:10.767] [DEBUG] ---- exited code 0 [2024-12-11 12:54:10.768] [DEBUG] ---- failed to start 127.0.0.1 obproxy, remaining retries: 297 [2024-12-11 12:54:11.769] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:11.769] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:11.775] [DEBUG] ---- exited code 0 [2024-12-11 12:54:11.775] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:11.783] [DEBUG] ---- exited code 0 [2024-12-11 12:54:11.783] [DEBUG] ---- 270868292 [2024-12-11 12:54:11.783] [DEBUG] [2024-12-11 12:54:11.783] [DEBUG] ---- local execute: ls -l /proc/4342/fd/ |grep -E 'socket:\[(270868292)\]' [2024-12-11 12:54:11.789] [DEBUG] ---- exited code 0 [2024-12-11 12:54:11.789] [DEBUG] ---- local execute: pid=`cat /root/obproxy-ce/run/obproxyd-127.0.0.1-2883.pid` && ls /proc/$pid [2024-12-11 12:54:11.794] [DEBUG] ---- exited code 2, error output: [2024-12-11 12:54:11.794] [DEBUG] ls: cannot access '/proc/18634': No such file or directory [2024-12-11 12:54:11.794] [DEBUG] [2024-12-11 12:54:11.794] [DEBUG] ---- local execute: echo 4342 > /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:11.797] [DEBUG] ---- exited code 0 [2024-12-11 12:54:11.798] [DEBUG] ---- local execute: mkdir -p /root/obproxy-ce && cp -f /root/.obd/plugins/obproxy-ce/4.2.3/obproxyd.sh /root/obproxy-ce/obproxyd.sh [2024-12-11 12:54:11.808] [DEBUG] ---- exited code 0 [2024-12-11 12:54:11.808] [DEBUG] ---- local execute: bash /root/obproxy-ce/obproxyd.sh /root/obproxy-ce 127.0.0.1 2883 [2024-12-11 12:54:11.813] [DEBUG] ---- exited code 0 [2024-12-11 12:54:12.814] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:12.814] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:12.820] [DEBUG] ---- exited code 0 [2024-12-11 12:54:12.821] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:12.830] [DEBUG] ---- exited code 0 [2024-12-11 12:54:12.830] [DEBUG] ---- failed to start 127.0.0.1 obproxy, remaining retries: 295 [2024-12-11 12:54:13.831] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:13.831] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:13.837] [DEBUG] ---- exited code 0 [2024-12-11 12:54:13.838] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:13.846] [DEBUG] ---- exited code 0 [2024-12-11 12:54:13.846] [DEBUG] ---- failed to start 127.0.0.1 obproxy, remaining retries: 294 [2024-12-11 12:54:14.847] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:14.847] [DEBUG] ---- local execute: cat /root/obproxy-ce/run/obproxy-127.0.0.1-2883.pid [2024-12-11 12:54:14.853] [DEBUG] ---- exited code 0 [2024-12-11 12:54:14.854] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0B43' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:14.862] [DEBUG] ---- exited code 0 [2024-12-11 12:54:14.862] [DEBUG] ---- 270880792 [2024-12-11 12:54:14.862] [DEBUG] [2024-12-11 12:54:14.862] [DEBUG] ---- local execute: ls -l /proc/4434/fd/ |grep -E 'socket:\[(270880792)\]' [2024-12-11 12:54:14.868] [DEBUG] ---- exited code 0 [2024-12-11 12:54:14.868] [DEBUG] ---- local execute: pid=`cat /root/obproxy-ce/run/obproxyd-127.0.0.1-2883.pid` && ls /proc/$pid [2024-12-11 12:54:14.873] [DEBUG] ---- exited code 0 [2024-12-11 12:54:14.873] [DEBUG] ---- 127.0.0.1 obproxy[pid: 4434] started [2024-12-11 12:54:14.941] [DEBUG] --- sub start ref count to 0 [2024-12-11 12:54:14.941] [DEBUG] --- export start [2024-12-11 12:54:14.942] [DEBUG] --- plugin obproxy-ce-py_script_start-4.2.3 result: True [2024-12-11 12:54:14.942] [INFO] Connect to obproxy [2024-12-11 12:54:14.943] [DEBUG] -- Call obproxy-ce-py_script_connect-3.1.0 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:14.945] [DEBUG] ---- connect 127.0.0.1 -P2883 -uroot@proxysys -p****** [2024-12-11 12:54:14.948] [DEBUG] --- plugin obproxy-ce-py_script_connect-3.1.0 result: True [2024-12-11 12:54:15.076] [DEBUG] -- Call obproxy-ce-py_script_bootstrap-3.1.0 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:15.076] [DEBUG] --- import bootstrap [2024-12-11 12:54:15.078] [DEBUG] --- add bootstrap ref count to 1 [2024-12-11 12:54:15.078] [DEBUG] ---- execute sql: alter proxyconfig set observer_sys_password = %s. args: ['******'] [2024-12-11 12:54:15.085] [DEBUG] --- sub bootstrap ref count to 0 [2024-12-11 12:54:15.085] [DEBUG] --- export bootstrap [2024-12-11 12:54:15.085] [DEBUG] --- plugin obproxy-ce-py_script_bootstrap-3.1.0 result: True [2024-12-11 12:54:15.085] [DEBUG] -- Call obproxy-ce-py_script_display-3.1.0 for obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 [2024-12-11 12:54:15.085] [DEBUG] --- import display [2024-12-11 12:54:15.087] [DEBUG] --- add display ref count to 1 [2024-12-11 12:54:15.087] [DEBUG] ---- execute sql: show proxyconfig like "%port". args: None [2024-12-11 12:54:15.102] [INFO] +---------------------------------------------+ [2024-12-11 12:54:15.102] [INFO] | obproxy-ce | [2024-12-11 12:54:15.102] [INFO] +-----------+------+-----------------+--------+ [2024-12-11 12:54:15.102] [INFO] | ip | port | prometheus_port | status | [2024-12-11 12:54:15.102] [INFO] +-----------+------+-----------------+--------+ [2024-12-11 12:54:15.102] [INFO] | 127.0.0.1 | 2883 | 2884 | active | [2024-12-11 12:54:15.102] [INFO] +-----------+------+-----------------+--------+ [2024-12-11 12:54:15.103] [INFO] obclient -h127.0.0.1 -P2883 -uroot@proxysys -p'******' -Doceanbase -A [2024-12-11 12:54:15.103] [INFO] [2024-12-11 12:54:15.103] [DEBUG] --- sub display ref count to 0 [2024-12-11 12:54:15.103] [DEBUG] --- export display [2024-12-11 12:54:15.103] [DEBUG] --- plugin obproxy-ce-py_script_display-3.1.0 result: True [2024-12-11 12:54:15.103] [DEBUG] - sub restart ref count to 0 [2024-12-11 12:54:15.103] [DEBUG] - export restart [2024-12-11 12:54:15.103] [DEBUG] - plugin obproxy-ce-py_script_restart-3.1.0 result: True [2024-12-11 12:54:15.116] [DEBUG] - Call prometheus-py_script_start_check-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:54:15.116] [DEBUG] - import start_check [2024-12-11 12:54:15.119] [DEBUG] - add start_check ref count to 1 [2024-12-11 12:54:15.119] [INFO] Check before start prometheus [2024-12-11 12:54:15.120] [DEBUG] -- local execute: cat /root/prometheus/run/prometheus.pid [2024-12-11 12:54:15.125] [DEBUG] -- exited code 0 [2024-12-11 12:54:15.126] [DEBUG] -- local execute: ls /proc/18924 [2024-12-11 12:54:15.130] [DEBUG] -- exited code 0 [2024-12-11 12:54:15.131] [DEBUG] -- 127.0.0.1 is runnning, skip [2024-12-11 12:54:15.251] [DEBUG] - sub start_check ref count to 0 [2024-12-11 12:54:15.251] [DEBUG] - export start_check [2024-12-11 12:54:15.251] [DEBUG] - plugin prometheus-py_script_start_check-2.37.1 result: True [2024-12-11 12:54:15.251] [DEBUG] - Call prometheus-py_script_restart-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:54:15.251] [DEBUG] - import restart [2024-12-11 12:54:15.254] [DEBUG] - add restart ref count to 1 [2024-12-11 12:54:15.254] [DEBUG] -- Call prometheus-py_script_stop-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:54:15.255] [DEBUG] --- import stop [2024-12-11 12:54:15.257] [DEBUG] --- add stop ref count to 1 [2024-12-11 12:54:15.257] [INFO] Stop prometheus [2024-12-11 12:54:15.258] [DEBUG] ---- local execute: cat /root/prometheus/run/prometheus.pid [2024-12-11 12:54:15.262] [DEBUG] ---- exited code 0 [2024-12-11 12:54:15.263] [DEBUG] ---- local execute: ls /proc/18924 [2024-12-11 12:54:15.267] [DEBUG] ---- exited code 0 [2024-12-11 12:54:15.268] [DEBUG] ---- local execute: ls /proc/18924/fd [2024-12-11 12:54:15.272] [DEBUG] ---- exited code 0 [2024-12-11 12:54:15.272] [DEBUG] ---- 127.0.0.1 prometheus[pid:18924] stopping... [2024-12-11 12:54:15.272] [DEBUG] ---- local execute: cat /root/prometheus/run/prometheusd.pid | xargs kill -9; kill -9 18924 [2024-12-11 12:54:15.278] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.280] [DEBUG] ---- 127.0.0.1 check whether the port is released [2024-12-11 12:54:16.280] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:2382' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:16.290] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.291] [DEBUG] ---- local execute: rm -f /root/prometheus/run/prometheus.pid [2024-12-11 12:54:16.295] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.295] [DEBUG] ---- 127.0.0.1 prometheus is stopped [2024-12-11 12:54:16.301] [DEBUG] --- sub stop ref count to 0 [2024-12-11 12:54:16.301] [DEBUG] --- export stop [2024-12-11 12:54:16.301] [DEBUG] --- plugin prometheus-py_script_stop-2.37.1 result: True [2024-12-11 12:54:16.301] [DEBUG] -- Call prometheus-py_script_start-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:54:16.301] [DEBUG] --- import start [2024-12-11 12:54:16.306] [DEBUG] --- add start ref count to 1 [2024-12-11 12:54:16.307] [DEBUG] ---- obagent version: 4.2.2 [2024-12-11 12:54:16.307] [INFO] Start promethues [2024-12-11 12:54:16.308] [DEBUG] ---- local execute: ls /root/prometheus/.prometheus_started [2024-12-11 12:54:16.313] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.313] [DEBUG] ---- local execute: ls /root/prometheus/prometheus.yaml [2024-12-11 12:54:16.317] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.318] [DEBUG] ---- local execute: cat /root/prometheus/prometheus.yaml [2024-12-11 12:54:16.322] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.348] [DEBUG] ---- write global: [2024-12-11 12:54:16.348] [DEBUG] scrape_interval: 1s [2024-12-11 12:54:16.348] [DEBUG] evaluation_interval: 10s [2024-12-11 12:54:16.348] [DEBUG] [2024-12-11 12:54:16.348] [DEBUG] rule_files: [2024-12-11 12:54:16.348] [DEBUG] - rules/*rules.yaml [2024-12-11 12:54:16.348] [DEBUG] [2024-12-11 12:54:16.348] [DEBUG] scrape_configs: [2024-12-11 12:54:16.348] [DEBUG] - job_name: prometheus [2024-12-11 12:54:16.348] [DEBUG] metrics_path: /metrics [2024-12-11 12:54:16.348] [DEBUG] scheme: http [2024-12-11 12:54:16.348] [DEBUG] static_configs: [2024-12-11 12:54:16.348] [DEBUG] - targets: [2024-12-11 12:54:16.348] [DEBUG] - 127.0.0.1:9090 [2024-12-11 12:54:16.348] [DEBUG] basic_auth: [2024-12-11 12:54:16.348] [DEBUG] username: admin [2024-12-11 12:54:16.348] [DEBUG] password: 4zFnU2bZOB [2024-12-11 12:54:16.349] [DEBUG] - job_name: node [2024-12-11 12:54:16.349] [DEBUG] basic_auth: [2024-12-11 12:54:16.349] [DEBUG] username: admin [2024-12-11 12:54:16.349] [DEBUG] password: 9Hr5vBT7j [2024-12-11 12:54:16.349] [DEBUG] metrics_path: /metrics/node/host [2024-12-11 12:54:16.349] [DEBUG] scheme: http [2024-12-11 12:54:16.349] [DEBUG] static_configs: [2024-12-11 12:54:16.349] [DEBUG] - targets: [2024-12-11 12:54:16.349] [DEBUG] - 127.0.0.1:8088 [2024-12-11 12:54:16.349] [DEBUG] file_sd_configs: [2024-12-11 12:54:16.349] [DEBUG] - files: [2024-12-11 12:54:16.349] [DEBUG] - targets/*.yaml [2024-12-11 12:54:16.349] [DEBUG] - job_name: ob_basic [2024-12-11 12:54:16.349] [DEBUG] basic_auth: [2024-12-11 12:54:16.349] [DEBUG] username: admin [2024-12-11 12:54:16.349] [DEBUG] password: 9Hr5vBT7j [2024-12-11 12:54:16.349] [DEBUG] metrics_path: /metrics/ob/basic [2024-12-11 12:54:16.349] [DEBUG] scheme: http [2024-12-11 12:54:16.349] [DEBUG] static_configs: [2024-12-11 12:54:16.349] [DEBUG] - targets: [2024-12-11 12:54:16.349] [DEBUG] - 127.0.0.1:8088 [2024-12-11 12:54:16.349] [DEBUG] file_sd_configs: [2024-12-11 12:54:16.349] [DEBUG] - files: [2024-12-11 12:54:16.349] [DEBUG] - targets/*.yaml [2024-12-11 12:54:16.349] [DEBUG] - job_name: ob_extra [2024-12-11 12:54:16.349] [DEBUG] basic_auth: [2024-12-11 12:54:16.349] [DEBUG] username: admin [2024-12-11 12:54:16.349] [DEBUG] password: 9Hr5vBT7j [2024-12-11 12:54:16.349] [DEBUG] metrics_path: /metrics/ob/extra [2024-12-11 12:54:16.349] [DEBUG] scheme: http [2024-12-11 12:54:16.349] [DEBUG] static_configs: [2024-12-11 12:54:16.349] [DEBUG] - targets: [2024-12-11 12:54:16.349] [DEBUG] - 127.0.0.1:8088 [2024-12-11 12:54:16.350] [DEBUG] file_sd_configs: [2024-12-11 12:54:16.350] [DEBUG] - files: [2024-12-11 12:54:16.350] [DEBUG] - targets/*.yaml [2024-12-11 12:54:16.350] [DEBUG] - job_name: agent [2024-12-11 12:54:16.350] [DEBUG] basic_auth: [2024-12-11 12:54:16.350] [DEBUG] username: admin [2024-12-11 12:54:16.350] [DEBUG] password: 9Hr5vBT7j [2024-12-11 12:54:16.350] [DEBUG] metrics_path: /metrics/stat [2024-12-11 12:54:16.350] [DEBUG] scheme: http [2024-12-11 12:54:16.350] [DEBUG] static_configs: [2024-12-11 12:54:16.350] [DEBUG] - targets: [2024-12-11 12:54:16.350] [DEBUG] - 127.0.0.1:8088 [2024-12-11 12:54:16.350] [DEBUG] file_sd_configs: [2024-12-11 12:54:16.350] [DEBUG] - files: [2024-12-11 12:54:16.350] [DEBUG] - targets/*.yaml to /root/prometheus/prometheus.yaml [2024-12-11 12:54:16.350] [DEBUG] ---- open /root/prometheus/prometheus.yaml for w [2024-12-11 12:54:16.668] [DEBUG] ---- write basic_auth_users: [2024-12-11 12:54:16.668] [DEBUG] admin: $2b$12$ZLISFVwmt8Y1n5wNwKT30.Q6trDEaajxytZNDwLXTrVlbvJVss0tm [2024-12-11 12:54:16.668] [DEBUG] to /root/prometheus/web_config.yaml [2024-12-11 12:54:16.668] [DEBUG] ---- open /root/prometheus/web_config.yaml for w [2024-12-11 12:54:16.668] [DEBUG] ---- local execute: cat /root/prometheus/run/prometheus.pid [2024-12-11 12:54:16.674] [DEBUG] ---- exited code 1, error output: [2024-12-11 12:54:16.674] [DEBUG] cat: /root/prometheus/run/prometheus.pid: No such file or directory [2024-12-11 12:54:16.674] [DEBUG] [2024-12-11 12:54:16.674] [DEBUG] ---- local execute: mkdir -p /root/prometheus && cp -f /root/.obd/plugins/prometheus/2.37.1/prometheusd.sh /root/prometheus/prometheusd.sh [2024-12-11 12:54:16.681] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.681] [DEBUG] ---- local execute: cd /root/prometheus && bash prometheusd.sh --config.file=/root/prometheus/prometheus.yaml --web.listen-address=0.0.0.0:9090 --storage.tsdb.path=/root/prometheus/data --web.enable-lifecycle --web.config.file=/root/prometheus/web_config.yaml --start-only [2024-12-11 12:54:16.705] [DEBUG] ---- exited code 0 [2024-12-11 12:54:16.705] [DEBUG] ---- local execute: pid=`cat /root/prometheus/run/prometheus.pid` && ls /proc/$pid [2024-12-11 12:54:16.711] [DEBUG] ---- exited code 0 [2024-12-11 12:54:17.831] [INFO] prometheus program health check [2024-12-11 12:54:17.832] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:17.832] [DEBUG] ---- local execute: cat /root/prometheus/run/prometheus.pid [2024-12-11 12:54:17.838] [DEBUG] ---- exited code 0 [2024-12-11 12:54:17.839] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:2382' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:17.847] [DEBUG] ---- exited code 0 [2024-12-11 12:54:17.848] [DEBUG] ---- 270881799 [2024-12-11 12:54:17.848] [DEBUG] [2024-12-11 12:54:17.848] [DEBUG] ---- local execute: ls -l /proc/4541/fd/ |grep -E 'socket:\[(270881799)\]' [2024-12-11 12:54:17.855] [DEBUG] ---- exited code 0 [2024-12-11 12:54:17.856] [DEBUG] ---- local execute: pid=`cat /root/prometheus/run/prometheusd.pid` && ls /proc/$pid [2024-12-11 12:54:17.862] [DEBUG] ---- exited code 2, error output: [2024-12-11 12:54:17.862] [DEBUG] ls: cannot access '/proc/18886': No such file or directory [2024-12-11 12:54:17.863] [DEBUG] [2024-12-11 12:54:17.863] [DEBUG] ---- local execute: mkdir -p /root/prometheus && cp -f /root/.obd/plugins/prometheus/2.37.1/prometheusd.sh /root/prometheus/prometheusd.sh [2024-12-11 12:54:17.870] [DEBUG] ---- exited code 0 [2024-12-11 12:54:17.870] [DEBUG] ---- local execute: cd /root/prometheus && bash prometheusd.sh --config.file=/root/prometheus/prometheus.yaml --web.listen-address=0.0.0.0:9090 --storage.tsdb.path=/root/prometheus/data --web.enable-lifecycle --web.config.file=/root/prometheus/web_config.yaml [2024-12-11 12:54:17.881] [DEBUG] ---- exited code 0 [2024-12-11 12:54:18.883] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:18.883] [DEBUG] ---- local execute: cat /root/prometheus/run/prometheus.pid [2024-12-11 12:54:18.889] [DEBUG] ---- exited code 0 [2024-12-11 12:54:18.889] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:2382' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:18.898] [DEBUG] ---- exited code 0 [2024-12-11 12:54:18.899] [DEBUG] ---- failed to start 127.0.0.1 prometheus, remaining retries: 18 [2024-12-11 12:54:19.900] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:19.901] [DEBUG] ---- local execute: cat /root/prometheus/run/prometheus.pid [2024-12-11 12:54:19.914] [DEBUG] ---- exited code 0 [2024-12-11 12:54:19.915] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:2382' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:19.931] [DEBUG] ---- exited code 0 [2024-12-11 12:54:19.931] [DEBUG] ---- 270879143 [2024-12-11 12:54:19.931] [DEBUG] [2024-12-11 12:54:19.932] [DEBUG] ---- local execute: ls -l /proc/4661/fd/ |grep -E 'socket:\[(270879143)\]' [2024-12-11 12:54:19.946] [DEBUG] ---- exited code 0 [2024-12-11 12:54:19.946] [DEBUG] ---- local execute: pid=`cat /root/prometheus/run/prometheusd.pid` && ls /proc/$pid [2024-12-11 12:54:19.956] [DEBUG] ---- exited code 0 [2024-12-11 12:54:19.956] [DEBUG] ---- 127.0.0.1 prometheusd[pid: 4661] started [2024-12-11 12:54:20.050] [DEBUG] --- sub start ref count to 0 [2024-12-11 12:54:20.050] [DEBUG] --- export start [2024-12-11 12:54:20.051] [DEBUG] --- plugin prometheus-py_script_start-2.37.1 result: True [2024-12-11 12:54:20.052] [INFO] Connect to prometheus [2024-12-11 12:54:20.052] [DEBUG] --- import connect [2024-12-11 12:54:20.055] [DEBUG] --- add connect ref count to 1 [2024-12-11 12:54:20.055] [DEBUG] ---- connect prometheus (127.0.0.1:9090 by user admin) [2024-12-11 12:54:20.056] [DEBUG] ---- send http request method: GET, url: http://127.0.0.1:9090/-/healthy, data: None [2024-12-11 12:54:20.389] [DEBUG] --- sub connect ref count to 0 [2024-12-11 12:54:20.389] [DEBUG] --- export connect [2024-12-11 12:54:20.389] [DEBUG] --- plugin prometheus-py_script_connect-2.37.1 result: True [2024-12-11 12:54:20.444] [DEBUG] -- Call prometheus-py_script_display-2.37.1 for prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 [2024-12-11 12:54:20.445] [DEBUG] --- import display [2024-12-11 12:54:20.448] [DEBUG] --- add display ref count to 1 [2024-12-11 12:54:20.448] [DEBUG] ---- send http request method: GET, url: http://127.0.0.1:9090/-/healthy, data: None [2024-12-11 12:54:20.452] [INFO] +----------------------------------------------------------+ [2024-12-11 12:54:20.452] [INFO] | prometheus | [2024-12-11 12:54:20.452] [INFO] +----------------------------+-------+------------+--------+ [2024-12-11 12:54:20.452] [INFO] | url | user | password | status | [2024-12-11 12:54:20.452] [INFO] +----------------------------+-------+------------+--------+ [2024-12-11 12:54:20.452] [INFO] | http://172.17.116.249:9090 | admin | 4zFnU2bZOB | active | [2024-12-11 12:54:20.452] [INFO] +----------------------------+-------+------------+--------+ [2024-12-11 12:54:20.452] [DEBUG] --- sub display ref count to 0 [2024-12-11 12:54:20.452] [DEBUG] --- export display [2024-12-11 12:54:20.453] [DEBUG] --- plugin prometheus-py_script_display-2.37.1 result: True [2024-12-11 12:54:20.453] [DEBUG] - sub restart ref count to 0 [2024-12-11 12:54:20.453] [DEBUG] - export restart [2024-12-11 12:54:20.453] [DEBUG] - plugin prometheus-py_script_restart-2.37.1 result: True [2024-12-11 12:54:20.467] [DEBUG] - Call grafana-py_script_start_check-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:20.468] [DEBUG] - import start_check [2024-12-11 12:54:20.472] [DEBUG] - add start_check ref count to 1 [2024-12-11 12:54:20.472] [INFO] Check before start grafana [2024-12-11 12:54:20.473] [DEBUG] -- local execute: cat /root/grafana/run/grafana.pid [2024-12-11 12:54:20.480] [DEBUG] -- exited code 0 [2024-12-11 12:54:20.481] [DEBUG] -- local execute: ls /proc/18984 [2024-12-11 12:54:20.487] [DEBUG] -- exited code 0 [2024-12-11 12:54:20.487] [DEBUG] -- 127.0.0.1 is runnning, skip [2024-12-11 12:54:20.604] [DEBUG] - sub start_check ref count to 0 [2024-12-11 12:54:20.604] [DEBUG] - export start_check [2024-12-11 12:54:20.605] [DEBUG] - plugin grafana-py_script_start_check-7.5.17 result: True [2024-12-11 12:54:20.605] [DEBUG] - Call grafana-py_script_restart-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:20.605] [DEBUG] - import restart [2024-12-11 12:54:20.609] [DEBUG] - add restart ref count to 1 [2024-12-11 12:54:20.610] [INFO] Connect to Grafana [2024-12-11 12:54:20.610] [DEBUG] -- Call grafana-py_script_connect-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:20.611] [DEBUG] --- import connect [2024-12-11 12:54:20.614] [DEBUG] --- add connect ref count to 1 [2024-12-11 12:54:20.614] [DEBUG] ---- local execute: ls /root/grafana/run/.grafana [2024-12-11 12:54:20.621] [DEBUG] ---- exited code 0 [2024-12-11 12:54:20.622] [DEBUG] ---- connect grafana (127.0.0.1:3000 by user admin) [2024-12-11 12:54:20.622] [DEBUG] --- sub connect ref count to 0 [2024-12-11 12:54:20.622] [DEBUG] --- export connect [2024-12-11 12:54:20.622] [DEBUG] --- plugin grafana-py_script_connect-7.5.17 result: True [2024-12-11 12:54:20.742] [DEBUG] -- Call grafana-py_script_reload-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:20.742] [DEBUG] --- import reload [2024-12-11 12:54:20.746] [DEBUG] --- add reload ref count to 1 [2024-12-11 12:54:20.747] [INFO] Reload Grafana [2024-12-11 12:54:20.747] [DEBUG] ---- 127.0.0.1 reload grafana [2024-12-11 12:54:20.879] [DEBUG] --- sub reload ref count to 0 [2024-12-11 12:54:20.880] [DEBUG] --- export reload [2024-12-11 12:54:20.880] [DEBUG] --- plugin grafana-py_script_reload-7.5.17 result: True [2024-12-11 12:54:20.880] [DEBUG] -- Call grafana-py_script_stop-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:20.880] [DEBUG] --- import stop [2024-12-11 12:54:20.882] [DEBUG] --- add stop ref count to 1 [2024-12-11 12:54:20.883] [INFO] Stop grafana [2024-12-11 12:54:20.883] [DEBUG] ---- local execute: cat /root/grafana/run/grafana.pid [2024-12-11 12:54:20.891] [DEBUG] ---- exited code 0 [2024-12-11 12:54:20.892] [DEBUG] ---- local execute: ls /proc/18984 [2024-12-11 12:54:20.899] [DEBUG] ---- exited code 0 [2024-12-11 12:54:20.900] [DEBUG] ---- local execute: ls /proc/18984/fd [2024-12-11 12:54:20.907] [DEBUG] ---- exited code 0 [2024-12-11 12:54:20.907] [DEBUG] ---- 127.0.0.1 grafana[pid:18984] stopping... [2024-12-11 12:54:20.907] [DEBUG] ---- local execute: kill -9 18984 [2024-12-11 12:54:20.911] [DEBUG] ---- exited code 0 [2024-12-11 12:54:21.913] [DEBUG] ---- 127.0.0.1 check whether the port is released [2024-12-11 12:54:21.913] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0BB8' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:21.925] [DEBUG] ---- exited code 0 [2024-12-11 12:54:21.926] [DEBUG] ---- 127.0.0.1 grafana is stopped [2024-12-11 12:54:21.927] [DEBUG] --- sub stop ref count to 0 [2024-12-11 12:54:21.927] [DEBUG] --- export stop [2024-12-11 12:54:21.927] [DEBUG] --- plugin grafana-py_script_stop-7.5.17 result: True [2024-12-11 12:54:21.927] [DEBUG] -- Call grafana-py_script_start-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:21.927] [DEBUG] --- import start [2024-12-11 12:54:21.933] [DEBUG] --- add start ref count to 1 [2024-12-11 12:54:21.934] [INFO] Start grafana [2024-12-11 12:54:21.935] [DEBUG] ---- local execute: cat /root/grafana/run/grafana.pid [2024-12-11 12:54:21.940] [DEBUG] ---- exited code 0 [2024-12-11 12:54:21.941] [DEBUG] ---- local execute: ls /proc/18984 [2024-12-11 12:54:21.947] [DEBUG] ---- exited code 2, error output: [2024-12-11 12:54:21.947] [DEBUG] ls: cannot access '/proc/18984': No such file or directory [2024-12-11 12:54:21.947] [DEBUG] [2024-12-11 12:54:21.948] [DEBUG] ---- 127.0.0.1 generate obd-grafana ini file [2024-12-11 12:54:21.949] [DEBUG] ---- local execute: mkdir -p /root/grafana/conf && cp -f /tmp/tmpmu6ojvkj.ini /root/grafana/conf/obd-grafana.ini [2024-12-11 12:54:21.956] [DEBUG] ---- exited code 0 [2024-12-11 12:54:21.956] [DEBUG] ---- 127.0.0.1 generate datasources yaml [2024-12-11 12:54:21.957] [DEBUG] ---- prometheus_server_config: ordereddict([('admin', '4zFnU2bZOB')]) [2024-12-11 12:54:21.961] [DEBUG] ---- write apiVersion: 1 [2024-12-11 12:54:21.961] [DEBUG] datasources: [2024-12-11 12:54:21.961] [DEBUG] - name: OB-Prometheus [2024-12-11 12:54:21.961] [DEBUG] isDefault: 'true' [2024-12-11 12:54:21.961] [DEBUG] type: prometheus [2024-12-11 12:54:21.961] [DEBUG] access: proxy [2024-12-11 12:54:21.961] [DEBUG] editable: 'true' [2024-12-11 12:54:21.961] [DEBUG] url: http://172.17.116.249:9090 [2024-12-11 12:54:21.962] [DEBUG] basicAuth: 'true' [2024-12-11 12:54:21.962] [DEBUG] basicAuthUser: admin [2024-12-11 12:54:21.962] [DEBUG] secureJsonData: [2024-12-11 12:54:21.962] [DEBUG] basicAuthPassword: 4zFnU2bZOB to /root/grafana/conf/provisioning/datasources/sample.yaml [2024-12-11 12:54:21.962] [DEBUG] ---- open /root/grafana/conf/provisioning/datasources/sample.yaml for w [2024-12-11 12:54:21.963] [DEBUG] ---- 127.0.0.1 generate providers yaml [2024-12-11 12:54:21.964] [DEBUG] ---- write apiVersion: 1 [2024-12-11 12:54:21.964] [DEBUG] providers: [2024-12-11 12:54:21.964] [DEBUG] - name: OceanBase Metrics [2024-12-11 12:54:21.964] [DEBUG] type: file [2024-12-11 12:54:21.964] [DEBUG] allowUiUpdates: 'true' [2024-12-11 12:54:21.964] [DEBUG] options: [2024-12-11 12:54:21.964] [DEBUG] path: /root/grafana/conf/provisioning/dashboards/templates to /root/grafana/conf/provisioning/dashboards/sample.yaml [2024-12-11 12:54:21.964] [DEBUG] ---- open /root/grafana/conf/provisioning/dashboards/sample.yaml for w [2024-12-11 12:54:21.965] [DEBUG] ---- local execute: touch /root/grafana/.configured [2024-12-11 12:54:21.970] [DEBUG] ---- exited code 0 [2024-12-11 12:54:21.970] [DEBUG] ---- local execute: ps -aux | grep -e '/root/grafana/bin/grafana-server --homepath=/root/grafana --config=/root/grafana/conf/obd-grafana.ini --pidfile=/root/grafana/run/grafana.pid$' | grep -v grep | awk '{print $2}' [2024-12-11 12:54:21.991] [DEBUG] ---- exited code 0 [2024-12-11 12:54:21.992] [DEBUG] ---- local execute: cd /root/grafana; bash -c '/root/grafana/bin/grafana-server --homepath=/root/grafana --config=/root/grafana/conf/obd-grafana.ini --pidfile=/root/grafana/run/grafana.pid > /root/grafana/data/log/grafana-console.log 2>&1 &' [2024-12-11 12:54:22.003] [DEBUG] ---- exited code 0 [2024-12-11 12:54:22.003] [DEBUG] ---- local execute: ps -aux | grep -e '/root/grafana/bin/grafana-server --homepath=/root/grafana --config=/root/grafana/conf/obd-grafana.ini --pidfile=/root/grafana/run/grafana.pid$' | grep -v grep | awk '{print $2}' [2024-12-11 12:54:22.029] [DEBUG] ---- exited code 0 [2024-12-11 12:54:23.070] [INFO] grafana program health check [2024-12-11 12:54:23.071] [DEBUG] ---- 127.0.0.1 program health check [2024-12-11 12:54:23.071] [DEBUG] ---- servers_pid: {<127.0.0.1>: ['4768']} [2024-12-11 12:54:23.071] [DEBUG] ---- local execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:0BB8' | awk -F' ' '{print $2}' | uniq [2024-12-11 12:54:23.084] [DEBUG] ---- exited code 0 [2024-12-11 12:54:23.084] [DEBUG] ---- local execute: ls -l /proc/4768/fd/ |grep -E 'socket:\[(270877416)\]' [2024-12-11 12:54:23.096] [DEBUG] ---- exited code 0 [2024-12-11 12:54:23.097] [DEBUG] ---- local execute: cat /root/grafana/run/grafana.pid [2024-12-11 12:54:23.102] [DEBUG] ---- exited code 0 [2024-12-11 12:54:23.103] [DEBUG] ---- 127.0.0.1 grafana[pid: 4768] started [2024-12-11 12:54:23.202] [DEBUG] --- sub start ref count to 0 [2024-12-11 12:54:23.202] [DEBUG] --- export start [2024-12-11 12:54:23.202] [DEBUG] --- plugin grafana-py_script_start-7.5.17 result: True [2024-12-11 12:54:23.203] [INFO] Connect to Grafana [2024-12-11 12:54:23.204] [DEBUG] -- Call grafana-py_script_connect-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:23.204] [DEBUG] ---- local execute: ls /root/grafana/run/.grafana [2024-12-11 12:54:23.212] [DEBUG] ---- exited code 0 [2024-12-11 12:54:23.213] [DEBUG] ---- connect grafana (127.0.0.1:3000 by user admin) [2024-12-11 12:54:23.213] [DEBUG] --- plugin grafana-py_script_connect-7.5.17 result: True [2024-12-11 12:54:23.335] [DEBUG] -- Call grafana-py_script_display-7.5.17 for grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 [2024-12-11 12:54:23.335] [DEBUG] --- import display [2024-12-11 12:54:23.337] [DEBUG] --- add display ref count to 1 [2024-12-11 12:54:23.338] [DEBUG] ---- send http request method: GET, url: http://127.0.0.1:3000/api/dashboards/tags, data: None [2024-12-11 12:54:23.376] [INFO] +----------------------------------------------------------------------+ [2024-12-11 12:54:23.376] [INFO] | grafana | [2024-12-11 12:54:23.376] [INFO] +----------------------------------------+-------+------------+--------+ [2024-12-11 12:54:23.376] [INFO] | url | user | password | status | [2024-12-11 12:54:23.376] [INFO] +----------------------------------------+-------+------------+--------+ [2024-12-11 12:54:23.376] [INFO] | http://172.17.116.249:3000/d/oceanbase | admin | z2fQqScmOA | active | [2024-12-11 12:54:23.376] [INFO] +----------------------------------------+-------+------------+--------+ [2024-12-11 12:54:23.376] [DEBUG] --- sub display ref count to 0 [2024-12-11 12:54:23.376] [DEBUG] --- export display [2024-12-11 12:54:23.377] [DEBUG] --- plugin grafana-py_script_display-7.5.17 result: True [2024-12-11 12:54:23.377] [DEBUG] - sub restart ref count to 0 [2024-12-11 12:54:23.377] [DEBUG] - export restart [2024-12-11 12:54:23.377] [DEBUG] - plugin grafana-py_script_restart-7.5.17 result: True [2024-12-11 12:54:23.394] [DEBUG] - demo apply temp config [2024-12-11 12:54:23.395] [DEBUG] - dump deploy info to /root/.obd/cluster/demo/.data [2024-12-11 12:54:23.399] [DEBUG] - Set demo deploy status to running [2024-12-11 12:54:23.400] [DEBUG] - dump deploy info to /root/.obd/cluster/demo/.data [2024-12-11 12:54:23.404] [INFO] demo restart [2024-12-11 12:54:23.412] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 4 [2024-12-11 12:54:23.412] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 3 [2024-12-11 12:54:23.412] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 2 [2024-12-11 12:54:23.413] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 1 [2024-12-11 12:54:23.413] [DEBUG] - share lock /root/.obd/lock/mirror_and_repo release, count 0 [2024-12-11 12:54:23.413] [DEBUG] - unlock /root/.obd/lock/mirror_and_repo [2024-12-11 12:54:23.413] [DEBUG] - exclusive lock /root/.obd/lock/deploy_demo release, count 0 [2024-12-11 12:54:23.413] [DEBUG] - unlock /root/.obd/lock/deploy_demo [2024-12-11 12:54:23.413] [DEBUG] - share lock /root/.obd/lock/global release, count 0 [2024-12-11 12:54:23.413] [DEBUG] - unlock /root/.obd/lock/global [2024-12-11 12:54:23.414] [INFO] Trace ID: dc53f9de-b77b-11ef-8902-00163e1c4550 [2024-12-11 12:54:23.414] [INFO] If you want to view detailed obd logs, please run: obd display-trace dc53f9de-b77b-11ef-8902-00163e1c4550