New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【离线安装第五步失败】push image goodrain.me/builder failure error detail: Get https://goodrain.me/v2/: Unknown Host #793
Comments
是一个节点吗? 提供下 k8s 集群的信息: kubectl get po -n kube-system 另外,到 rainbond-operator 容器里面 ping 一下 goodrain.me, 看认不认 goodrain.me. 进入 rainbond-operator 容器: kubectl exec -it rainbond-operator-0 -n rbd-sytem sh |
ping不通,容器内DNS解析
|
宿主机能 ping 同吗? |
再提供两个信息: resolve 文件:
coredns 配置: kubectl get cm coredns -n kube-system -o yaml |
宿主机可以,下面为coredn的日志,不知道是否有影响
|
宿主机
容器
|
我怀疑是 pod 用了 114.114.114.114,没有用 /etc/hosts。麻烦修改 coredns 的配置,然后重启 coredns。 配置如下:
|
记得提供下宿主机的 |
更改CM重启coredns,异常如下
宿主机host文件如下:
|
不好意思,弄错配置了。用下面这个:
另外,我想看的是 |
抱歉之前给错了 |
coredns cm
coredns pod日志
容器内ping
|
方便微信联系吗?我想远程看看,方便的话把微信发我邮箱 huangrh@goodrain.com. |
没有进一步状态更新我将关闭这个问题,若还有使用问题请移步 https://t.goodrain.com 用户社区沟通。 |
【部署环境】
grctl version
获取):最新
CentOS7
docker版本
Docker version 19.03.1, build 74b1e89e8a
访问web界面,执行第五步【处理镜像】失败,异常信息
push image goodrain.me/builder failure error detail: Get https://goodrain.me/v2/: Unknown Host
/etc/hosts信息
192.168.1.98 goodrain.me 192.168.1.98 region.goodrain.me
hub容器日志
time="2020-07-17T03:38:18Z" level=warning msg="No HTTP secret provided - generated random secret. This may cause problems with uploads if multiple registries are behind a load-balancer. To provide a shared secret, fill in http.secret in the configuration file or set the REGISTRY_HTTP_SECRET environment variable." go.version=go1.7.6 instance.id=0022ffbf-33ce-443b-84e4-715bc9bef61f version=v2.6.2 time="2020-07-17T03:38:18Z" level=info msg="redis not configured" go.version=go1.7.6 instance.id=0022ffbf-33ce-443b-84e4-715bc9bef61f version=v2.6.2 time="2020-07-17T03:38:18Z" level=info msg="Starting upload purge in 8m0s" go.version=go1.7.6 instance.id=0022ffbf-33ce-443b-84e4-715bc9bef61f version=v2.6.2 time="2020-07-17T03:38:18Z" level=info msg="using inmemory blob descriptor cache" go.version=go1.7.6 instance.id=0022ffbf-33ce-443b-84e4-715bc9bef61f version=v2.6.2 time="2020-07-17T03:38:18Z" level=info msg="listening on [::]:5000" go.version=go1.7.6 instance.id=0022ffbf-33ce-443b-84e4-715bc9bef61f version=v2.6.2 time="2020-07-17T03:39:21Z" level=warning msg="error authorizing context: basic authentication challenge for realm \"Registry Realm\": invalid authorization credential" go.version=go1.7.6 http.request.host=goodrain.me http.request.id=9d16d93e-6ced-44fa-b840-911f1ee23f66 http.request.method=GET http.request.remoteaddr=172.20.0.11 http.request.uri="/v2/" http.request.useragent="Go-http-client/1.1" instance.id=0022ffbf-33ce-443b-84e4-715bc9bef61f version=v2.6.2 172.20.0.1 - - [17/Jul/2020:03:39:21 +0000] "GET /v2/ HTTP/1.1" 401 87 "" "Go-http-client/1.1" time="2020-07-17T03:46:18Z" level=info msg="PurgeUploads starting: olderThan=2020-07-10 03:46:18.514952883 +0000 UTC, actuallyDelete=true" time="2020-07-17T03:46:18Z" level=info msg="Purge uploads finished. Num deleted=0, num errors=1" time="2020-07-17T03:46:18Z" level=info msg="Starting upload purge in 24h0m0s" go.version=go1.7.6 instance.id=0022ffbf-33ce-443b-84e4-715bc9bef61f version=v2.6.2
The text was updated successfully, but these errors were encountered: