报错信息如下:
192.16.2.108:60492 - - [11/Feb/2022 15:39:07] "HTTP/1.1 POST /dbFailover" - 500 Internal Server Error
192.16.2.108:60494 - - [11/Feb/2022 15:39:11] "HTTP/1.1 GET /primaryInfo" - 200 OK
Traceback (most recent call last):
File "web/application.py", line 280, in process
File "web/application.py", line 271, in handle
File "web/application.py", line 517, in _delegate
File "web/application.py", line 495, in handle_class
File "ha_web/server.py", line 83, in POST
AttributeError: 'StandbyHeartbeat' object has no attribute 'sync_meta'
评论
有用 0你好,你使用的版本是多少(可以从 src/version.txt 查看)
评论
有用 0这是Mogha的心跳日志么?心跳日志可以参考下
评论
有用 02022-02-11 15:22:55,486 - heartbeat.loop - INFO [loop.py:50]: Detect that local instance is down, try to handle it
2022-02-11 15:22:55,490 - heartbeat.loop - INFO [loop.py:55]: Local instance is stopped primary
2022-02-11 15:22:55,490 - heartbeat.loop - INFO [loop.py:69]: disk check success, try to failover
2022-02-11 15:22:55,491 - instance - INFO [opengauss.py:249]: VIP:192.16.3.201 already offline, local ip list: ['192.16.2.108', '192.168.122.1', '172.17.0.1']
2022-02-11 15:22:55,491 - heartbeat.primary - INFO [primary_heartbeat.py:495]: send failover request to host 192.16.3.32
2022-02-11 15:22:55,500 - heartbeat.loop - ERROR [loop.py:178]: Heartbeat failed:
2022-02-11 15:22:55,500 - heartbeat.loop - ERROR [loop.py:179]: all of ['192.16.3.32'] request failed, errs: {'192.16.3.32': 'HTTP Error 500: Internal Server Error'}
Traceback (most recent call last):
File "ha_heartbeat/loop.py", line 171, in heartbeat_loop
File "ha_heartbeat/loop.py", line 70, in dispatch
File "ha_heartbeat/primary_heartbeat.py", line 540, in handle_down_primary
File "ha_heartbeat/primary_heartbeat.py", line 497, in backup_failover
File "ha_web/api.py", line 46, in failover_db
File "lib/toolkit.py", line 266, in target_request
Exception: all of ['192.16.3.32'] request failed, errs: {'192.16.3.32': 'HTTP Error 500: Internal Server Error'}
评论
有用 0
墨值悬赏

