[root@kube-master1 c7nctl-0.20.0]# ./c7nctl install -c config.yml --no-timeout --version=0.21 --debug
2020/03/18 10:13:59 [INFO] getting resource https://file.choerodon.com.cn/choerodon-install/version.yml
2020/03/18 10:14:00 [INFO] getting resource https://file.choerodon.com.cn/choerodon-install/0.21/install.yml
2020/03/18 10:14:00 [INFO] namespace c7n-system already exists
2020/03/18 10:14:00 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/03/18 10:14:01 [INFO] waiting slaver running…
2020/03/18 10:14:02 [INFO] waiting slaver running…
2020/03/18 10:14:02 [INFO] clean history jobs…
2020/03/18 10:14:02 [INFO] start install postgresql
2020/03/18 10:14:02 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/03/18 10:14:02 [INFO] using exist release postgresql
2020/03/18 10:14:02 [INFO] start install mysql
2020/03/18 10:14:02 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/03/18 10:14:02 [INFO] using exist release mysql
2020/03/18 10:14:02 [INFO] start install redis
2020/03/18 10:14:02 [INFO] using exist release redis
2020/03/18 10:14:02 [INFO] start install gitlab
2020/03/18 10:14:02 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/03/18 10:14:03 [INFO] Waiting postgresql running
2020/03/18 10:14:03 [DEBUG] postgresql: resource password is changeme123
2020/03/18 10:14:03 [DEBUG] checking postgresql-postgresql:5432
2020/03/18 10:14:03 [INFO] Waiting redis running
2020/03/18 10:14:03 [DEBUG] PreValue GITLAB_BASE_DOMAIN: gitlab.ume.choerodon.io, checking: clusterdomain
2020/03/18 10:14:03 [DEBUG] send request to slaver 0
2020/03/18 10:14:03 [DEBUG] Get status code: 200 of 195.168.233.192
2020/03/18 10:14:03 [DEBUG] send request to slaver 1
2020/03/18 10:14:03 [DEBUG] Get status code: 200 of 195.168.53.193
2020/03/18 10:14:03 [DEBUG] send request to slaver 2
2020/03/18 10:14:03 [DEBUG] Get status code: 200 of 195.168.195.1
2020/03/18 10:14:03 [DEBUG] send request to slaver 3
2020/03/18 10:14:03 [DEBUG] Get status code: 200 of 195.168.119.129
2020/03/18 10:14:03 [DEBUG] send request to slaver 4
2020/03/18 10:14:03 [DEBUG] Get status code: 200 of 195.168.9.65
2020/03/18 10:14:03 [DEBUG] send request to slaver 5
2020/03/18 10:14:03 [DEBUG] Get status code: 200 of 195.168.102.66
2020/03/18 10:14:03 [DEBUG] send request to slaver 6
2020/03/18 10:14:03 [DEBUG] Get status code: 200 of 195.168.169.65
2020/03/18 10:14:03 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:05 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:07 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:09 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:11 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:13 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:15 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:17 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:19 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:21 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:23 [INFO] request http://gitlab.ume.choerodon.io/c7n/acme-challenge
2020/03/18 10:14:23 [Error] 请检查您的域名: gitlab.ume.choerodon.io 已正确解析到集群
2020/03/18 10:14:23 [Error] install failed
Error: resp code 404 not is 2xx or 3xx
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
resp code 404 not is 2xx or 3xx