Kubernetes版本信息,v1.19.8。多master多node部署
KubeSphere版本信息,v3.0.0。
安装完成后开启devops报错如下:
`**************************************************
task monitoring status is successful
task multicluster status is successful
task alerting status is successful
task auditing status is successful
task devops status is failed
task events status is successful
task logging status is successful
task notification status is successful
task openpitrix status is successful
task servicemesh status is successful
total: 10 completed:10
Task ‘devops’ failed:
{
“counter”: 63,
“created”: “2021-03-18T08:28:22.826968”,
“end_line”: 63,
“event”: “runner_on_failed”,
“event_data”: {
“duration”: 2.314846,
“end”: “2021-03-18T08:28:22.825882”,
“event_loop”: null,
“host”: “localhost”,
“ignore_errors”: null,
“play”: “localhost”,
“play_pattern”: “localhost”,
“play_uuid”: “1a80e918-3854-5be1-76e5-000000000005”,
“playbook”: “/kubesphere/playbooks/devops.yaml”,
“playbook_uuid”: “07e4cae2-44e6-4e95-89db-643cdce6d676”,
“remote_addr”: “127.0.0.1”,
“res”: {
“ansible_no_log”: false,
“changed”: true,
“cmd”: “/bin/bash /kubesphere/kubesphere/s2i/certs.sh –service webhook-server-service –namespace kubesphere-devops-system –secret webhook-server-secret \n”,
“delta”: “0:00:01.732274”,
“end”: “2021-03-18 16:28:22.760575”,
“invocation”: {
“module_args”: {
“raw_params”: “/bin/bash /kubesphere/kubesphere/s2i/certs.sh –service webhook-server-service –namespace kubesphere-devops-system –secret webhook-server-secret \n”,
“_uses_shell”: true,
“argv”: null,
“chdir”: null,
“creates”: null,
“executable”: null,
“removes”: null,
“stdin”: null,
“stdin_add_newline”: true,
“strip_empty_ends”: true,
“warn”: true
}
},
“msg”: “non-zero return code”,
“rc”: 1,
“start”: “2021-03-18 16:28:21.028301”,
“stderr”: "Generating RSA private key, 2048 bit long modulus (2 primes)\n……+++++\n……………+++++\ne is 65537 (0×010001)\nerror: no kind \“CertificateSigningRequest\” is registered for version \“certificates.k8s.io/v1\” in scheme \“k8s.io/kubectl/pkg/scheme/scheme.go:28\”",
“stderr_lines”: [
“Generating RSA private key, 2048 bit long modulus (2 primes)”,
“……+++++”,
“……………+++++”,
“e is 65537 (0×010001)”,
"error: no kind \“CertificateSigningRequest\” is registered for version \“certificates.k8s.io/v1\” in scheme \“k8s.io/kubectl/pkg/scheme/scheme.go:28\”"
],
“stdout”: "creating certs in tmpdir /tmp/tmp.PLLpkD \ncertificatesigningrequest.certificates.k8s.io \“webhook-server-service.kubesphere-devops-system\” deleted\ncertificatesigningrequest.certificates.k8s.io/webhook-server-service.kubesphere-devops-system created\nNAME AGE SIGNERNAME REQUESTOR CONDITION\nwebhook-server-service.kubesphere-devops-system <invalid> kubernetes.io/legacy-unknown system:serviceaccount:kubesphere-system:ks-installer Pending\nNo resources found",
“stdout_lines”: [
“creating certs in tmpdir /tmp/tmp.PLLpkD ”,
"certificatesigningrequest.certificates.k8s.io \“webhook-server-service.kubesphere-devops-system\” deleted",
“certificatesigningrequest.certificates.k8s.io/webhook-server-service.kubesphere-devops-system created”,
“NAME AGE SIGNERNAME REQUESTOR CONDITION”,
“webhook-server-service.kubesphere-devops-system <invalid> kubernetes.io/legacy-unknown system:serviceaccount:kubesphere-system:ks-installer Pending”,
“No resources found”
]
},
“role”: “ks-devops/s2i”,
“start”: “2021-03-18T08:28:20.511036”,
“task”: “S2I | Creating S2I secret(2)”,
“task_action”: “command”,
“task_args”: "",
“task_path”: “/kubesphere/installer/roles/ks-devops/s2i/tasks/main.yaml:25”,
“task_uuid”: “1a80e918-3854-5be1-76e5-00000000002c”,
“uuid”: “868929e7-4ec9-470c-87f4-76cc982fcb80”
},
“parent_uuid”: “1a80e918-3854-5be1-76e5-00000000002c”,
“pid”: 119985,
“runner_ident”: “devops”,
“start_line”: 62,
“stdout”: "fatal: [localhost]: FAILED! => {\“changed\”: true, \“cmd\”: \“/bin/bash /kubesphere/kubesphere/s2i/certs.sh –service webhook-server-service –namespace kubesphere-devops-system –secret webhook-server-secret \n\”, \“delta\”: \“0:00:01.732274\”, \“end\”: \“2021-03-18 16:28:22.760575\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2021-03-18 16:28:21.028301\”, \“stderr\”: \"Generating RSA private key, 2048 bit long modulus (2 primes)\n……+++++\n……………+++++\ne is 65537 (0×010001)\nerror: no kind \\“CertificateSigningRequest\\” is registered for version \\“certificates.k8s.io/v1\\” in scheme \\“k8s.io/kubectl/pkg/scheme/scheme.go:28\\”\", \“stderr_lines\”: [\“Generating RSA private key, 2048 bit long modulus (2 primes)\”, \“……+++++\”, \“……………+++++\”, \“e is 65537 (0×010001)\”, \"error: no kind \\“CertificateSigningRequest\\” is registered for version \\“certificates.k8s.io/v1\\” in scheme \\“k8s.io/kubectl/pkg/scheme/scheme.go:28\\”\"], \“stdout\”: \"creating certs in tmpdir /tmp/tmp.PLLpkD \ncertificatesigningrequest.certificates.k8s.io \\“webhook-server-service.kubesphere-devops-system\\” deleted\ncertificatesigningrequest.certificates.k8s.io/webhook-server-service.kubesphere-devops-system created\nNAME AGE SIGNERNAME REQUESTOR CONDITION\nwebhook-server-service.kubesphere-devops-system <invalid> kubernetes.io/legacy-unknown system:serviceaccount:kubesphere-system:ks-installer Pending\nNo resources found\", \“stdout_lines\”: [\“creating certs in tmpdir /tmp/tmp.PLLpkD \”, \"certificatesigningrequest.certificates.k8s.io \\“webhook-server-service.kubesphere-devops-system\\” deleted\", \“certificatesigningrequest.certificates.k8s.io/webhook-server-service.kubesphere-devops-system created\”, \“NAME AGE SIGNERNAME REQUESTOR CONDITION\”, \“webhook-server-service.kubesphere-devops-system <invalid> kubernetes.io/legacy-unknown system:serviceaccount:kubesphere-system:ks-installer Pending\”, \“No resources found\”]}",
“uuid”: “868929e7-4ec9-470c-87f4-76cc982fcb80”`