Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7.0.0-beta1疑似心跳上报bug #1888

Open
idcdog opened this issue Mar 15, 2024 · 2 comments
Open

v7.0.0-beta1疑似心跳上报bug #1888

idcdog opened this issue Mar 15, 2024 · 2 comments

Comments

@idcdog
Copy link
Contributor

idcdog commented Mar 15, 2024

Your config.toml

-

Relevant logs

-

System info

v7.0.0-beta.1

Steps to reproduce

版本:v7.0.0-beta.1-ee613616caa5ada2813e83d8b03dd0d7b67c606a
架构: 中心机房 -- 边缘机房, n9e和n9e-edge的版本都是 v7.0.0-beta.1
现象:
n9e-edge日志中每隔几分钟就报错
2024-03-15 14:44:57.939069 ERROR idents/idents.go:100 failed to update targets:[x.x.x.x] update_ts: redis is nil
其中x.x.x.x是所有上报数据到n9e-edge的相关机器ip
只有部署了n9e-edge边缘机房有这个报错, 中心机房没有这个报错
排查:
尝试重启过n9e-edge, 也尝试重启过中心机房的n9e, 检查过中心机房的redis服务正常, 之前没有这个报错(至少beta 0没有见过这个错误)

目前影响:目前除了有日志打印报错外, 未发现其他影响,边缘机房节点的心跳上报也是正常的

Expected behavior

Actual behavior

Additional info

No response

@penggk
Copy link

penggk commented Mar 28, 2024

解决了吗?

@710leo
Copy link
Member

710leo commented Apr 3, 2024

最新版本的 edge 也依赖了 redis,主要是进行机器失联告警时会用到,可以在 edge.toml 中增加下 redis 的配置,然后部署一个 redis 实例

[Redis]
# address, ip:port or ip1:port,ip2:port for cluster and sentinel(SentinelAddrs)
Address = "127.0.0.1:6379"
# Username = ""
# Password = ""
# DB = 0
# UseTLS = false
# TLSMinVersion = "1.2"
# standalone cluster sentinel
RedisType = "standalone"
# Mastername for sentinel type
# MasterName = "mymaster"
# SentinelUsername = ""
# SentinelPassword = ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants