eip-work/kuboard-press

启动kuboard失败

dongliangde opened this issue · 1 comments

`
生成 KUBOARD_SSO_CLIENT_SECRET: 731771d02b48b68982c8922b
设置 KuboardAdmin 的默认密码(仅第一次启动时设置) Kuboard123
KUBOARD_ENDPOINT http://192.168.2.111:30080
eyJhbGciOiJSUzI1NiIsImtpZCI6ImlORG1qalRRc1RHR1FiWWI5VEU2TWp6Z0RJUXBnNzJJMlJKN1lCUmZvSUUifQ.eyJhdWQiOlsiaHR0cHM6Ly9rdWJlcm5ldGVzLmRlZmF1bHQuc3ZjLmNsdXN0ZXIubG9jYWwiXSwiZXhwIjoxNzM3NjAxMjY0LCJpYXQiOjE3MDYwNjUyNjQsImlzcyI6Imh0dHBzOi8va3ViZXJuZXRlcy5kZWZhdWx0LnN2Yy5jbHVzdGVyLmxvY2FsIiwia3ViZXJuZXRlcy5pbyI6eyJuYW1lc3BhY2UiOiJrdWJvYXJkIiwicG9kIjp7Im5hbWUiOiJrdWJvYXJkLXYzLTdmODk2ZGI3NzkteGgyNDciLCJ1aWQiOiI3Yjc0MGJlNC03OWY4LTQ5ZTItYjUzNC0wMGNkMzc3MTE4MDIifSwic2VydmljZWFjY291bnQiOnsibmFtZSI6Imt1Ym9hcmQtYm9vc3RyYXAiLCJ1aWQiOiIzNTU0MTllYy00MGE0LTRkYjktODhjMC05ZWU3NGQ1MmIwMDcifSwid2FybmFmdGVyIjoxNzA2MDY4ODcxfSwibmJmIjoxNzA2MDY1MjY0LCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6a3Vib2FyZDprdWJvYXJkLWJvb3N0cmFwIn0.ZwPi5JqIijRGy9WDPnha0BMA2YkL8VQ87Uwn6z4nJgXlrq_CbdJDBQs8phR0ey4OzwgSUQTGWpHrWI8kFGwiuFpUBOZ2gSkcS3ti-r5LGd2VNqBrveiJZU6JLY4LAlPaITtdYGbe0fL75PRG0XCePlxOApieGY1002I_j2BnJcxxeNneJpw73zAdV0tlM5hvzj5jl0o-cLNPM_bcgv0B5s6oD06amyWfFYFmJYUw-ahTmDVFru6N28TEksb5D4240FGzdoXsonp6Pgu9ZCSgCRpF5A4ZnI-el4kBh8aLg7pv-9pbx9Zfs0vRiTaysWQ5rdS28X7qzFDX2VpQCykB7Q
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 114 100 114 0 0 18908 0 --:--:-- --:--:-- --:--:-- 19000
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 114 100 114 0 0 19460 0 --:--:-- --:--:-- --:--:-- 22800
[{
"kind": "NodeList",
"apiVersion": "v1",
"metadata": {
"resourceVersion": "139471"
},
"items": []
},{
"kind": "NodeList",
"apiVersion": "v1",
"metadata": {
"resourceVersion": "139471"
},
"items": []
}]

start kuboard-agent-server
当前 Kuboard 在 K8S 中运行,etcd 独立部署
启动内置的 QuestDB


/ _ \ _ _ ___ | || _ | __ )
| | | | | | |/ _ / __| __| | | | _
| |
| | |
| | /_ \ || || | |) |
_
_\
,_|_||/_|/|_/
www.questdb.io

/questdb/bin/questdb.sh: line 66: ps: command not found
JAVA: /questdb/bin/java
QuestDB server 6.0.4
Copyright (C) 2014-2024, all rights reserved.

认证模块:使用本地用户库
启动 kuboard-sso
设置日志级别为 info
time="2024-01-24T03:03:03Z" level=info msg="config using log level: info"
time="2024-01-24T03:03:03Z" level=info msg="config issuer: http://192.168.2.111:30080/sso"
time="2024-01-24T03:03:03Z" level=info msg="config storage: etcd"
time="2024-01-24T03:03:03Z" level=info msg="config static client: KuboardApp"
time="2024-01-24T03:03:03Z" level=info msg="config connector: default"
time="2024-01-24T03:03:03Z" level=info msg="config skipping approval screen"
time="2024-01-24T03:03:03Z" level=info msg="config signing keys expire after: 6h0m0s"
time="2024-01-24T03:03:03Z" level=info msg="config id tokens valid for: 168h0m0s"
time="2024-01-24T03:03:03Z" level=info msg="config device requests valid for: 5m0s"
设置日志级别为 info
[LOG] 2024/01/24 - 11:03:06.618 | /common/etcd.client_config 24 | info | KUBOARD_ETCD_ENDPOINTS=[]
[LOG] 2024/01/24 - 11:03:06.618 | /common/etcd.client_config 52 | info | {[] 0s 1s 0s 0s 0 0 false [] false}
[LOG] 2024/01/24 - 11:03:06.618 | /initializekuboard.InitializeEtcd 39 | info | 初始化 ./init-etcd-scripts/audit-policy-once.yaml
{"level":"warn","ts":"2024-01-24T11:03:08.592+0800","caller":"clientv3/retry_interceptor.go:61","msg":"retrying of unary invoker failed","target":"endpoint://client-0d58bb30-1049-41f6-b6a2-4186a08ad39a/","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: missing address""}
failed to initialize server: server: failed to list connector objects from storage: context deadline exceeded
`

KUBOARD_SERVER_NODE_PORT注释了,添加KUBOARD_ENDPOINT: http://example.com