-
Choerodon平台版本:0.13.0
-
运行环境:自主搭建
-
问题描述:
集群管理->创建集群 成功,环境流水线-> 创建环境 失败
-
执行的操作:
-
报错信息(请尽量使用代码块的形式展现):
[root@node4 ~]# kubectl logs choerodon-cluster-agent-devops-test-688c7d5cc9-k74jn -n choerodon
I0218 15:18:57.782614 8 agent.go:123] KubeClient init success.
I0218 15:18:57.782647 8 agent.go:125] Starting connect to tiller…
I0218 15:18:57.782849 8 agent.go:127] Tiller connect success
I0218 15:18:57.782856 8 agent.go:287] check k8s role binding…
I0218 15:18:57.854666 8 agent.go:293] k8s role binding succeed.
I0218 15:18:57.854715 8 agent.go:208] kubectl /usr/local/bin/kubectl
I0218 15:18:57.854758 8 client.go:79] Started agent
I0218 15:18:59.143071 8 sync.go:178] kubectl apply -f - , took 1.288311903s, err: , output: customresourcedefinition “c7nhelmreleases.choerodon.io” configured
I0218 15:18:59.143153 8 worker.go:143] get command: cluster:1/init_agent
I0218 15:18:59.143171 8 worker.go:143] get command: inter:inter/upgrade_cluster
I0218 15:18:59.143352 8 controller.go:108] Starting controllers for envs []
I0218 15:18:59.143393 8 client.go:173] send response key cluster:1, type init_agent_succeed
I0218 15:18:59.143725 8 controller_utils.go:1019] Waiting for caches to sync for endpoint controller
I0218 15:18:59.243855 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:18:59.244037 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:18:59.244067 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:18:59.244161 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:18:59.246993 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:18:59.336614 8 upgrade.go:24] cluster agent upgrade: {“token”:“817a809a-9952-4d5a-8705-92403cabfee8”,“platformCode”:“df6ab661”}
I0218 15:18:59.336635 8 client.go:173] send response key inter:inter, type cert_manager_info
I0218 15:18:59.336668 8 client.go:173] send response key inter:inter, type upgrade
I0218 15:18:59.340444 8 worker.go:143] get command: cluster:1.release:choerodon-cert-manager/helm_install_release
I0218 15:18:59.343772 8 controller_utils.go:1026] Caches are synced for endpoint controller
I0218 15:18:59.343926 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:18:59.344032 8 client.go:173] send response key env:choerodon-test, type resource_sync
E0218 15:19:04.623939 8 error.go:19] load chart: find chart: chart “cert-manager” version “0.1.0” not found in https://openchart.choerodon.com.cn/choerodon/infra/ repository
I0218 15:19:04.623985 8 client.go:173] send response key cluster:1.release:choerodon-cert-manager.commit:, type helm_release_install_failed
I0218 15:19:05.243808 8 client.go:173] send response key none:none, type namespace_update
I0218 15:20:04.596839 8 worker.go:143] get command: cluster:1/create_env
I0218 15:20:04.609087 8 controller.go:108] Starting controllers for envs [choerodon-test ht-dev]
I0218 15:20:04.609464 8 controller_utils.go:1019] Waiting for caches to sync for endpoint controller
I0218 15:20:04.709641 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:20:04.709680 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:20:04.709701 8 client.go:173] send response key env:ht-dev, type resource_sync
I0218 15:20:04.709717 8 client.go:173] send response key env:ht-dev, type resource_sync
I0218 15:20:04.809782 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:20:04.809907 8 client.go:173] send response key env:ht-dev, type resource_sync
I0218 15:20:04.809956 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:20:04.809997 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:20:04.810003 8 controller_utils.go:1026] Caches are synced for endpoint controller
I0218 15:20:04.810034 8 client.go:173] send response key env:ht-dev, type resource_sync
I0218 15:20:04.810073 8 client.go:173] send response key env:ht-dev, type resource_sync
I0218 15:20:04.810112 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:20:04.810157 8 client.go:173] send response key env:ht-dev, type resource_sync
I0218 15:20:04.812693 8 client.go:173] send response key env:choerodon-test, type resource_sync
I0218 15:20:04.812785 8 client.go:173] send response key env:ht-dev, type resource_sync
I0218 15:20:10.712702 8 client.go:173] send response key none:none, type namespace_update
I0218 15:20:14.609498 8 client.go:173] send response key cluster:1, type env_create_succeed
E0218 15:20:14.609554 8 daemon.go:94] ht-dev do sync: git repo not ready
E0218 15:20:14.789818 8 repo.go:245] env: ht-dev repo new: git clone --mirror: fatal: Could not read from remote repository.
E0218 15:20:24.914749 8 repo.go:245] env: ht-dev repo new: git clone --mirror: fatal: Could not read from remote repository.
E0218 15:20:35.018206 8 repo.go:245] env: ht-dev repo new: git clone --mirror: fatal: Could not read from remote repository. -
建议: