We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述/What happened: lbagent日志中出现了panic导致haproxy重启
[info 2025-03-20 08:00:15 lbagent.(*ApiHelper).doUseCorpus(api.go:419)] make effect new corpus and params panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x23ba4b3] goroutine 358 [running]: yunion.io/x/onecloud/pkg/lbagent/models.(*LoadbalancerCorpus).genHaproxyConfigTcp(0xc001ea59c0?, 0x2d1608c?, 0xc0038f5780, 0x2?) /root/go/src/yunion.io/x/onecloud/pkg/lbagent/models/haproxy.go:554 +0x133 yunion.io/x/onecloud/pkg/lbagent/models.(*LoadbalancerCorpus).GenHaproxyConfigs(0xc000349b80, {0xc0042b09c0, 0x40}, 0xc002b7f710) /root/go/src/yunion.io/x/onecloud/pkg/lbagent/models/haproxy.go:137 +0xdbb yunion.io/x/onecloud/pkg/lbagent.(*HaproxyHelper).handleUseCorpusCmd.func1({0xc0042b09c0, 0x40}) /root/go/src/yunion.io/x/onecloud/pkg/lbagent/haproxy.go:163 +0x2c5 yunion.io/x/onecloud/pkg/lbagent/utils.(*ConfigDirManager).NewDir(0xc000158f4c?, 0xc000158e58) /root/go/src/yunion.io/x/onecloud/pkg/lbagent/utils/configdir.go:68 +0xb1 yunion.io/x/onecloud/pkg/lbagent.(*HaproxyHelper).handleUseCorpusCmd(0xc000279080, {0x3245da0, 0xc0013e1bc0}, 0xc006832420?) /root/go/src/yunion.io/x/onecloud/pkg/lbagent/haproxy.go:143 +0x93 yunion.io/x/onecloud/pkg/lbagent.(*HaproxyHelper).handleCmd(0xc000158f80?, {0x3245da0?, 0xc0013e1bc0?}, 0x0?) /root/go/src/yunion.io/x/onecloud/pkg/lbagent/haproxy.go:99 +0x8e yunion.io/x/onecloud/pkg/lbagent.(*HaproxyHelper).Run(0xc0001a4fd0?, {0x3245da0, 0xc0013e1bc0}) /root/go/src/yunion.io/x/onecloud/pkg/lbagent/haproxy.go:88 +0xd3 created by yunion.io/x/onecloud/pkg/lbagent.StartService /root/go/src/yunion.io/x/onecloud/pkg/lbagent/service.go:115 +0x885
环境/Environment: v3.10.15
cat /etc/os-release
uname -a
dmidecode | egrep -i 'manufacturer|product' |sort -u
kubectl exec -n onecloud $(kubectl get pods -n onecloud | grep climc | awk '{print $1}') -- climc version-list
The text was updated successfully, but these errors were encountered:
swordqiu
No branches or pull requests
问题描述/What happened:
lbagent日志中出现了panic导致haproxy重启
环境/Environment:
v3.10.15
cat /etc/os-release
):uname -a
):dmidecode | egrep -i 'manufacturer|product' |sort -u
)kubectl exec -n onecloud $(kubectl get pods -n onecloud | grep climc | awk '{print $1}') -- climc version-list
):The text was updated successfully, but these errors were encountered: