【TDengine 使用环境】
生产环境 /测试/ Poc/预生产环境
【TDengine 版本】
3.4.0.0
【部署方式】容器
【集群节点数】
3
【集群副本数】
1
【遇到的问题:问题现象及影响】
按照官方教程配置集群,启动以第一节点后,进入容器中无法使用taos连接数据库,报错日志如下(从日志看是mnode没有找到,但是官方文档中的说法是首个 dnode 将自动成为集群的 mnode):
03/03 11:03:31.104836 00000085 C STM ERROR stream hb got error:Mnode not found, lastError:Mnode not found, lastErrTs:1772506808437
03/03 11:03:33.336789 00000121 C DND ERROR failed to SendRecv config req with timeout 5000 since Operation timeout
03/03 11:03:33.337193 00000120 C DND ERROR failed to SendRecv status req with timeout 5000 since Operation timeout
03/03 11:03:33.337226 00000120 C DND INFO Rotate mnode ep set since failed to SendRecv status req Operation timeout, epSet:{h64.taosdata.com:6030}, inUse:0
03/03 11:03:34.128291 00000085 C STM ERROR stream hb got error:Mnode not found, lastError:Mnode not found, lastErrTs:1772506808437
03/03 11:03:37.150872 00000085 C STM ERROR stream hb got error:Mnode not found, lastError:Mnode not found, lastErrTs:1772506808437
03/03 11:03:38.387025 00000121 C DND ERROR failed to SendRecv config req with timeout 5000 since Operation timeout
03/03 11:03:38.387487 00000120 C DND ERROR failed to SendRecv status req with timeout 5000 since Operation timeout
03/03 11:03:38.387521 00000120 C DND INFO Rotate mnode ep set since failed to SendRecv status req Operation timeout, epSet:{h64.taosdata.com:6030}, inUse:0
03/03 11:03:40.171379 00000085 C STM ERROR stream hb got error:Mnode not found, lastError:Mnode not found, lastErrTs:1772506808437
03/03 11:03:43.200805 00000085 C STM ERROR stream hb got error:Mnode not found, lastError:Mnode not found, lastErrTs:1772506808437
03/03 11:03:43.437218 00000121 C DND ERROR failed to SendRecv config req with timeout 5000 since Operation timeout
03/03 11:03:43.437765 00000120 C DND ERROR failed to SendRecv status req with timeout 5000 since Operation timeout
03/03 11:03:43.437806 00000120 C DND INFO Rotate mnode ep set since failed to SendRecv status req Operation timeout, epSet:{h64.taosdata.com:6030}, inUse:0
03/03 11:03:45.226296 00000123 C UTL ERROR failed to generate dnode info table since cluster_id is 0
03/03 11:03:45.226335 00000123 C UTL ERROR failed to generate dnode info table since cluster_id is 0
03/03 11:03:45.226345 00000123 C UTL ERROR failed to generate dnode info table since cluster_id is 0
03/03 11:03:46.223961 00000085 C STM ERROR stream hb got error:Mnode not found, lastError:Mnode not found, lastErrTs:1772506808437
只有taosd启动了,其他的组件都没有启动(taosAdapter, taosKeeper ):
该节点的hostname为:h64.taosdata.com
docker启动脚本如下:
taos.cfg配置如下:
【资源配置】
【报错完整截图】(不要大段的粘贴报错代码,论坛直接看报错代码不直观)


