task devops status is failed (⅞)
task monitoring status is failed (8/8)
**************************************************
Collecting installation results …
Task ‘devops’ failed:
******************************************************************************************************************************************************
{
“counter”: 128,
“created”: “2022-05-30T16:26:44.014530”,
“end_line”: 158,
“event”: “runner_on_failed”,
“event_data”: {
"duration": 69.003384,
"end": "2022-05-30T16:26:44.014143",
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "a2b4d270-c177-7713-3508-000000000005",
"playbook": "/kubesphere/playbooks/devops.yaml",
"playbook_uuid": "4c7abf4e-fabf-4a6f-8410-d39574131f6f",
"remote_addr": "127.0.0.1",
"res": {
"_ansible_no_log": false,
"attempts": 3,
"changed": true,
"cmd": "# Delete Job migrate because 'helm upgrade' will try to update immutable fields of Job, which is not allowed. \\n/usr/local/bin/kubectl delete job -n kubesphere-devops-system migrate --ignore-not-found\\n\\n/usr/local/bin/helm upgrade --install devops /kubesphere/kubesphere/ks-devops/charts/ks-devops-0.1.8.tgz -n kubesphere-devops-system -f /kubesphere/kubesphere/ks-devops/ks-devops-values.yaml\\n",
"delta": "0:00:08.494701",
"end": "2022-05-30 16:26:43.905238",
"invocation": {
"module_args": {
"_raw_params": "# Delete Job migrate because 'helm upgrade' will try to update immutable fields of Job, which is not allowed. \\n/usr/local/bin/kubectl delete job -n kubesphere-devops-system migrate --ignore-not-found\\n\\n/usr/local/bin/helm upgrade --install devops /kubesphere/kubesphere/ks-devops/charts/ks-devops-0.1.8.tgz -n kubesphere-devops-system -f /kubesphere/kubesphere/ks-devops/ks-devops-values.yaml\\n",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": "/bin/bash",
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2022-05-30 16:26:35.410537",
"stderr": "Error: UPGRADE FAILED: cannot patch \\"devops-jenkins\\" with kind PersistentVolumeClaim: persistentvolumeclaims \\"devops-jenkins\\" is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize",
"stderr_lines": [
"Error: UPGRADE FAILED: cannot patch \\"devops-jenkins\\" with kind PersistentVolumeClaim: persistentvolumeclaims \\"devops-jenkins\\" is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize"
],
"stdout": "job.batch \\"migrate\\" deleted",
"stdout_lines": [
"job.batch \\"migrate\\" deleted"
]
},
"role": "ks-devops",
"start": "2022-05-30T16:25:35.010759",
"task": "ks-devops | Upgrading or installing ks-devops",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-devops/tasks/main.yaml:153",
"task_uuid": "a2b4d270-c177-7713-3508-00000000003d",
"uuid": "00e7afde-97f6-4acf-97aa-7d41454fc181"
},
“parent_uuid”: “a2b4d270-c177-7713-3508-00000000003d”,
“pid”: 43164,
“runner_ident”: “devops”,
“start_line”: 157,
“stdout”: "fatal: [localhost]: FAILED! => {\“attempts\”: 3, \“changed\”: true, \“cmd\”: \“# Delete Job migrate because ‘helm upgrade’ will try to update immutable fields of Job, which is not allowed. \\n/usr/local/bin/kubectl delete job -n kubesphere-devops-system migrate –ignore-not-found\\n\\n/usr/local/bin/helm upgrade –install devops /kubesphere/kubesphere/ks-devops/charts/ks-devops-0.1.8.tgz -n kubesphere-devops-system -f /kubesphere/kubesphere/ks-devops/ks-devops-values.yaml\\n\”, \“delta\”: \“0:00:08.494701\”, \“end\”: \“2022-05-30 16:26:43.905238\”, \“msg\”: \“non-zero return code\”, \“rc\”: 1, \“start\”: \“2022-05-30 16:26:35.410537\”, \“stderr\”: \"Error: UPGRADE FAILED: cannot patch \\\“devops-jenkins\\\” with kind PersistentVolumeClaim: persistentvolumeclaims \\\“devops-jenkins\\\” is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize\", \“stderr_lines\”: [\"Error: UPGRADE FAILED: cannot patch \\\“devops-jenkins\\\” with kind PersistentVolumeClaim: persistentvolumeclaims \\\“devops-jenkins\\\” is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize\"], \“stdout\”: \"job.batch \\\“migrate\\\” deleted\", \“stdout_lines\”: [\"job.batch \\\“migrate\\\” deleted\“]}”,
“uuid”: “00e7afde-97f6-4acf-97aa-7d41454fc181”
}
******************************************************************************************************************************************************
Task ‘monitoring’ failed:
******************************************************************************************************************************************************