连接阿里云 ACK Pro版 1.24.6-aliyun.1 使用问题

  • Choerodon平台版本:1.0.0

  • 运行环境:阿里云 ACK Pro版 1.24.6-aliyun.1

  • 问题描述:

    创建配置映射,一直不成功。choerodon-cluster-agent 有报错信息。连部署应用也是不行的

I0406 17:05:53.874896 7 operations.go:378] fatal: ambiguous argument ‘agent-sync’: unknown revision or path not in the working tree.
goroutine 867 [running]:
github.com/choerodon/choerodon-cluster-agent/pkg/git.refRevision(0x1ff7d60, 0xc000054028, 0xc00062c180, 0x1f, 0x1cf22ae, 0xa, 0x1, 0x1cf22ae, 0xa, 0x1cf0a9f)
/go/src/github.com/choerodon/choerodon-cluster-agent/pkg/git/operations.go:375 +0x37c
github.com/choerodon/choerodon-cluster-agent/pkg/git.(*Checkout).SyncRevision(…)
/go/src/github.com/choerodon/choerodon-cluster-agent/pkg/git/working.go:143
github.com/choerodon/choerodon-cluster-agent/pkg/gitops.(*GitOps).doSync(0xc00062e240, 0xc000797180, 0x19, 0x0, 0x0)
/go/src/github.com/choerodon/choerodon-cluster-agent/pkg/gitops/gitops_sync.go:125 +0x374
github.com/choerodon/choerodon-cluster-agent/pkg/gitops.(*GitOps).syncLoop(0xc00062e240, 0xc001156cc0, 0xc000797180, 0x19, 0xc001156ea0, 0xc0007fa810)
/go/src/github.com/choerodon/choerodon-cluster-agent/pkg/gitops/gitops_sync.go:91 +0x2e8
created by github.com/choerodon/choerodon-cluster-agent/pkg/gitops.(*GitOps).listenEnvs
/go/src/github.com/choerodon/choerodon-cluster-agent/pkg/gitops/gitops.go:92 +0x5dd

E0406 17:05:54.138594 7 gitops_sync.go:205] label of object error %!(EXTRA *errors.errorString=build unstructured: unable to recognize “”: no matches for kind “C7NHelmRelease” in version “choerodon.io/v1alpha1”)
E0406 17:05:54.149014 7 gitops_sync.go:225] sync: exporting resource defs from cluster: no matches for kind “C7NHelmRelease” in version “choerodon.io/v1alpha1
E0406 17:05:54.149815 7 gitops_sync.go:92] p-ali-v1 do sync: exporting resource defs from cluster: no matches for kind “C7NHelmRelease” in version “choerodon.io/v1alpha1

  • 执行的操作:
    如:创建了一个新用户并给用户分配了项目管理员权限,使用该用户登录系统

  • 报错信息(请尽量使用代码块或系统截图的形式展现):

  • 建议:

    提出您认为不合理的地方,帮助我们优化用户操作