-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
kubefate cluster install -f 报错,返回码500,提示失败,可以给指点一下吗 #5632
Comments
在cluster.yaml文件已经修改了自己的私有仓库地址:registry: "192.168.0.10:32182/fate" |
describe job 的日志如下: |
以下是报错信息
root@k01:/opt/fate/v2.0.0/kubefate# kubefate cluster install -f examples/party-9999/cluster.yaml
2024-06-25T02:17:03Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/cluster_cli.go:130 > install flag file=examples/party-9999/cluster.yaml
2024-06-25T02:17:03Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/cluster_cli.go:132 > install flag cover=false
2024-06-25T02:17:03Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/cluster_cli.go:138 > ReadFile Success yaml="name: fate-9999\nnamespace: fate-9999\nchartName: fate\n chartVersion: v2.0.0\npartyId: 9999\nregistry: "192.168.0.10:32182/fate"\npullPolicy:\nimagePullSecrets: \n- name: myregistrykey\npersistence: false\nistio:\n enabled: false\ npodSecurityPolicy:\n enabled: false\ningressClassName: nginx\nmodules:\n - rollsite\n - clustermanager\n - nodemanager\n - mysql\n - python\n - fateboard\n - client\n\n computing: Eggroll\nfederation: Eggroll\nstorage: Eggroll\nalgorithm: Basic\ndevice: CPU\n\ningress:\n fateboard:\n hosts:\n - name: party9999.fateboard.example.com\n cl ient: \n hosts:\n - name: party9999.notebook.example.com\n\nrollsite:\n type: NodePort\n nodePort: 30091\n partyList:\n - partyId: 10000\n partyIp: 192.168.0.1 1\n partyPort: 30101\n\npython:\n type: NodePort\n httpNodePort: 30097\n grpcNodePort: 30092\n logLevel: INFO\n\nservingIp: 192.168.0.11\nservingPort: 30095\n"
2024-06-25T02:17:03Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/requst.go:115 > Request Body= Type=GET url=http://example.com:31763/v1/chart/valueTemplateExample/fa te/v2.0.0
2024-06-25T02:17:03Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/requst.go:87 > get token Success token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTkyODM2MjMs ImlkIjoiYWRtaW4iLCJvcmlnX2lhdCI6MTcxOTI4MTgyM30.qAe0YaD9zL0Il-_E3vemu4ERXcVwgBACeeYSjD9rHyI
2024-06-25T02:17:16Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/api.go:172 > rep.Code rep.Code=500
failed to download "kubefate/fate" at version "v2.0.0"
2024-06-25T02:17:16Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/cluster_cli.go:176 > Skipped Error validation="get value template example failed\n failed to download "kubefate/version "v2.0.0""
2024-06-25T02:17:16Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/cluster_cli.go:176 > Skipped Error validation="template or test yaml is empty"
2024-06-25T02:17:16Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/requst.go:115 > Request Body="{"name":"fate-9999","namespace":"fate-9999","chart_name":"fate","chart:"v2.0.0","cover":false,"data":"eyJhbGdvcml0aG0iOiJCYXNpYyIsImNoYXJ0TmFtZSI6ImZhdGUiLCJjaGFydFZlcnNpb24iOiJ2Mi4wLjAiLCJjb21wdXRpbmciOiJFZ2dyb2xsIiwiZGV2aWNlIjoiQ1BVIiwiZmVkZXJhdGlvbiIGwiLCJpbWFnZVB1bGxTZWNyZXRzIjpbeyJuYW1lIjoibXlyZWdpc3RyeWtleSJ9XSwiaW5ncmVzcyI6eyJjbGllbnQiOnsiaG9zdHMiOlt7Im5hbWUiOiJwYXJ0eTk5OTkubm90ZWJvb2suZXhhbXBsZS5jb20ifV19LCJmYXRlYm9hcmQiOnsiaG9zdHMWUiOiJwYXJ0eTk5OTkuZmF0ZWJvYXJkLmV4YW1wbGUuY29tIn1dfX0sImluZ3Jlc3NDbGFzc05hbWUiOiJuZ2lueCIsImlzdGlvIjp7ImVuYWJsZWQiOmZhbHNlfSwibW9kdWxlcyI6WyJyb2xsc2l0ZSIsImNsdXN0ZXJtYW5hZ2VyIiwibm9kZW1hbmFXNxbCIsInB5dGhvbiIsImZhdGVib2FyZCIsImNsaWVudCJdLCJuYW1lIjoiZmF0ZS05OTk5IiwibmFtZXNwYWNlIjoiZmF0ZS05OTk5IiwicGFydHlJZCI6OTk5OSwicGVyc2lzdGVuY2UiOmZhbHNlLCJwb2RTZWN1cml0eVBvbGljeSI6eyJlbmFibGVX0sInB1bGxQb2xpY3kiOm51bGwsInB5dGhvbiI6eyJncnBjTm9kZVBvcnQiOjMwMDkyLCJodHRwTm9kZVBvcnQiOjMwMDk3LCJsb2dMZXZlbCI6IklORk8iLCJ0eXBlIjoiTm9kZVBvcnQifSwicmVnaXN0cnkiOiIxOTIuMTY4LjAuMTA6MzIxODIvZmFGxzaXRlIjp7Im5vZGVQb3J0IjozMDA5MSwicGFydHlMaXN0IjpbeyJwYXJ0eUlkIjoxMDAwMCwicGFydHlJcCI6IjE5Mi4xNjguMC4xMSIsInBhcnR5UG9ydCI6MzAxMDF9XSwidHlwZSI6Ik5vZGVQb3J0In0sInNlcnZpbmdJcCI6IjE5Mi4xNjguMC4nZpbmdQb3J0IjozMDA5NSwic3RvcmFnZSI6IkVnZ3JvbGwifQ==","Keep_upgrade_job":false}" Type=POST url=http://example.com:31763/v1/cluster/
2024-06-25T02:17:17Z DBG ../../../../home/vmware/KubeFATE/k8s-deploy/pkg/cli/requst.go:87 > get token Success token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTkyODM2MzcsImlkIjoiYWRtanX2lhdCI6MTcxOTI4MTgzN30.r_3-RPLZ8JBlT4Ci03c9X-nTgWMv9lU-3y9-e4pomMA
create job Success, job id=4f8e1167-86fa-4710-b013-2b7bba3c20b2
The text was updated successfully, but these errors were encountered: