【 使用环境 】测试环境
【 OB or 其他组件 】ob all-in-one
【 使用版本 】4.2.1-ce
【问题描述】通过sql修改root登陆密码之后,单节点部署的demo集群状态变为stopped,然后我使用obd cluster edit-config demo 这个命令给oceanbase-ce模块添加root_password参数,obd cluster start demo失败,observer和obproxy服务都正常启动,但是obagent服务启动失败
【报错信息】
root@enbo:~# obd cluster start demo
Get local repositories ok
Search plugins ok
Open ssh connection ok
Load cluster param plugin ok
Check before start observer ok
Check before start obproxy ok
Check before start obagent ok
Check before start prometheus ok
Check before start grafana ok
Start observer ok
observer program health check ok
Connect to observer 127.0.0.1:2881 ok
Start obproxy ok
obproxy program health check ok
Connect to obproxy ok
Initialize obproxy-ce ok
Start obagent ok
obagent program health check x
[WARN] failed to start 127.0.0.1 obagent [ERROR] obagent start failed
Wait for observer init ok
±--------------------------------------------+
| observer |
±----------±--------±-----±------±-------+
| ip | version | port | zone | status |
±----------±--------±-----±------±-------+
| 127.0.0.1 | 4.2.1.2 | 2881 | zone1 | ACTIVE |
±----------±--------±-----±------±-------+
obclient -h127.0.0.1 -P2881 -uroot -p’enbo123456’ -Doceanbase -A
±--------------------------------------------+
| obproxy |
±----------±-----±----------------±-------+
| ip | port | prometheus_port | status |
±----------±-----±----------------±-------+
| 127.0.0.1 | 2883 | 2884 | active |
±----------±-----±----------------±-------+
obclient -h127.0.0.1 -P2883 -uroot -p’enbo123456’ -Doceanbase -A
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: ebee2030-a48b-11ee-92dc-080027c1bc21
If you want to view detailed obd logs, please run: obd display-trace ebee2030-a48b-11ee-92dc-080027c1bc21
[2023-12-27 17:29:58.177] [ERROR] requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘127.0.0.1’, port=9090): Max retries exceeded with url: /-/healthy (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7fb91acf2d00>: Failed to establish a new connection: [Errno 111] Connection refused’))
[2023-12-27 17:29:58.177] [ERROR]
[2023-12-27 17:29:58.177] [DEBUG] – request prometheus failed: HTTPConnectionPool(host=‘127.0.0.1’, port=9090): Max retries exceeded with url: /-/healthy (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7fb91acf2d00>: Failed to establish a new connection: [Errno 111] Connection refused’))
[2023-12-27 17:29:58.177] [ERROR] OBD-1006: Failed to connect to prometheus
[2023-12-27 17:29:58.310] [INFO] [ERROR] OBD-1006: Failed to connect to prometheus