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

Failed to install devops

Open renyunkang opened this issue 2 years ago • 2 comments

Describe the Bug Install kubesphere and enable devops using kubekey in ksv environment, the installation fails. image

here is logs:

Task 'devops' failed:
******************************************************************************************************************************************************
{
  "counter": 131,
  "created": "2022-06-13T06:44:55.053304",
  "end_line": 160,
  "event": "runner_on_failed",
  "event_data": {
    "duration": 171.502104,
    "end": "2022-06-13T06:44:55.053127",
    "event_loop": null,
    "host": "localhost",
    "ignore_errors": null,
    "play": "localhost",
    "play_pattern": "localhost",
    "play_uuid": "02c5b29d-e28e-fc79-b912-000000000005",
    "playbook": "/kubesphere/playbooks/devops.yaml",
    "playbook_uuid": "0b20a813-e9bc-447e-b4df-d42fac92626c",
    "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.482660",
          "end": "2022-06-13 14:42:04.584245",
          "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-13 14:42:04.101585",
          "stderr": "",
          "stderr_lines": [],
          "stdout": "secret/s2i-webhook-server-cert annotated\nsecret/s2i-webhook-server-cert annotated\nsecret/s2i-webhook-server-cert not labeled",
          "stdout_lines": [
            "secret/s2i-webhook-server-cert annotated",
            "secret/s2i-webhook-server-cert annotated",
            "secret/s2i-webhook-server-cert not labeled"
          ]
        },
        {
          "_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:01.066133",
          "end": "2022-06-13 14:42:06.323311",
          "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-13 14:42:05.257178",
          "stderr": "",
          "stderr_lines": [],
          "stdout": "configmap/jenkins-casc-config annotated\nconfigmap/jenkins-casc-config annotated\nconfigmap/jenkins-casc-config not labeled",
          "stdout_lines": [
            "configmap/jenkins-casc-config annotated",
            "configmap/jenkins-casc-config annotated",
            "configmap/jenkins-casc-config not labeled"
          ]
        },
        {
          "_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 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",
          "delta": "0:00:00.125706",
          "end": "2022-06-13 14:42:07.117937",
          "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-13 14:42:06.992231",
          "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.915745",
          "end": "2022-06-13 14:42:08.429042",
          "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-13 14:42:07.513297",
          "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.699388",
          "end": "2022-06-13 14:42:09.744054",
          "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-13 14:42:09.044666",
          "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.627483",
          "end": "2022-06-13 14:42:10.751738",
          "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-13 14:42:10.124255",
          "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.476496",
          "end": "2022-06-13 14:42:11.765970",
          "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-13 14:42:11.289474",
          "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 --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",
          "delta": "0:00:00.571509",
          "end": "2022-06-13 14:42:12.901566",
          "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-13 14:42:12.330057",
          "stderr": "",
          "stderr_lines": [],
          "stdout": "service/s2ioperator-metrics-service annotated\nservice/s2ioperator-metrics-service annotated\nservice/s2ioperator-metrics-service not labeled",
          "stdout_lines": [
            "service/s2ioperator-metrics-service annotated",
            "service/s2ioperator-metrics-service annotated",
            "service/s2ioperator-metrics-service not labeled"
          ]
        },
        {
          "_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 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",
          "delta": "0:00:00.286938",
          "end": "2022-06-13 14:42:13.652141",
          "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-13 14:42:13.365203",
          "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.509327",
          "end": "2022-06-13 14:42:14.740190",
          "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-13 14:42:14.230863",
          "stderr": "",
          "stderr_lines": [],
          "stdout": "service/webhook-server-service annotated\nservice/webhook-server-service annotated\nservice/webhook-server-service not labeled",
          "stdout_lines": [
            "service/webhook-server-service annotated",
            "service/webhook-server-service annotated",
            "service/webhook-server-service not labeled"
          ]
        },
        {
          "_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 --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",
          "delta": "0:00:00.684539",
          "end": "2022-06-13 14:42:16.141452",
          "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-13 14:42:15.456913",
          "stderr": "",
          "stderr_lines": [],
          "stdout": "service/s2ioperator-trigger-service annotated\nservice/s2ioperator-trigger-service annotated\nservice/s2ioperator-trigger-service not labeled",
          "stdout_lines": [
            "service/s2ioperator-trigger-service annotated",
            "service/s2ioperator-trigger-service annotated",
            "service/s2ioperator-trigger-service not labeled"
          ]
        },
        {
          "_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 StatefulSet 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",
          "delta": "0:00:00.597955",
          "end": "2022-06-13 14:42:17.320020",
          "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 --overwrite StatefulSet 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-13 14:42:16.722065",
          "stderr": "",
          "stderr_lines": [],
          "stdout": "statefulset.apps/s2ioperator annotated\nstatefulset.apps/s2ioperator annotated\nstatefulset.apps/s2ioperator not labeled",
          "stdout_lines": [
            "statefulset.apps/s2ioperator annotated",
            "statefulset.apps/s2ioperator annotated",
            "statefulset.apps/s2ioperator not labeled"
          ]
        },
        {
          "_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.814981",
          "end": "2022-06-13 14:42:18.542798",
          "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-13 14:42:17.727817",
          "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.754106",
          "end": "2022-06-13 14:42:19.937181",
          "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-13 14:42:19.183075",
          "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:30.712333",
          "end": "2022-06-13 14:42:51.075471",
          "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-13 14:42:20.363138",
          "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\": context deadline exceeded\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\": context deadline exceeded\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\": context deadline exceeded",
          "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\": context deadline exceeded",
            "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\": context deadline exceeded",
            "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\": context deadline exceeded"
          ],
          "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:30.678799",
          "end": "2022-06-13 14:43:22.132166",
          "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 --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",
              "_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-13 14:42:51.453367",
          "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\": context deadline exceeded\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\": context deadline exceeded\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\": context deadline exceeded",
          "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\": context deadline exceeded",
            "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\": context deadline exceeded",
            "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\": context deadline exceeded"
          ],
          "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:30.510882",
          "end": "2022-06-13 14:43:53.063800",
          "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-13 14:43:22.552918",
          "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\": context deadline exceeded\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\": context deadline exceeded\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\": context deadline exceeded",
          "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\": context deadline exceeded",
            "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\": context deadline exceeded",
            "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\": context deadline exceeded"
          ],
          "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:30.637216",
          "end": "2022-06-13 14:44:24.067764",
          "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-13 14:43:53.430548",
          "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\": context deadline exceeded\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\": context deadline exceeded\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\": context deadline exceeded",
          "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\": context deadline exceeded",
            "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\": context deadline exceeded",
            "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\": context deadline exceeded"
          ],
          "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:30.522884",
          "end": "2022-06-13 14:44:55.006498",
          "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-13 14:44:24.483614",
          "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\": context deadline exceeded\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\": context deadline exceeded\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\": context deadline exceeded",
          "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\": context deadline exceeded",
            "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\": context deadline exceeded",
            "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\": context deadline exceeded"
          ],
          "stdout": "",
          "stdout_lines": []
        }
      ]
    },
    "resolved_action": "shell",
    "role": "ks-devops",
    "start": "2022-06-13T06:42:03.551023",
    "task": "ks-devops | Convert ks-devops to helm mananged",
    "task_action": "shell",
    "task_args": "",
    "task_path": "/kubesphere/installer/roles/ks-devops/tasks/main.yaml:131",
    "task_uuid": "02c5b29d-e28e-fc79-b912-00000000003f",
    "uuid": "daa82e05-e274-4be4-a266-cc776d24c444"
  },
  "parent_uuid": "02c5b29d-e28e-fc79-b912-00000000003f",
  "pid": 3243,
  "runner_ident": "devops",
  "start_line": 160,
  "stdout": "",
  "uuid": "daa82e05-e274-4be4-a266-cc776d24c444"
}
******************************************************************************************************************************************************

Versions Used KubeSphere: v3.3.0-rc.2 Kubernetes: v1.23.7

/kind bug /area devops /assign @LinuxSuRen

renyunkang avatar Jun 13 '22 13:06 renyunkang

you know how to solve it ?

javaXiaoHan avatar Jun 14 '22 12:06 javaXiaoHan

Error from server (InternalError): Internal error occurred: failed calling webhook "s2ibuildertemplate.kb.io"

This error makes me feel very confused. I cannot reproduce it in the same environment.

LinuxSuRen avatar Jun 15 '22 01:06 LinuxSuRen