choerodonv0.25在环境配置菜单栏创建环境时报项目同步失败,无法在该项目下创建应用或环境

choerodonv0.25在环境配置菜单栏创建环境时报错,项目同步失败,无法在该项目下创建应用或环境.

然后查看后台日志,也没有明细的报错信息,查看pod状态,但是有几个pod一直是Completed状态
错误如下:
项目同步失败,无法在该项目下创建应用或者环境,这个怎么解决,请指教.

[root@c7n-01 ~]# kubectl get pod -A |grep Completed
c7n-system agile-service-init-db-fpjq7 0/1 Completed 0 3d7h
c7n-system code-repo-service-init-db-rtssb 0/1 Completed 0 3d7h
c7n-system devops-service-init-db-774kl 0/1 Completed 0 3d7h
c7n-system gitlab-gitlab-core-backup-scheduled-1622221200-fzm82 0/1 Completed 0 2d15h
c7n-system gitlab-gitlab-core-backup-scheduled-1622307600-9pc2q 0/1 Completed 0 39h
c7n-system gitlab-gitlab-core-backup-scheduled-1622394000-9sf9l 0/1 Completed 0 15h
c7n-system knowledgebase-service-init-db-tbcwk 0/1 Completed 0 3d7h
c7n-system prod-repo-service-init-db-gjdm4 0/1 Completed 0 3d7h
c7n-system test-manager-service-init-db-rsfm8 0/1 Completed 0 3d7h
c7n-system workflow-service-init-db-6gv4d 0/1 Completed 0 3d7h

去平台层看下创建项目的事务实例有没有成功。

你好,我的猪齿鱼版本是v0.25开源版本的,没有事务实例这个,但是有这个。

我在集群管理中连接k8s集群时,都是正常的,不知道这里的报错是什么错误》
这个是目前的服务状态.

[root@c7n-01 ~]# kubectl -n c7n-system get pod
NAME READY STATUS RESTARTS AGE
agile-service-64d9bfd86c-mxnwk 1/1 Running 0 3d7h
agile-service-init-db-fpjq7 0/1 Completed 0 3d7h
c7n-mysql-b6cf4dd65-f4hxx 1/1 Running 0 4d
c7n-redis-85f6b586bb-m88fp 1/1 Running 0 4d
c7n-slaver-26kdz 1/1 Running 0 4d
c7n-slaver-k4z6z 1/1 Running 0 4d
c7n-slaver-m7s6p 1/1 Running 0 4d
c7n-slaver-txnwt 1/1 Running 0 4d
chartmuseum-chartmuseum-6b65fdfb4-2l9p2 1/1 Running 0 4d
choerodon-admin-7fffd878d4-kslzh 1/1 Running 0 3d23h
choerodon-asgard-6dd68b77db-c96b8 1/1 Running 0 3d23h
choerodon-file-9fbdf46c6-l7zwg 1/1 Running 0 3d23h
choerodon-front-65f6c4b64d-ljqhw 1/1 Running 0 3d7h
choerodon-front-hzero-7b4868dbbf-v45tv 1/1 Running 0 3d7h
choerodon-gateway-7bcc786db-w7fn4 1/1 Running 0 3d23h
choerodon-iam-559ffcff95-99dpf 1/1 Running 0 3d22h
choerodon-message-686974f6b9-n9r9q 1/1 Running 0 3d7h
choerodon-monitor-645c8594f7-8b9dw 1/1 Running 0 3d23h
choerodon-oauth-686dc75c6f-g7hm7 1/1 Running 0 3d23h
choerodon-platform-d5d7f498d-s6zdw 1/1 Running 0 3d23h
choerodon-register-0 1/1 Running 0 4d
choerodon-swagger-74cb846df5-9b9hh 1/1 Running 0 3d23h
code-repo-service-74c46ddcc4-9dgrg 1/1 Running 0 3d7h
code-repo-service-init-db-rtssb 0/1 Completed 0 3d7h
devops-service-84c8664757-jznp7 1/1 Running 0 3d7h
devops-service-init-db-774kl 0/1 Completed 0 3d7h
elasticsearch-kb-845f88d6b-k8wrf 1/1 Running 0 4d
gitlab-gitlab-core-0 1/1 Running 0 4d
gitlab-gitlab-core-backup-scheduled-1622221200-fzm82 0/1 Completed 0 2d15h
gitlab-gitlab-core-backup-scheduled-1622307600-9pc2q 0/1 Completed 0 39h
gitlab-gitlab-core-backup-scheduled-1622394000-9sf9l 0/1 Completed 0 15h
gitlab-gitlab-database-0 1/1 Running 0 4d
gitlab-gitlab-redis-0 1/1 Running 0 4d
gitlab-runner-76df69c5b4-csjmr 1/1 Running 0 3d6h
gitlab-service-57c588b8c9-qkz6v 1/1 Running 0 3d7h
harbor-harbor-core-746d9bf958-tpxpk 1/1 Running 1 4d
harbor-harbor-database-0 1/1 Running 0 4d
harbor-harbor-jobservice-6d774f7ccd-h2b54 1/1 Running 4 4d
harbor-harbor-portal-df59cbf8d-9gtzc 1/1 Running 0 4d
harbor-harbor-redis-0 1/1 Running 0 4d
harbor-harbor-registry-597c6f7bd8-44nks 2/2 Running 0 4d
harbor-harbor-trivy-0 0/1 Pending 0 4d
knowledgebase-service-6fc558c8b-kjhqg 1/1 Running 0 3d7h
knowledgebase-service-init-db-tbcwk 0/1 Completed 0 3d7h
minio-0 1/1 Running 0 4d
minio-1 1/1 Running 0 4d
minio-2 1/1 Running 0 4d
minio-3 1/1 Running 0 4d
prod-repo-service-578588497-kvnqp 1/1 Running 0 3d7h
prod-repo-service-init-db-gjdm4 0/1 Completed 0 3d7h
sonarqube-postgresql-569f548fc8-9npdd 1/1 Running 0 3d23h
sonarqube-sonarqube-d4db69bd4-4j45x 1/1 Running 0 3d23h
sonatype-nexus-54bfb9d768-9sbzr 1/1 Running 0 4d
test-manager-service-578b99cf8-8rdk4 1/1 Running 0 3d7h
test-manager-service-init-db-rsfm8 0/1 Completed 0 3d7h
workflow-service-774dcd9679-9f9z5 1/1 Running 0 3d7h
workflow-service-init-db-6gv4d 0/1 Completed 0 3d7h
[root@c7n-01 ~]#

平台层是有的

目前创建运维项目类型,创建环境确实会存在问题,这个我们会尽快修复。目前的解决方式,可以为项目添加Devops流程项目类型解决。

谢谢你,我看到了,这一块没有报错信息

这个集群安装失败的原因,你可以在部署>集群管理的集群列表上看到

这个连接集群都是没有问题的


我试试换成devops的试试.