创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。

操作系统信息
Ubuntu20.04,4C/16G

Kubernetes版本信息
kubectl version 命令执行结果贴在下方

root@node1:~# kubectl version

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:10:45Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}

Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:04:16Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}

root@node1:~#

容器运行时

root@node1:~# docker version

Client:

Version:           20.10.8

API version:       1.41

Go version:        go1.16.6

Git commit:        3967b7d

Built:             Fri Jul 30 19:50:40 2021

OS/Arch:           linux/amd64

Context:           default

Experimental:      true

Server: Docker Engine - Community

Engine:

Version:          20.10.8

API version:      1.41 (minimum version 1.12)

Go version:       go1.16.6

Git commit:       75249d8

Built:            Fri Jul 30 19:55:09 2021

OS/Arch:          linux/amd64

Experimental:     false

containerd:

Version:          v1.4.9

GitCommit:        e25210fe30a0a703442421b0f60afac609f950a3

runc:

Version:          1.0.1

GitCommit:        v1.0.1-0-g4144b638

docker-init:

Version:          0.19.0

GitCommit:        de40ad0

KubeSphere版本信息
v3.2.1

helm install kubesphere \
 --namespace=kubesphere-system \
 --create-namespace \
 --set image.repository=kubesphere/ks-installer \
 --set image.tag=v3.2.1 \
 --set cc.persistence.storageClass=rook-ceph-block \
 --set cc.etcd.monitoring=true \
 --set cc.etcd.endpointIps='192.168.0.22\,192.168.0.23\,192.168.0.24' \
 --set cc.monitoring.storageClass=rook-ceph-block \
 --set cc.devops.enabled=true \
 --set cc.metrics_server.enabled=true \
 --set cc.openpitrix.store.enabled=true \
 --set cc.servicemesh.enabled=true \
 --set cc.logging.enabled=true \
 --set cc.alerting.enabled=true \
 --set cc.auditing.enabled=true \
 --set cc.events.enabled=true \
 main/ks-installer

问题是什么

安装报错

TASK [ks-core/prepare : KubeSphere | Checking core components (1)] *************
changed: [localhost]

TASK [ks-core/prepare : KubeSphere | Checking core components (2)] *************
changed: [localhost]

TASK [ks-core/prepare : KubeSphere | Checking core components (3)] *************
skipping: [localhost]

TASK [ks-core/prepare : KubeSphere | Checking core components (4)] *************
skipping: [localhost]

TASK [ks-core/prepare : KubeSphere | Updating ks-core status] ******************
skipping: [localhost]

TASK [ks-core/prepare : set_fact] **********************************************
skipping: [localhost]

TASK [ks-core/prepare : KubeSphere | Creating KubeSphere directory] ************
ok: [localhost]

TASK [ks-core/prepare : KubeSphere | Getting installation init files] **********
changed: [localhost] => (item=ks-init)

TASK [ks-core/prepare : KubeSphere | Initing KubeSphere] ***********************
changed: [localhost] => (item=role-templates.yaml)

TASK [ks-core/prepare : KubeSphere | Generating kubeconfig-admin] **************
skipping: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=25   changed=18   unreachable=0    failed=0    skipped=13   rescued=0    ignored=0   

Start installing monitoring
Start installing multicluster
Start installing openpitrix
Start installing network
Start installing alerting
Start installing auditing
Start installing devops
Start installing events
Start installing logging
Start installing servicemesh
**************************************************
Waiting for all tasks to be completed ...
task network status is successful  (1/10)
task alerting status is successful  (2/10)
task multicluster status is successful  (3/10)
task openpitrix status is failed  (4/10)
task auditing status is successful  (5/10)
task logging status is successful  (6/10)
task events status is successful  (7/10)
task devops status is successful  (8/10)
task monitoring status is successful  (9/10)
task servicemesh status is successful  (10/10)
**************************************************
Collecting installation results ...


Task 'openpitrix' failed:
******************************************************************************************************************************************************
{
  "counter": 43,
  "created": "2022-03-07T02:39:58.198253",
  "end_line": 43,
  "event": "runner_on_failed",
  "event_data": {
    "duration": 5.809437,
    "end": "2022-03-07T02:39:58.198063",
    "event_loop": null,
    "host": "localhost",
    "ignore_errors": null,
    "play": "localhost",
    "play_pattern": "localhost",
    "play_uuid": "b67bdc01-a4b2-3cbd-f915-000000000005",
    "playbook": "/kubesphere/playbooks/openpitrix.yaml",
    "playbook_uuid": "8c544f62-c3e1-4709-b795-da7b052d2520",
    "remote_addr": "127.0.0.1",
    "res": {
      "_ansible_no_log": false,
      "changed": true,
      "cmd": "/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/openpitrix/builtin-repo.yaml\n",
      "delta": "0:00:02.200670",
      "end": "2022-03-07 10:39:57.990615",
      "invocation": {
        "module_args": {
          "_raw_params": "/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/openpitrix/builtin-repo.yaml\n",
          "_uses_shell": true,
          "argv": null,
          "chdir": null,
          "creates": null,
          "executable": null,
          "removes": null,
          "stdin": null,
          "stdin_add_newline": true,
          "strip_empty_ends": true,
          "warn": true
        }
      },
      "msg": "non-zero return code",
      "rc": 1,
      "start": "2022-03-07 10:39:55.789945",
      "stderr": "Error from server (Forbidden): error when retrieving current configuration of:\nResource: \"application.kubesphere.io/v1alpha1, Resource=helmrepos\", GroupVersionKind: \"application.kubesphere.io/v1alpha1, Kind=HelmRepo\"\nName: \"builtin-stable\", Namespace: \"\"\nfrom server for: \"/kubesphere/kubesphere/openpitrix/builtin-repo.yaml\": helmrepos.application.kubesphere.io \"builtin-stable\" is forbidden: User \"system:serviceaccount:kubesphere-system:ks-installer\" cannot get resource \"helmrepos\" in API group \"application.kubesphere.io\" at the cluster scope",
      "stderr_lines": [
        "Error from server (Forbidden): error when retrieving current configuration of:",
        "Resource: \"application.kubesphere.io/v1alpha1, Resource=helmrepos\", GroupVersionKind: \"application.kubesphere.io/v1alpha1, Kind=HelmRepo\"",
        "Name: \"builtin-stable\", Namespace: \"\"",
        "from server for: \"/kubesphere/kubesphere/openpitrix/builtin-repo.yaml\": helmrepos.application.kubesphere.io \"builtin-stable\" is forbidden: User \"system:serviceaccount:kubesphere-system:ks-installer\" cannot get resource \"helmrepos\" in API group \"application.kubesphere.io\" at the cluster scope"
      ],
      "stdout": "",
      "stdout_lines": []
    },
    "role": "openpitrix",
    "start": "2022-03-07T02:39:52.388626",
    "task": "OpenPitrix | Create builtin repo",
    "task_action": "command",
    "task_args": "",
    "task_path": "/kubesphere/installer/roles/openpitrix/tasks/main.yaml:48",
    "task_uuid": "b67bdc01-a4b2-3cbd-f915-00000000001d",
    "uuid": "78a83076-73af-4888-b3e1-ad14119867e1"
  },
  "parent_uuid": "b67bdc01-a4b2-3cbd-f915-00000000001d",
  "pid": 4573,
  "runner_ident": "openpitrix",
  "start_line": 42,
  "stdout": "fatal: [localhost]: FAILED! => {\"changed\": true, \"cmd\": \"/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/openpitrix/builtin-repo.yaml\\n\", \"delta\": \"0:00:02.200670\", \"end\": \"2022-03-07 10:39:57.990615\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2022-03-07 10:39:55.789945\", \"stderr\": \"Error from server (Forbidden): error when retrieving current configuration of:\\nResource: \\\"application.kubesphere.io/v1alpha1, Resource=helmrepos\\\", GroupVersionKind: \\\"application.kubesphere.io/v1alpha1, Kind=HelmRepo\\\"\\nName: \\\"builtin-stable\\\", Namespace: \\\"\\\"\\nfrom server for: \\\"/kubesphere/kubesphere/openpitrix/builtin-repo.yaml\\\": helmrepos.application.kubesphere.io \\\"builtin-stable\\\" is forbidden: User \\\"system:serviceaccount:kubesphere-system:ks-installer\\\" cannot get resource \\\"helmrepos\\\" in API group \\\"application.kubesphere.io\\\" at the cluster scope\", \"stderr_lines\": [\"Error from server (Forbidden): error when retrieving current configuration of:\", \"Resource: \\\"application.kubesphere.io/v1alpha1, Resource=helmrepos\\\", GroupVersionKind: \\\"application.kubesphere.io/v1alpha1, Kind=HelmRepo\\\"\", \"Name: \\\"builtin-stable\\\", Namespace: \\\"\\\"\", \"from server for: \\\"/kubesphere/kubesphere/openpitrix/builtin-repo.yaml\\\": helmrepos.application.kubesphere.io \\\"builtin-stable\\\" is forbidden: User \\\"system:serviceaccount:kubesphere-system:ks-installer\\\" cannot get resource \\\"helmrepos\\\" in API group \\\"application.kubesphere.io\\\" at the cluster scope\"], \"stdout\": \"\", \"stdout_lines\": []}",
  "uuid": "78a83076-73af-4888-b3e1-ad14119867e1"
}
******************************************************************************************************************************************************

    willqy 看起来 openpitrix 的 Job 没有执行成功,后天应该有 KubeSphere 相关的 Pod 异常,看看相关异常 Pod 的日志和 events?

      Feynman

      要看哪个pod的日志?

      [root@Ops-repo kubesphere]# kubectl get pods -A
      NAMESPACE                      NAME                                               READY   STATUS      RESTARTS   AGE
      istio-system                   istio-ingressgateway-68cb85486d-g2fqn              1/1     Running     1          5h21m
      istio-system                   istiod-1-11-2-6784498b47-r2675                     1/1     Running     1          5h23m
      istio-system                   jaeger-collector-6d9b898749-dbpgw                  1/1     Running     11         5h6m
      istio-system                   jaeger-operator-6f94b6594f-4tpv6                   1/1     Running     0          18m
      istio-system                   jaeger-query-c9568b97c-64b4j                       2/2     Running     0          17m
      istio-system                   kiali-6b7bf5c778-j72sc                             1/1     Running     1          5h4m
      istio-system                   kiali-operator-6648dcb67d-jt2sf                    1/1     Running     0          17m
      kube-system                    calico-kube-controllers-75ddb95444-m8lfd           1/1     Running     5          20h
      kube-system                    calico-node-8m58x                                  1/1     Running     1          20h
      kube-system                    calico-node-pdkb6                                  1/1     Running     1          20h
      kube-system                    calico-node-qhj5s                                  1/1     Running     1          20h
      kube-system                    coredns-5495dd7c88-28c2k                           1/1     Running     1          20h
      kube-system                    coredns-5495dd7c88-z8nwm                           1/1     Running     1          20h
      kube-system                    kube-apiserver-node1                               1/1     Running     2          20h
      kube-system                    kube-controller-manager-node1                      1/1     Running     6          20h
      kube-system                    kube-proxy-8pftp                                   1/1     Running     2          20h
      kube-system                    kube-proxy-bwwvc                                   1/1     Running     1          20h
      kube-system                    kube-proxy-ktd5v                                   1/1     Running     1          20h
      kube-system                    kube-scheduler-node1                               1/1     Running     7          20h
      kube-system                    metrics-server-687cb5444-pdkjd                     1/1     Running     2          5h32m
      kube-system                    nodelocaldns-7g6jd                                 1/1     Running     1          20h
      kube-system                    nodelocaldns-hv4fb                                 1/1     Running     1          20h
      kube-system                    nodelocaldns-kmx9q                                 1/1     Running     1          20h
      kube-system                    snapshot-controller-0                              1/1     Running     0          34m
      kubesphere-controls-system     default-http-backend-5bf68ff9b8-6229c              1/1     Running     0          26m
      kubesphere-controls-system     kubectl-admin-6667774bb-kj4m8                      1/1     Running     0          25m
      kubesphere-devops-system       devops-27444000-zhgr2                              0/1     Completed   0          5m6s
      kubesphere-devops-system       devops-apiserver-7c6774fff5-56q7g                  1/1     Running     0          17m
      kubesphere-devops-system       devops-controller-98975d478-zs9gk                  1/1     Running     0          17m
      kubesphere-devops-system       devops-jenkins-5d744f66b9-mz7qv                    1/1     Running     0          17m
      kubesphere-devops-system       s2ioperator-0                                      1/1     Running     0          17m
      kubesphere-logging-system      elasticsearch-logging-data-0                       1/1     Running     0          31m
      kubesphere-logging-system      elasticsearch-logging-data-1                       1/1     Running     0          30m
      kubesphere-logging-system      elasticsearch-logging-discovery-0                  1/1     Running     0          31m
      kubesphere-logging-system      fluentbit-operator-745bf5559f-nj6r4                1/1     Running     0          30m
      kubesphere-logging-system      ks-events-exporter-59d48f6777-jz5lw                2/2     Running     0          19m
      kubesphere-logging-system      ks-events-operator-5944645757-pljxv                1/1     Running     0          19m
      kubesphere-logging-system      ks-events-ruler-575669b4-ptzzv                     2/2     Running     0          19m
      kubesphere-logging-system      ks-events-ruler-575669b4-xhnps                     2/2     Running     0          19m
      kubesphere-logging-system      kube-auditing-operator-84857bf967-jtscl            1/1     Running     0          20m
      kubesphere-logging-system      kube-auditing-webhook-deploy-64cfb8c9f8-79jpf      1/1     Running     0          20m
      kubesphere-logging-system      kube-auditing-webhook-deploy-64cfb8c9f8-sn45v      1/1     Running     0          20m
      kubesphere-logging-system      logsidecar-injector-deploy-5fb6fdc6dd-tkq47        2/2     Running     0          18m
      kubesphere-logging-system      logsidecar-injector-deploy-5fb6fdc6dd-v9kcx        2/2     Running     0          18m
      kubesphere-monitoring-system   alertmanager-main-0                                2/2     Running     0          14m
      kubesphere-monitoring-system   alertmanager-main-1                                2/2     Running     0          14m
      kubesphere-monitoring-system   alertmanager-main-2                                2/2     Running     0          14m
      kubesphere-monitoring-system   kube-state-metrics-5547ddd4cc-b57kl                3/3     Running     0          15m
      kubesphere-monitoring-system   node-exporter-4njxh                                2/2     Running     0          15m
      kubesphere-monitoring-system   node-exporter-5svcm                                2/2     Running     0          15m
      kubesphere-monitoring-system   node-exporter-fkdsr                                2/2     Running     0          15m
      kubesphere-monitoring-system   notification-manager-deployment-78664576cb-drnjh   2/2     Running     0          12m
      kubesphere-monitoring-system   notification-manager-deployment-78664576cb-fwld8   2/2     Running     0          12m
      kubesphere-monitoring-system   notification-manager-operator-7d44854f54-sj9tc     2/2     Running     0          13m
      kubesphere-monitoring-system   prometheus-k8s-0                                   2/2     Running     1          14m
      kubesphere-monitoring-system   prometheus-k8s-1                                   2/2     Running     1          14m
      kubesphere-monitoring-system   prometheus-operator-5c5db79546-fhhvb               2/2     Running     0          15m
      kubesphere-monitoring-system   thanos-ruler-kubesphere-0                          2/2     Running     0          15m
      kubesphere-monitoring-system   thanos-ruler-kubesphere-1                          2/2     Running     0          15m
      kubesphere-system              ks-apiserver-58d54b4fc6-vp2r7                      1/1     Running     0          11m
      kubesphere-system              ks-console-65f4d44d88-hbb9f                        1/1     Running     0          26m
      kubesphere-system              ks-controller-manager-8648848c9f-5hxq4             1/1     Running     0          11m
      kubesphere-system              ks-installer-85c85cb987-9c8rd                      1/1     Running     0          42m
      kubesphere-system              minio-859cb4d777-k5fns                             1/1     Running     0          32m
      kubesphere-system              openldap-0                                         1/1     Running     1          33m
      kubesphere-system              openpitrix-import-job-kg7ld                        0/1     Completed   0          22m
      rook-ceph                      csi-cephfsplugin-9s5tz                             3/3     Running     3          16h
      rook-ceph                      csi-cephfsplugin-j88wj                             3/3     Running     3          16h
      rook-ceph                      csi-cephfsplugin-jhqcz                             3/3     Running     4          16h
      rook-ceph                      csi-cephfsplugin-provisioner-6f54f6c477-blcxw      6/6     Running     23         16h
      rook-ceph                      csi-cephfsplugin-provisioner-6f54f6c477-g49tw      6/6     Running     20         16h
      rook-ceph                      csi-rbdplugin-jjhmz                                3/3     Running     4          16h
      rook-ceph                      csi-rbdplugin-nt6sn                                3/3     Running     3          16h
      rook-ceph                      csi-rbdplugin-provisioner-6d765b47d5-hslsf         6/6     Running     18         16h
      rook-ceph                      csi-rbdplugin-provisioner-6d765b47d5-vjwcp         6/6     Running     23         16h
      rook-ceph                      csi-rbdplugin-zzm7m                                3/3     Running     3          16h
      rook-ceph                      rook-ceph-crashcollector-node1-54b78567c5-fhj2p    1/1     Running     1          16h
      rook-ceph                      rook-ceph-crashcollector-node2-69d4577554-dmwhw    1/1     Running     1          16h
      rook-ceph                      rook-ceph-crashcollector-node3-f4758c5df-7wxgj     1/1     Running     1          16h
      rook-ceph                      rook-ceph-mgr-a-b557c664-92bpn                     1/1     Running     16         16h
      rook-ceph                      rook-ceph-mon-a-c4484c877-msrjn                    1/1     Running     6          16h
      rook-ceph                      rook-ceph-mon-b-6468c84f59-b9rwx                   1/1     Running     24         16h
      rook-ceph                      rook-ceph-mon-c-7966fdfc5b-6nqp2                   1/1     Running     3          16h
      rook-ceph                      rook-ceph-operator-7b4f6fd594-fjhv7                1/1     Running     1          16h
      rook-ceph                      rook-ceph-osd-0-7757bd7dd8-j64hm                   1/1     Running     3          16h
      rook-ceph                      rook-ceph-osd-1-5f746cfbd4-c2psg                   1/1     Running     1          16h
      rook-ceph                      rook-ceph-osd-2-6548745b8c-xbqxm                   0/1     Running     21         16h
      rook-ceph                      rook-ceph-osd-prepare-node1-nlb6t                  0/1     Completed   0          54m
      rook-ceph                      rook-ceph-osd-prepare-node2-fzhsn                  0/1     Completed   0          54m
      rook-ceph                      rook-ceph-osd-prepare-node3-7r7cd                  0/1     Completed   0          54m
      rook-ceph                      rook-ceph-tools-55ddbc9f78-5wzm9                   1/1     Running     1          6h15m
      [root@Ops-repo kubesphere]# 

      openpitrix-import日志

      [root@Ops-repo kubesphere]# kubectl -n kubesphere-system logs -f openpitrix-import-job-kg7ld
      I0307 07:47:16.532836       1 dumpconfig.go:22] configmap: authentication:
        authenticateRateLimiterMaxTries: 10
        authenticateRateLimiterDuration: 10m0s
        loginHistoryRetentionPeriod: 168h
        maximumClockSkew: 10s
        multipleLogin: True
        kubectlImage: kubesphere/kubectl:v1.21.0
        jwtSecret: "ajkehnThlU3Cjqh0LJA5XbGKYlOifcJX"
        oauthOptions:
          clients:
          - name: kubesphere
            secret: kubesphere
            redirectURIs:
            - '*'
      
      ldap:
        host: openldap.kubesphere-system.svc:389
        managerDN: cn=admin,dc=kubesphere,dc=io
        managerPassword: admin
        userSearchBase: ou=Users,dc=kubesphere,dc=io
        groupSearchBase: ou=Groups,dc=kubesphere,dc=io
      
      
      
      s3:
        endpoint: http://minio.kubesphere-system.svc:9000
        region: us-east-1
        disableSSL: True
        forcePathStyle: True
        accessKeyID: openpitrixminioaccesskey
        secretAccessKey: openpitrixminiosecretkey
        bucket: s2i-binaries
      
      network:
        ippoolType: none
      devops:
        host: http://devops-jenkins.kubesphere-devops-system.svc/
        username: admin
        password: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFkbWluQGt1YmVzcGhlcmUuaW8iLCJ1c2VybmFtZSI6ImFkbWluIiwidG9rZW5fdHlwZSI6InN0YXRpY190b2tlbiJ9.wgaUZIpQ9rXNDB83bn90t2PzcK9YLpXsAnKVswk9eVw
        maxConnections: 100
        endpoint: http://devops-apiserver.kubesphere-devops-system:9090
      servicemesh:
        istioPilotHost: http://istiod.istio-system.svc:8080/version
        jaegerQueryHost: http://jaeger-query.istio-system.svc:16686
        servicemeshPrometheusHost: http://prometheus-k8s.kubesphere-monitoring-system.svc:9090
        kialiQueryHost: http://kiali.istio-system:20001
      openpitrix:
        s3:
          endpoint: http://minio.kubesphere-system.svc:9000
          region: us-east-1
          disableSSL: True
          forcePathStyle: True
          accessKeyID: openpitrixminioaccesskey
          secretAccessKey: openpitrixminiosecretkey
          bucket: app-store
      monitoring:
        endpoint: http://prometheus-operated.kubesphere-monitoring-system.svc:9090
        enableGPUMonitoring: false
      gpu:
        kinds:
        - resourceName: nvidia.com/gpu
          resourceType: GPU
          default: True
      notification:
        endpoint: http://notification-manager-svc.kubesphere-monitoring-system.svc:19093
      logging:
        host: http://elasticsearch-logging-data.kubesphere-logging-system.svc:9200
        indexPrefix: ks-logstash-log
      events:
        host: http://elasticsearch-logging-data.kubesphere-logging-system.svc:9200
        indexPrefix: ks-logstash-events
      auditing:
        enable: true
        webhookURL: https://kube-auditing-webhook-svc.kubesphere-logging-system.svc:6443/audit/webhook/event
        host: http://elasticsearch-logging-data.kubesphere-logging-system.svc:9200
        indexPrefix: ks-logstash-auditing
      
      alerting:
        prometheusEndpoint: http://prometheus-operated.kubesphere-monitoring-system.svc:9090
        thanosRulerEndpoint: http://thanos-ruler-operated.kubesphere-monitoring-system.svc:10902
        thanosRuleResourceLabels: thanosruler=thanos-ruler,role=thanos-alerting-rules
      
      
      gateway:
        watchesPath: /var/helm-charts/watches.yaml
        repository: kubesphere/nginx-ingress-controller
        tag: v0.48.1
        namespace: kubesphere-controls-system
      W0307 07:47:16.533675       1 client_config.go:552] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
      I0307 07:47:16.537810       1 import.go:163] start to create app, chart name: tomcat, version: 0.4.3
      I0307 07:47:16.684188       1 import.go:122] create category, name: Web Server
      I0307 07:47:16.871592       1 import.go:144] create category, name: Web Server, icon: ip
      I0307 07:47:17.125562       1 import.go:248] start to create app version, chart name: tomcat, version: 0.4.3
      I0307 07:47:17.488652       1 import.go:331] create helm application version appv-mr056oml247w7l success
      I0307 07:47:17.488670       1 import.go:402] update app version status, chart name: tomcat, version: 0.4.3
      E0307 07:47:17.554831       1 import.go:422] update app version appv-mr056oml247w7l status success
      I0307 07:47:17.566158       1 import.go:163] start to create app, chart name: harbor, version: 1.4.1
      I0307 07:47:17.688663       1 import.go:122] create category, name: Image Registry
      I0307 07:47:17.766289       1 import.go:144] create category, name: Image Registry, icon: cdn
      I0307 07:47:18.101741       1 import.go:248] start to create app version, chart name: harbor, version: 1.4.1
      I0307 07:47:18.599090       1 import.go:331] create helm application version appv-o50k0v9o2l4k49 success
      I0307 07:47:18.599111       1 import.go:402] update app version status, chart name: harbor, version: 1.4.1
      E0307 07:47:18.908213       1 import.go:422] update app version appv-o50k0v9o2l4k49 status success
      I0307 07:47:18.911216       1 import.go:163] start to create app, chart name: apisix, version: 0.1.7
      I0307 07:47:19.291076       1 import.go:122] create category, name: Networking
      I0307 07:47:19.558141       1 import.go:144] create category, name: Networking, icon: router
      I0307 07:47:19.793894       1 import.go:248] start to create app version, chart name: apisix, version: 0.1.7
      I0307 07:47:20.050325       1 import.go:331] create helm application version appv-o5kwpo0z2l4k49 success
      I0307 07:47:20.050343       1 import.go:402] update app version status, chart name: apisix, version: 0.1.7
      E0307 07:47:20.093141       1 import.go:422] update app version appv-o5kwpo0z2l4k49 status success
      I0307 07:47:20.094225       1 import.go:163] start to create app, chart name: mongodb, version: 0.3.2
      I0307 07:47:20.288730       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:20.320887       1 import.go:144] create category, name: Database & Cache, icon: database
      I0307 07:47:20.514818       1 import.go:248] start to create app version, chart name: mongodb, version: 0.3.2
      I0307 07:47:20.793484       1 import.go:331] create helm application version appv-o526nrxz2l4k49 success
      I0307 07:47:20.793524       1 import.go:402] update app version status, chart name: mongodb, version: 0.3.2
      E0307 07:47:20.852651       1 import.go:422] update app version appv-o526nrxz2l4k49 status success
      I0307 07:47:20.858678       1 import.go:163] start to create app, chart name: mysql, version: 1.6.8
      I0307 07:47:20.981032       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:21.210852       1 import.go:248] start to create app version, chart name: mysql, version: 1.6.8
      I0307 07:47:21.590563       1 import.go:331] create helm application version appv-m03okw9x247w7l success
      I0307 07:47:21.591879       1 import.go:402] update app version status, chart name: mysql, version: 1.6.8
      E0307 07:47:22.073228       1 import.go:420] update app version appv-m03okw9x247w7l status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-m03okw9x247w7l": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:22.667790       1 import.go:422] update app version appv-m03okw9x247w7l status success
      I0307 07:47:22.668493       1 import.go:163] start to create app, chart name: redis, version: 0.3.5
      I0307 07:47:22.736591       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:23.004086       1 import.go:248] start to create app version, chart name: redis, version: 0.3.5
      I0307 07:47:23.610184       1 import.go:331] create helm application version appv-00zj48v5wk717p success
      I0307 07:47:23.610250       1 import.go:402] update app version status, chart name: redis, version: 0.3.5
      E0307 07:47:23.636178       1 import.go:422] update app version appv-00zj48v5wk717p status success
      I0307 07:47:23.638872       1 import.go:163] start to create app, chart name: minio, version: 6.0.5
      I0307 07:47:24.023267       1 import.go:122] create category, name: Storage
      I0307 07:47:24.276836       1 import.go:144] create category, name: Storage, icon: storage
      I0307 07:47:24.893789       1 import.go:248] start to create app version, chart name: minio, version: 6.0.5
      I0307 07:47:25.734152       1 import.go:331] create helm application version appv-prl3x0082l4k49 success
      I0307 07:47:25.734252       1 import.go:402] update app version status, chart name: minio, version: 6.0.5
      E0307 07:47:26.077250       1 import.go:420] update app version appv-prl3x0082l4k49 status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-prl3x0082l4k49": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:26.516165       1 import.go:422] update app version appv-prl3x0082l4k49 status success
      I0307 07:47:26.517056       1 import.go:163] start to create app, chart name: mysql-exporter, version: 0.5.6
      I0307 07:47:26.751633       1 import.go:122] create category, name: Prometheus Exporter
      I0307 07:47:27.087305       1 import.go:144] create category, name: Prometheus Exporter, icon: export
      I0307 07:47:27.319732       1 import.go:248] start to create app version, chart name: mysql-exporter, version: 0.5.6
      I0307 07:47:28.015622       1 import.go:331] create helm application version appv-mr5j5yy7247w7l success
      I0307 07:47:28.015642       1 import.go:402] update app version status, chart name: mysql-exporter, version: 0.5.6
      E0307 07:47:28.343113       1 import.go:420] update app version appv-mr5j5yy7247w7l status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-mr5j5yy7247w7l": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:28.527134       1 import.go:422] update app version appv-mr5j5yy7247w7l status success
      I0307 07:47:28.528679       1 import.go:163] start to create app, chart name: radondb-mysql, version: 1.0.0
      I0307 07:47:28.554855       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:28.701654       1 import.go:248] start to create app version, chart name: radondb-mysql, version: 1.0.0
      I0307 07:47:28.899239       1 import.go:331] create helm application version appv-prv24xw42l4k49 success
      I0307 07:47:28.899257       1 import.go:402] update app version status, chart name: radondb-mysql, version: 1.0.0
      E0307 07:47:29.085788       1 import.go:420] update app version appv-prv24xw42l4k49 status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-prv24xw42l4k49": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:29.327928       1 import.go:422] update app version appv-prv24xw42l4k49 status success
      I0307 07:47:29.330834       1 import.go:163] start to create app, chart name: elasticsearch-exporter, version: 3.3.4
      I0307 07:47:29.533291       1 import.go:122] create category, name: Prometheus Exporter
      I0307 07:47:29.798375       1 import.go:248] start to create app version, chart name: elasticsearch-exporter, version: 3.3.4
      I0307 07:47:30.165118       1 import.go:331] create helm application version appv-5nnr2k0z06kjkw success
      I0307 07:47:30.165145       1 import.go:402] update app version status, chart name: elasticsearch-exporter, version: 3.3.4
      E0307 07:47:30.255799       1 import.go:422] update app version appv-5nnr2k0z06kjkw status success
      I0307 07:47:30.263426       1 import.go:163] start to create app, chart name: radondb-postgresql, version: 1.0.1
      I0307 07:47:30.662919       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:30.965267       1 import.go:248] start to create app version, chart name: radondb-postgresql, version: 1.0.1
      I0307 07:47:31.160235       1 import.go:331] create helm application version appv-lkz4vxjm234545 success
      I0307 07:47:31.160304       1 import.go:402] update app version status, chart name: radondb-postgresql, version: 1.0.1
      E0307 07:47:31.223242       1 import.go:422] update app version appv-lkz4vxjm234545 status success
      I0307 07:47:31.224458       1 import.go:163] start to create app, chart name: redis-exporter, version: 3.4.5
      I0307 07:47:31.549972       1 import.go:122] create category, name: Prometheus Exporter
      I0307 07:47:31.791731       1 import.go:248] start to create app version, chart name: redis-exporter, version: 3.4.5
      I0307 07:47:32.054179       1 import.go:331] create helm application version appv-r7qxlj9q2l4k49 success
      I0307 07:47:32.054202       1 import.go:402] update app version status, chart name: redis-exporter, version: 3.4.5
      E0307 07:47:32.161080       1 import.go:422] update app version appv-r7qxlj9q2l4k49 status success
      I0307 07:47:32.161976       1 import.go:163] start to create app, chart name: memcached, version: 3.2.5
      I0307 07:47:32.651074       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:32.948712       1 import.go:248] start to create app version, chart name: memcached, version: 3.2.5
      I0307 07:47:33.221444       1 import.go:331] create helm application version appv-kox7o508234545 success
      I0307 07:47:33.221461       1 import.go:402] update app version status, chart name: memcached, version: 3.2.5
      E0307 07:47:33.276189       1 import.go:420] update app version appv-kox7o508234545 status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-kox7o508234545": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:33.585719       1 import.go:422] update app version appv-kox7o508234545 status success
      I0307 07:47:33.586452       1 import.go:163] start to create app, chart name: rabbitmq, version: 0.3.2
      I0307 07:47:33.965233       1 import.go:122] create category, name: Message Queueing
      I0307 07:47:33.981990       1 import.go:144] create category, name: Message Queueing, icon: blockchain
      I0307 07:47:34.373153       1 import.go:248] start to create app version, chart name: rabbitmq, version: 0.3.2
      I0307 07:47:34.761237       1 import.go:331] create helm application version appv-m5zyovwk247w7l success
      I0307 07:47:34.761252       1 import.go:402] update app version status, chart name: rabbitmq, version: 0.3.2
      E0307 07:47:34.982108       1 import.go:420] update app version appv-m5zyovwk247w7l status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-m5zyovwk247w7l": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:35.450912       1 import.go:422] update app version appv-m5zyovwk247w7l status success
      I0307 07:47:35.451843       1 import.go:163] start to create app, chart name: nginx, version: 1.3.5
      I0307 07:47:35.678103       1 import.go:122] create category, name: Networking
      I0307 07:47:35.959492       1 import.go:248] start to create app version, chart name: nginx, version: 1.3.5
      I0307 07:47:36.470022       1 import.go:331] create helm application version appv-ll7kj499234545 success
      I0307 07:47:36.470042       1 import.go:402] update app version status, chart name: nginx, version: 1.3.5
      E0307 07:47:36.661241       1 import.go:420] update app version appv-ll7kj499234545 status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-ll7kj499234545": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:36.964637       1 import.go:422] update app version appv-ll7kj499234545 status success
      I0307 07:47:36.965327       1 import.go:163] start to create app, chart name: etcd, version: 0.1.3
      I0307 07:47:37.375762       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:37.955970       1 import.go:248] start to create app version, chart name: etcd, version: 0.1.3
      I0307 07:47:38.442165       1 import.go:331] create helm application version appv-nylj0q3n234545 success
      I0307 07:47:38.442185       1 import.go:402] update app version status, chart name: etcd, version: 0.1.3
      E0307 07:47:38.581436       1 import.go:422] update app version appv-nylj0q3n234545 status success
      I0307 07:47:38.582355       1 import.go:163] start to create app, chart name: postgresql, version: 0.4.2
      I0307 07:47:39.245137       1 import.go:122] create category, name: Database & Cache
      I0307 07:47:39.828256       1 import.go:248] start to create app version, chart name: postgresql, version: 0.4.2
      I0307 07:47:40.343165       1 import.go:331] create helm application version appv-mrr8pkvm247w7l success
      I0307 07:47:40.343187       1 import.go:402] update app version status, chart name: postgresql, version: 0.4.2
      E0307 07:47:40.752109       1 import.go:420] update app version appv-mrr8pkvm247w7l status failed, retry: 0, error: Operation cannot be fulfilled on helmapplicationversions.application.kubesphere.io "appv-mrr8pkvm247w7l": the object has been modified; please apply your changes to the latest version and try again
      E0307 07:47:41.251310       1 import.go:422] update app version appv-mrr8pkvm247w7l status success

      我没注意,实际上集群部署成功了,应用商店组件也是正常的,只是日志那里没有反馈最终成功结果。

      ks-installer 的日志可能需要优化,我估计 ks-installer 里面有一个安装错误重试的机制。那这个问题算是解决了吧?

        Feynman

        解决了,安装是成功的,日志那里可能被某个任务卡住导致没有显示最终成功结果