一键部署在xwiki失败

多次使用一键部署,在部署XWIKI时报如下的错误:

2019/07/16 16:12:36 [DEBUG] Get status code: 200 of 10.233.65.3
2019/07/16 16:12:36 [DEBUG] PreValue DATASOURCE_URL: jdbc:mysql://mysql:3306/test-manager-service?useUnicode=true&characterEncoding=utf-8&useSSL=false, checking:
2019/07/16 16:12:36 [DEBUG] PreValue DATABASE_USERNAME: choerodon, checking:
2019/07/16 16:12:36 [DEBUG] PreValue DATABASE_PASSWORD: password, checking:
2019/07/16 16:12:36 [INFO] task predb had executed
2019/07/16 16:12:39 [INFO] installing xwiki
2019/07/16 16:12:39 [DEBUG] env.JAVA_OPTS=-Xmx4096m
2019/07/16 16:12:39 [DEBUG] env.DB_USER=choerodon
2019/07/16 16:12:39 [DEBUG] env.DB_PASSWORD=password
2019/07/16 16:12:39 [DEBUG] env.DB_HOST=mysql
2019/07/16 16:12:39 [DEBUG] env.DB_DATABASE=xwiki
2019/07/16 16:12:39 [DEBUG] env.OIDC_ENDPOINT_AUTHORIZATION=http://api.railwaydetect.com/oauth/oauth/authorize
2019/07/16 16:12:39 [DEBUG] env.OIDC_ENDPOINT_TOKEN=http://api.railwaydetect.com/oauth/oauth/token
2019/07/16 16:12:39 [DEBUG] env.OIDC_ENDPOINT_USERINFO=http://api.railwaydetect.com/iam/v1/users/self
2019/07/16 16:12:39 [DEBUG] env.OIDC_ENDPOINT_LOGOUT=http://api.railwaydetect.com/oauth/logout
2019/07/16 16:12:39 [DEBUG] env.CHOERODON_REQUEST_API_URL=http://api.railwaydetect.com
2019/07/16 16:12:39 [DEBUG] env.CHOERODON_REQUEST_FRONT_URL=http://c7n.railwaydetect.com
2019/07/16 16:12:39 [DEBUG] env.OIDC_CLIENTID=wiki
2019/07/16 16:12:39 [DEBUG] env.OIDC_SECRET=secret
2019/07/16 16:12:39 [DEBUG] env.OIDC_WIKI_TOKEN=Choerodon
2019/07/16 16:12:39 [DEBUG] persistence.enabled=true
2019/07/16 16:12:39 [DEBUG] persistence.existingClaim=xwiki
2019/07/16 16:12:39 [DEBUG] service.enabled=true
2019/07/16 16:12:39 [DEBUG] ingress.enabled=true
2019/07/16 16:12:39 [DEBUG] ingress.hosts[0]=wiki.railwaydetect.com
2019/07/16 16:12:42 [Error] install failed
Error: rpc error: code = Unknown desc = jobs.batch “xwiki-init-data” already exists
Usage:
c7nctl install [flags]

Flags:
-c, --config-file string User Config file to read from, User define config by this file
–debug enable debug output
-h, --help help for install
–no-timeout disable install job timeout
–prefix string add prefix to all helm release
-r, --resource-file string Resource file to read from, It provide which app should be installed
–skip-input use default username and password to avoid user input
–version string specify a version

Global Flags:
–config string config file (default is $HOME/.c7n.yaml)
-o, --orgCode string org code
-p, --proCode string pro code

rpc error: code = Unknown desc = jobs.batch “xwiki-init-data” already exists

xwiki-init-data 这个服务的确存在

iam-service-init-config-p9swm 0/1 Completed 0 3h
iam-service-init-db-bb9m5 0/1 Completed 0 3h
issue-service-5657c66cc5-4n6p8 1/1 Running 0 2h
issue-service-init-config-plxnx 0/1 Completed 0 2h
issue-service-init-db-9smmn 0/1 Completed 0 2h
manager-service-584bc876cb-wgpnc 1/1 Running 0 3h
manager-service-init-db-8pxp4 0/1 Completed 0 3h
minio-6f579cc97f-999gg 1/1 Running 0 3h
mysql-58b449f4b5-ks8cv 1/1 Running 0 3h
mysql-58b449f4b5-svc7g 0/1 Evicted 0 3h
notify-service-645b9b56c9-v54mn 1/1 Running 0 3h
notify-service-init-config-5s69k 0/1 Completed 0 3h
notify-service-init-db-kx97l 0/1 Completed 0 3h
oauth-server-664ddb5b45-jvmcf 1/1 Running 0 3h
oauth-server-init-config-tbvvr 0/1 Completed 0 3h
postgresql-postgresql-0 1/1 Running 1 3h
redis-55567658d4-n5hgz 1/1 Running 0 3h
register-server-778866f56-cwpss 1/1 Running 0 3h
state-machine-service-6c866c4496-4vfhr 1/1 Running 0 2h
state-machine-service-init-config-2r58j 0/1 Completed 0 2h
state-machine-service-init-db-68wsr 0/1 Completed 0 2h
test-manager-service-756b67f4fd-jlwzk 1/1 Running 0 2h
test-manager-service-init-config-47vjf 0/1 Completed 0 2h
test-manager-service-init-db-nxx5z 0/1 Completed 0 2h
workflow-service-6fc6d5f44f-p9ptq 1/1 Running 0 2h
workflow-service-init-config-qr48l 0/1 Completed 0 2h
xwiki-init-data-d7dq6 0/1 Completed 0 2h

怎么样才能继续部署

Hi, 0.18开始已经无需部署xwiki了, 重新执行一次一键安装命令即可

version: 0.18
metadata:
name: install-choerodon
namespace: c7n-system # 指定命名空间安装choerodon
spec:
persistence:
storageClassName: nfs-provisioner
resources:
mysql:
external: false
gitlab:
domain: gitlab.railwaydetect.com
external: false
username: root
schema: http
minio:
domain: minio.railwaydetect.com
schema: http
harbor:
domain: harbor.railwaydetect.com
schema: https
username: admin
chartmuseum:
domain: chart.railwaydetect.com
schema: http
api-gateway:
domain: api.railwaydetect.com
schema: http
notify-service:
domain: notify.railwaydetect.com
schema: ws
devops-service:
domain: devops.railwaydetect.com
schema: ws
choerodon-front:
domain: c7n.railwaydetect.com
schema: http
username: admin
password: admin
xwiki:
domain: wiki.railwaydetect.com
schema: http

这个里边吧XWIKI 删掉就可以了吗

可以的

这个knowledgebase-service 也是一直都装不上呢

初始化任务会持续一两分钟 建议稍等一会