[Error] 请检查您的域名: gitlab.xxx.cn 已正确解析到集群


#1

2019/04/12 10:18:25 [INFO] getting resource /version.yml
2019/04/12 10:18:31 [INFO] getting resource /0.15/install.yml
2019/04/12 10:18:31 [INFO] creating namespace c7n-system
2019/04/12 10:18:31 [INFO] creating logs to cluster
2019/04/12 10:18:31 [INFO] created pvc [slaver]
2019/04/12 10:18:32 [INFO] deploying daemonSet c7n-slaver
2019/04/12 10:18:33 [INFO] waiting slaver running…
2019/04/12 10:18:39 [INFO] waiting slaver running…
2019/04/12 10:18:45 [INFO] waiting slaver running…
2019/04/12 10:18:51 [INFO] waiting slaver running…
2019/04/12 10:18:52 [INFO] waiting slaver running…
2019/04/12 10:18:52 [INFO] clean history jobs…
2019/04/12 10:18:52 [INFO] start install gitlab-mysql
2019/04/12 10:18:52 [INFO] created pvc [gitlab-mysql]
请输入您要设置的gitlab数据库密码(不能为纯数字):
请再输入一次:
waiting…
2019/04/12 10:19:14 [INFO] installing gitlab-mysql
2019/04/12 10:19:14 [INFO] installed gitlab-mysql
2019/04/12 10:19:15 [INFO] start install mysql
2019/04/12 10:19:15 [INFO] created pvc [mysql]
请输入您要设置的mysql密码(不能为纯数字):
请再输入一次:
waiting…
2019/04/12 10:19:35 [INFO] installing mysql
2019/04/12 10:19:38 [INFO] installed mysql
2019/04/12 10:19:38 [INFO] start install redis
2019/04/12 10:19:38 [INFO] installing redis
2019/04/12 10:19:39 [INFO] installed redis
2019/04/12 10:19:39 [INFO] start install gitlab
2019/04/12 10:19:39 [INFO] created pvc [gitlab]
2019/04/12 10:19:41 [INFO] Waiting gitlab-mysql running
2019/04/12 10:21:53 [INFO] Waiting redis running
2019/04/12 10:21:53 [INFO] Wait domain gitlab.xxx point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:21:55 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:21:57 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:21:59 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:11 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:18 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:20 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:22 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:24 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:26 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:28 [INFO] Wait domain gitlab.g-pars.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:30 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:32 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:34 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:36 [INFO] Wait domain gitlab.xxx.cn point to cluster, check acme want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}, retry
2019/04/12 10:22:38 [Error] 请检查您的域名: gitlab.xxx.cn 已正确解析到集群
2019/04/12 10:22:38 [Error] install failed
Error: Check domain failed want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}
Usage:
c7n 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)

Check domain failed want yF0Nm23aTh2171IK5s0D1p4Tx8 got {“success”:false}
[root@localhost c7nctl-0.15.0]#

##装了好几次都是这个问题,干净的系统 完全按照你们的安装文档来的,这样的问题怎么解决???


#2

你好,请问 xxx.cn 域名是否映射到集群中?


#3

域名已经映射到了本地固定IP。再通过nginx指向了集群Node节点的IP


#4

这个报错就是域名没有映射到集群去哈,请检查域名映射配置


#5

已经找到问题,必须把域名映射到master节点IP,刚才查看了 报错是因为把IP映射到node节点了