-
Notifications
You must be signed in to change notification settings - Fork 305
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
dfdaemon重启之后下载镜像失败 #1733
Comments
配置能不能贴到代码段里?直接写进来,格式乱了,另外就是有 debug 的日志么? |
从日志上来看,
下面两行是报错了,
后续请求,tls 成功握手
|
1、我检查了宿主机上(dfdaemon容器内挂在的这两个证书)/etc/dragonfly-ca/cacert.pem与cakey.pem证书,并确保了/etc/docker/certs.d/harbor.test.cn/ca.crt内容与cacert.pem一致,并且/etc/dragonfly-ca/cacert.pem证书追加到了/etc/pki/tls/certs/ca-bundle.crt中。
|
看一下
|
1、重建pod后/etc/docker/certs.d/harbor.test.cn/ca.crt被重新复制了一遍,所以文件的创建时间变了,但我对比了里面的内容是与/etc/dragonfly-ca/cacert.pem一致的,且md5值一致。 |
加我们的钉钉群吧,在线帮你看看 |
钉钉群怎么加入?扫码是“居民个案管理” |
最近好像都阳了,这个二维码我回头看看。 |
@jim3ma @yangchuan37326 请问这个问题最后解决了吗?我用的最新版本,安装完拉取镜像就遇到和这一样的报错,连镜像都下载不了 |
我的情况是因为helm安装时。halm的模板在添加proxy给docker的地方有问题,没成功给docker修改proxy,手动创建proxy给docker之后可以拉取了 |
1、环境信息
dragonfly:2.0.3
docker:20.10.12
k8s:1.19.7
2、问题描述
通过官方提供的helm在k8s上部署dragonfly,第一次部署成功之后一切正常工作,node节点可下载镜像。当dfdaemon-pod异常k8s重新拉起一个新的pod之后,node节点不可下载镜像,报错如下:
Error response from daemon: received unexpected HTTP status: 502 Bad Gateway
同时dfdaemon日志报错:
3、dfdaemon配置文件
4、排查
怀疑是证书问题,但我可以确定dfdaemon-pod重建之后使用的还是原来的证书。
请问这种情况是哪些配置参数设置的有问题吗
The text was updated successfully, but these errors were encountered: