ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

DevOps devops-jenkins-agent and devops-jenkins status error (pending status for 7 hours)

Open javaXiaoHan opened this issue 2 years ago • 12 comments

Describe the Bug Normal ExternalProvisioning 2m32s (x5242 over 21h) persistentvolume-controller waiting for a volume to be created, either by external provisioner "openebs.io/local" or manually created by system administrator

Versions Used KubeSphere:3.2.1

Environment

CentOS 7.5 / 3 masters: 8cpu/8g; 3 nodes: 8cpu/16g

javaXiaoHan avatar Jun 14 '22 01:06 javaXiaoHan

111

javaXiaoHan avatar Jun 14 '22 01:06 javaXiaoHan

hi @javaXiaoHan , thanks for reaching out to us. But I don't understand what is the relation to DevOps.

/kind support

LinuxSuRen avatar Jun 14 '22 05:06 LinuxSuRen

hi @javaXiaoHan , thanks for reaching out to us. But I don't understand what is the relation to DevOps.

/kind support

i follow this to build DevOps https://kubesphere.io/zh/docs/pluggable-components/devops/ but devops-jenkins-agent and devops-jenkins is pending the other is working

javaXiaoHan avatar Jun 14 '22 11:06 javaXiaoHan

Please try to check the PVC. For example, if there is a default StorageClass existing.

LinuxSuRen avatar Jun 14 '22 11:06 LinuxSuRen

Please try to check the PVC. For example, if there is a default StorageClass existing.

how to check pvc
i dont konw if there is a default StorageClass existing

javaXiaoHan avatar Jun 14 '22 11:06 javaXiaoHan

Please try to check the PVC. For example, if there is a default StorageClass existing.

1655208054090 first time it success and jenkins status is pending and the i delete the namespace(kubesphere-devops-system) this time it fail

javaXiaoHan avatar Jun 14 '22 12:06 javaXiaoHan

Please try to check the PVC. For example, if there is a default StorageClass existing.

and now there is no pods in devops

javaXiaoHan avatar Jun 14 '22 12:06 javaXiaoHan

1655208474751

javaXiaoHan avatar Jun 14 '22 12:06 javaXiaoHan

Task 'devops' failed:


{ "counter": 125, "created": "2022-06-14T12:31:37.239901", "end_line": 154, "event": "runner_on_failed", "event_data": { "duration": 7.207956, "end": "2022-06-14T12:31:37.239799", "event_loop": null, "host": "localhost", "ignore_errors": null, "play": "localhost", "play_pattern": "localhost", "play_uuid": "d2f2dfdd-440b-2f8e-d8ee-000000000005", "playbook": "/kubesphere/playbooks/devops.yaml", "playbook_uuid": "cc784d52-a57b-43fe-8b83-c18c53d29fb7", "remote_addr": "127.0.0.1", "res": { "changed": true, "msg": "All items completed", "results": [ { "_ansible_item_label": { "kind": "secrets", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2i-webhook-server-cert" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get secrets s2i-webhook-server-cert 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite secrets s2i-webhook-server-cert app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.057184", "end": "2022-06-14 20:31:30.313010", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get secrets s2i-webhook-server-cert 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite secrets s2i-webhook-server-cert meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite secrets s2i-webhook-server-cert app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "secrets", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2i-webhook-server-cert" }, "rc": 0, "start": "2022-06-14 20:31:30.255826", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "configmap", "ns": "kubesphere-devops-system", "release": "devops", "resource": "jenkins-casc-config" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap jenkins-casc-config 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap jenkins-casc-config app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.056405", "end": "2022-06-14 20:31:30.584813", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap jenkins-casc-config 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap jenkins-casc-config meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap jenkins-casc-config app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "configmap", "ns": "kubesphere-devops-system", "release": "devops", "resource": "jenkins-casc-config" }, "rc": 0, "start": "2022-06-14 20:31:30.528408", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "configmap", "ns": "kubesphere-devops-system", "release": "devops", "resource": "ks-devops-agent" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap ks-devops-agent 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmapks-devops-agent meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap ks-devops-agent meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap ks-devops-agent app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.059559", "end": "2022-06-14 20:31:30.853619", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get configmap ks-devops-agent 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap ks-devops-agent meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite configmap ks-devops-agent meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite configmap ks-devops-agent app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "configmap", "ns": "kubesphere-devops-system", "release": "devops", "resource": "ks-devops-agent" }, "rc": 0, "start": "2022-06-14 20:31:30.794060", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "clusterrole", "ns": "kubesphere-devops-system", "release": "devops", "resource": "manager-role" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole manager-role 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole manager-role app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.246886", "end": "2022-06-14 20:31:31.306446", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole manager-role 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole manager-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole manager-role app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "clusterrole", "ns": "kubesphere-devops-system", "release": "devops", "resource": "manager-role" }, "rc": 0, "start": "2022-06-14 20:31:31.059560", "stderr": "", "stderr_lines": [], "stdout": "clusterrole.rbac.authorization.k8s.io/manager-role annotated\nclusterrole.rbac.authorization.k8s.io/manager-role annotated\nclusterrole.rbac.authorization.k8s.io/manager-role not labeled", "stdout_lines": [ "clusterrole.rbac.authorization.k8s.io/manager-role annotated", "clusterrole.rbac.authorization.k8s.io/manager-role annotated", "clusterrole.rbac.authorization.k8s.io/manager-role not labeled" ] }, { "_ansible_item_label": { "kind": "clusterrole", "ns": "kubesphere-devops-system", "release": "devops", "resource": "proxy-role" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole proxy-role 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole proxy-role app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.252544", "end": "2022-06-14 20:31:31.757661", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get clusterrole proxy-role 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite clusterrole proxy-role meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite clusterrole proxy-role app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "clusterrole", "ns": "kubesphere-devops-system", "release": "devops", "resource": "proxy-role" }, "rc": 0, "start": "2022-06-14 20:31:31.505117", "stderr": "", "stderr_lines": [], "stdout": "clusterrole.rbac.authorization.k8s.io/proxy-role annotated\nclusterrole.rbac.authorization.k8s.io/proxy-role annotated\nclusterrole.rbac.authorization.k8s.io/proxy-role not labeled", "stdout_lines": [ "clusterrole.rbac.authorization.k8s.io/proxy-role annotated", "clusterrole.rbac.authorization.k8s.io/proxy-role annotated", "clusterrole.rbac.authorization.k8s.io/proxy-role not labeled" ] }, { "_ansible_item_label": { "kind": "ClusterRoleBinding", "ns": "kubesphere-devops-system", "release": "devops", "resource": "manager-rolebinding" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding manager-rolebinding 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding manager-rolebinding app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.244131", "end": "2022-06-14 20:31:32.198896", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding manager-rolebinding 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding manager-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding manager-rolebinding app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "ClusterRoleBinding", "ns": "kubesphere-devops-system", "release": "devops", "resource": "manager-rolebinding" }, "rc": 0, "start": "2022-06-14 20:31:31.954765", "stderr": "", "stderr_lines": [], "stdout": "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding not labeled", "stdout_lines": [ "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated", "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding annotated", "clusterrolebinding.rbac.authorization.k8s.io/manager-rolebinding not labeled" ] }, { "_ansible_item_label": { "kind": "ClusterRoleBinding", "ns": "kubesphere-devops-system", "release": "devops", "resource": "proxy-rolebinding" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding proxy-rolebinding 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding proxy-rolebinding app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.254416", "end": "2022-06-14 20:31:32.648031", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ClusterRoleBinding proxy-rolebinding 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ClusterRoleBinding proxy-rolebinding meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ClusterRoleBinding proxy-rolebinding app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "ClusterRoleBinding", "ns": "kubesphere-devops-system", "release": "devops", "resource": "proxy-rolebinding" }, "rc": 0, "start": "2022-06-14 20:31:32.393615", "stderr": "", "stderr_lines": [], "stdout": "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated\nclusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding not labeled", "stdout_lines": [ "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated", "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding annotated", "clusterrolebinding.rbac.authorization.k8s.io/proxy-rolebinding not labeled" ] }, { "_ansible_item_label": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2ioperator-metrics-service" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-metrics-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwriteservice s2ioperator-metrics-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-metrics-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-metrics-service app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.063363", "end": "2022-06-14 20:31:32.908672", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-metrics-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate--overwrite service s2ioperator-metrics-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-metrics-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-metrics-service app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2ioperator-metrics-service" }, "rc": 0, "start": "2022-06-14 20:31:32.845309", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2i-trigger-service" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2i-trigger-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite services2i-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2i-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2i-trigger-service app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.061533", "end": "2022-06-14 20:31:33.193760", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2i-trigger-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2i-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2i-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2i-trigger-service app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2i-trigger-service" }, "rc": 0, "start": "2022-06-14 20:31:33.132227", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "webhook-server-service" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service webhook-server-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service webhook-server-service app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.063504", "end": "2022-06-14 20:31:33.458658", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service webhook-server-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service webhook-server-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service webhook-server-service app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "webhook-server-service" }, "rc": 0, "start": "2022-06-14 20:31:33.395154", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2ioperator-trigger-service" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-trigger-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwriteservice s2ioperator-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-trigger-service app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.077489", "end": "2022-06-14 20:31:33.759442", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get service s2ioperator-trigger-service 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate--overwrite service s2ioperator-trigger-service meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite service s2ioperator-trigger-service meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite service s2ioperator-trigger-service app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "service", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2ioperator-trigger-service" }, "rc": 0, "start": "2022-06-14 20:31:33.681953", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "StatefulSet", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2ioperator" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get StatefulSet s2ioperator 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite StatefulSets2ioperator meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite StatefulSet s2ioperator meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite StatefulSet s2ioperator app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.059265", "end": "2022-06-14 20:31:34.018010", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get StatefulSet s2ioperator 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwriteStatefulSet s2ioperator meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite StatefulSet s2ioperator meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite StatefulSet s2ioperator app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "StatefulSet", "ns": "kubesphere-devops-system", "release": "devops", "resource": "s2ioperator" }, "rc": 0, "start": "2022-06-14 20:31:33.958745", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "MutatingWebhookConfiguration", "ns": "kubesphere-devops-system", "release": "devops", "resource": "mutating-webhook-configuration" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get MutatingWebhookConfiguration mutating-webhook-configuration 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite MutatingWebhookConfiguration mutating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.263249", "end": "2022-06-14 20:31:34.480652", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get MutatingWebhookConfiguration mutating-webhook-configuration 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite MutatingWebhookConfiguration mutating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite MutatingWebhookConfiguration mutating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "MutatingWebhookConfiguration", "ns": "kubesphere-devops-system", "release": "devops", "resource": "mutating-webhook-configuration" }, "rc": 0, "start": "2022-06-14 20:31:34.217403", "stderr": "", "stderr_lines": [], "stdout": "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated\nmutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated\nmutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration not labeled", "stdout_lines": [ "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated", "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration annotated", "mutatingwebhookconfiguration.admissionregistration.k8s.io/mutating-webhook-configuration not labeled" ] }, { "_ansible_item_label": { "kind": "ValidatingWebhookConfiguration", "ns": "kubesphere-devops-system", "release": "devops", "resource": "validating-webhook-configuration" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ValidatingWebhookConfiguration validating-webhook-configuration 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ValidatingWebhookConfiguration validating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.257197", "end": "2022-06-14 20:31:34.948360", "failed": false, "failed_when_result": false, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get ValidatingWebhookConfiguration validating-webhook-configuration 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite ValidatingWebhookConfiguration validating-webhook-configuration meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite ValidatingWebhookConfiguration validating-webhook-configuration app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "ValidatingWebhookConfiguration", "ns": "kubesphere-devops-system", "release": "devops", "resource": "validating-webhook-configuration" }, "rc": 0, "start": "2022-06-14 20:31:34.691163", "stderr": "", "stderr_lines": [], "stdout": "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated\nvalidatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated\nvalidatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration not labeled", "stdout_lines": [ "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated", "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration annotated", "validatingwebhookconfiguration.admissionregistration.k8s.io/validating-webhook-configuration not labeled" ] }, { "_ansible_item_label": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "binary" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate binary 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate binary app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.234934", "end": "2022-06-14 20:31:35.383452", "failed": true, "failed_when_result": true, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate binary 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate binary meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate binary app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "binary" }, "msg": "non-zero return code", "rc": 1, "start": "2022-06-14 20:31:35.148518", "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "stderr_lines": [ "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found" ], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "java" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate java 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate java meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate java meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate java app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.271284", "end": "2022-06-14 20:31:35.862773", "failed": true, "failed_when_result": true, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate java 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwriteS2iBuilderTemplate java meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate java meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate java app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "java" }, "msg": "non-zero return code", "rc": 1, "start": "2022-06-14 20:31:35.591489", "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "stderr_lines": [ "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found" ], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "nodejs" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate nodejs 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate nodejs app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.245924", "end": "2022-06-14 20:31:36.303705", "failed": true, "failed_when_result": true, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate nodejs 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate nodejs meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate nodejs app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "nodejs" }, "msg": "non-zero return code", "rc": 1, "start": "2022-06-14 20:31:36.057781", "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "stderr_lines": [ "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found" ], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "tomcat" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate tomcat 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate tomcat app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.263283", "end": "2022-06-14 20:31:36.756784", "failed": true, "failed_when_result": true, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate tomcat 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate tomcat meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate tomcat app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "tomcat" }, "msg": "non-zero return code", "rc": 1, "start": "2022-06-14 20:31:36.493501", "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "stderr_lines": [ "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found" ], "stdout": "", "stdout_lines": [] }, { "_ansible_item_label": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "python" }, "_ansible_no_log": false, "ansible_loop_var": "item", "changed": true, "cmd": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate python 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate python app.kubernetes.io/managed-by=Helm; fi\n", "delta": "0:00:00.255230", "end": "2022-06-14 20:31:37.215049", "failed": true, "failed_when_result": true, "invocation": { "module_args": { "_raw_params": "RESOURCE=$(/usr/local/bin/kubectl -n kubesphere-devops-system get S2iBuilderTemplate python 2> /dev/null | head -n 1); if [[ "$RESOURCE" != '' ]]; then /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-name=devops; /usr/local/bin/kubectl -n kubesphere-devops-system annotate --overwrite S2iBuilderTemplate python meta.helm.sh/release-namespace=kubesphere-devops-system; /usr/local/bin/kubectl -n kubesphere-devops-system label --overwrite S2iBuilderTemplate python app.kubernetes.io/managed-by=Helm; fi\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 } }, "item": { "kind": "S2iBuilderTemplate", "ns": "kubesphere-devops-system", "release": "devops", "resource": "python" }, "msg": "non-zero return code", "rc": 1, "start": "2022-06-14 20:31:36.959819", "stderr": "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found\nError from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "stderr_lines": [ "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found", "Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io": Post "https://webhook-server-service.kubesphere-devops-system.svc:443/validate-devops-kubesphere-io-v1alpha1-s2ibuildertemplate?timeout=10s": service "webhook-server-service" not found" ], "stdout": "", "stdout_lines": [] } ] }, "role": "ks-devops", "start": "2022-06-14T12:31:30.031843", "task": "ks-devops | Convert ks-devops to helm mananged", "task_action": "shell", "task_args": "", "task_path": "/kubesphere/installer/roles/ks-devops/tasks/main.yaml:118", "task_uuid": "d2f2dfdd-440b-2f8e-d8ee-00000000003d", "uuid": "ca37afa3-18b0-4d0e-bd25-78573af20fee" }, "parent_uuid": "d2f2dfdd-440b-2f8e-d8ee-00000000003d", "pid": 4479, "runner_ident": "devops", "start_line": 154, "stdout": "", "uuid": "ca37afa3-18b0-4d0e-bd25-78573af20fee"

javaXiaoHan avatar Jun 14 '22 12:06 javaXiaoHan

@ks-ci-bot could you please help me to solve this error

javaXiaoHan avatar Jun 15 '22 01:06 javaXiaoHan

first time it success and jenkins status is pending and the i delete the namespace(kubesphere-devops-system) this time it fail

You cannot just delete this namespace. There are other resources that are not in this namespace. A simple solution is that you could delete this cluster and reinstall it.

In case you might want to go into the deep. Please feel free to see also ks-devops-helm-chart and ks-installer.

i dont konw if there is a default StorageClass existing

I would recommend you read the Kubernetes official document. It explains very well.

LinuxSuRen avatar Jun 15 '22 01:06 LinuxSuRen

A simple solution is that you could delete this cluster and reinstall it.

this cluster refer to which one ?

i dont konw ' this cluster ' mean to what, you mean reinstall the whole kubesphere ? 1655260753026 reinstall this ?

javaXiaoHan avatar Jun 15 '22 02:06 javaXiaoHan