ks-devops: Failed to create pipeline and credential in a multi-cluster environment

Environment

host 3.1 + member 3.1 http://139.198.9.112:30883

How To Reproduce Steps to reproduce the behavior:

  1. Go to workspace ‘ws3’
  2. Go to devops project ‘dev3-1’
  3. Create credential and pipeline

Expected behavior Pipeline and credential created successfully

Actual behavior Failed to create pipeline and credential image image image

/priority high /area devops /cc @kubesphere/sig-devops /kind bug /milestone 3.1.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

issue fixed in nightly-20211011

UsernameNotFOundException:在目录中找不到用户。

解决方法:使用以下命令更改启用 DevOps 的集群中的用户密码。此操作将触发用户控制器将数据同步到 OpenLDAP。

kubectl patch users <USERNAME> -p '{"spec":{"password":"<PASSWORD>"}}' --type='merge' && kubectl annotate users <USERNAME> iam.kubesphere.io/password-encrypted-
```并无效果,更改用户密码重新登录,回到devops,还是报一样的错!