secretpad
secretpad copied to clipboard
center模式部署,添加合作节点前端不显示
Hi, 我在使用secretpad v0.7.1b0
我使用secretpad 内的install 脚本,默认部署,everything works fine(内置的alice 和bob节点)
但如果我自己install 一个lite 节点的时候,center 中新增的节点显示可用, 但edge节点的web里,如果想新增合作节点的时候,前端无法选择,但我看貌似后端已经返回了?这导致了我无法新增自定义的合作节点
附响应
listNode json
{
"status": {
"code": 0,
"msg": "success"
},
"data": [
{
"nodeId": "mnuukuqa",
"nodeName": "alice2",
"controlNodeId": "mnuukuqa",
"masterNodeId": null,
"description": null,
"netAddress": "192.168.19.124:21080",
"cert": null,
"certText": null,
"nodeAuthenticationCode": "eyJkc3ROZXRBZGRyZXNzIjoiMTkyLjE2OC4xOS4xMjQ6MjEwODAiLCJkc3ROb2RlSWQiOiJtbnV1a3VxYSIsIm5hbWUiOiJhbGljZTIifQ==",
"token": "3pZSz5dyYP3HwGegKq3LQKjTJKp64mmm",
"tokenStatus": null,
"nodeRole": null,
"nodeStatus": null,
"type": "normal",
"mode": 1,
"gmtCreate": "2024-06-09T06:46:57+08:00",
"gmtModified": "2024-06-09T06:46:57+08:00",
"nodeInstances": null,
"datatables": null,
"nodeRoutes": null,
"resultCount": 0,
"protocol": null
},
{
"nodeId": "alice",
"nodeName": "alice",
"controlNodeId": "alice",
"masterNodeId": "master",
"description": "alice",
"netAddress": "127.0.0.1:28080",
"cert": null,
"certText": null,
"nodeAuthenticationCode": "eyJkc3ROZXRBZGRyZXNzIjoiMTI3LjAuMC4xOjI4MDgwIiwiZHN0Tm9kZUlkIjoiYWxpY2UiLCJtYXN0ZXJOb2RlSWQiOiJtYXN0ZXIiLCJuYW1lIjoiYWxpY2UifQ==",
"token": null,
"tokenStatus": null,
"nodeRole": null,
"nodeStatus": null,
"type": "embedded",
"mode": 1,
"gmtCreate": "2024-06-09T06:42:57+08:00",
"gmtModified": "2024-06-09T06:42:57+08:00",
"nodeInstances": null,
"datatables": null,
"nodeRoutes": null,
"resultCount": null,
"protocol": null
},
{
"nodeId": "bob",
"nodeName": "bob",
"controlNodeId": "bob",
"masterNodeId": "master",
"description": "bob",
"netAddress": "127.0.0.1:38080",
"cert": null,
"certText": null,
"nodeAuthenticationCode": "eyJkc3ROZXRBZGRyZXNzIjoiMTI3LjAuMC4xOjM4MDgwIiwiZHN0Tm9kZUlkIjoiYm9iIiwibWFzdGVyTm9kZUlkIjoibWFzdGVyIiwibmFtZSI6ImJvYiJ9",
"token": null,
"tokenStatus": null,
"nodeRole": null,
"nodeStatus": null,
"type": "embedded",
"mode": 1,
"gmtCreate": "2024-06-09T06:42:57+08:00",
"gmtModified": "2024-06-09T06:42:57+08:00",
"nodeInstances": null,
"datatables": null,
"nodeRoutes": null,
"resultCount": null,
"protocol": null
},
{
"nodeId": "gzosgfaf",
"nodeName": "bob2",
"controlNodeId": "gzosgfaf",
"masterNodeId": null,
"description": null,
"netAddress": "192.168.19.124:31080",
"cert": null,
"certText": null,
"nodeAuthenticationCode": "eyJkc3ROZXRBZGRyZXNzIjoiMTkyLjE2OC4xOS4xMjQ6MzEwODAiLCJkc3ROb2RlSWQiOiJnem9zZ2ZhZiIsIm5hbWUiOiJib2IyIn0=",
"token": "eYlhSmK6RjyeJEPuJ4rD9VTPxa8fdm6v",
"tokenStatus": null,
"nodeRole": null,
"nodeStatus": null,
"type": "normal",
"mode": 1,
"gmtCreate": "2024-06-09T06:55:24+08:00",
"gmtModified": "2024-06-09T06:55:24+08:00",
"nodeInstances": null,
"datatables": null,
"nodeRoutes": null,
"resultCount": null,
"protocol": null
}
]
}
好的,我们将复现并诊断此问题
好的,我们将复现并诊断此问题
hi, 版本信息如下 secretpadImage版本:0.7.1b0 secretflowServingImage版本:0.3.1b0 kusciaImage版本:0.8.0b0 secretflowImage版本:1.6.1b0
update:
我通过在master 节点,手动添加授权的方式,启动任务成功。但lite 节点的pad上,不显示合作节点信息
[root@root-kuscia-master kuscia]# bash scripts/deploy/create_cluster_domain_route.sh mnuukuqa gzosgfaf http://192.168.19.124:31080
clusterdomainroute.kuscia.secretflow/mnuukuqa-gzosgfaf created
[root@root-kuscia-master kuscia]# bash scripts/deploy/create_cluster_domain_route.sh gzosgfaf mnuukuqa http://192.168.19.124:21080
clusterdomainroute.kuscia.secretflow/gzosgfaf-mnuukuqa created
我发现lite 节点的kuscia 没启动起来,不知道是否正常?
2024-06-09 15:20:49.579 ERROR proxy/client.go:319 Decoding response to JSON failed, error : unexpected EOF.
2024-06-09 15:24:49.580 ERROR proxy/client.go:319 Decoding response to JSON failed, error : unexpected EOF.
2024-06-09 15:27:24.109 ERROR proxy/client.go:319 Decoding response to JSON failed, error : unexpected EOF.