Skip to content
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

kubesphere不前还不能在Kubernetes v1.26.x下安装吗? #2185

Open
andy5920 opened this issue Mar 26, 2023 · 2 comments
Open

kubesphere不前还不能在Kubernetes v1.26.x下安装吗? #2185

andy5920 opened this issue Mar 26, 2023 · 2 comments

Comments

@andy5920
Copy link

如题

TASK [ks-core/ks-core : KubeSphere | Importing ks-core status] *****************
FAILED - RETRYING: KubeSphere | Importing ks-core status (5 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (4 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (3 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (2 retries left).
FAILED - RETRYING: KubeSphere | Importing ks-core status (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": true, "cmd": "/usr/local/bin/kubectl patch cc ks-installer --type merge -p '{\"status\": {\"core\": {\"status\": \"enabled\", \"enabledTime\": \"2023-03-26T16:46:25CST\"}}}' -n kubesphere-system\n", "delta": "0:00:00.143646", "end": "2023-03-26 16:46:47.617746", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2023-03-26 16:46:47.474100", "stderr": "Error from server (NotFound): clustercidrs.networking.k8s.io \"ks-installer\" not found", "stderr_lines": ["Error from server (NotFound): clustercidrs.networking.k8s.io \"ks-installer\" not found"], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
localhost                  : ok=23   changed=16   unreachable=0    failed=1    skipped=11   rescued=0    ignored=0

也无法完成登录操作

  --> GET /login?referer=/password/confirm 200 7ms 17.73kb 2023/03/26T17:04:56.327
  <-- POST /login 2023/03/26T17:05:01.444
  --> POST /login 302 99ms 65b 2023/03/26T17:05:01.543
  <-- GET /password/confirm 2023/03/26T17:05:01.551
{
  code: 403,
  kind: 'Status',
  apiVersion: 'v1',
  metadata: {},
  status: 'Failure',
  message: 'users.iam.kubesphere.io "admin" is forbidden: User "admin" cannot get resource "users" in API group "iam.kubesphere.io" at the cluster scope',
  reason: 'Forbidden',
  details: { name: 'admin', group: 'iam.kubesphere.io', kind: 'users' },
  statusText: 'Forbidden'
  --> GET /password/confirm 302 28ms 95b 2023/03/26T17:05:01.579
}
  <-- GET /login?referer=/password/confirm 2023/03/26T17:05:01.588
  --> GET /login?referer=/password/confirm 200 8ms 17.73kb 2023/03/26T17:05:01.596
  <-- GET /login?referer=/password/confirm 2023/03/26T17:05:01.620
  --> GET /login?referer=/password/confirm 200 8ms 17.73kb 2023/03/26T17:05:01.627
@kahramanakyil
Copy link

image
image

ks-installer is trying to apply patch using "cc" however it is conflicting with "clustercidrs". Instead of using "cc", is it possible to use "ClusterConfiguration" ?

@andy5920
Copy link
Author

andy5920 commented Mar 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants