Skip to content
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

边缘端访问云端时,边缘端解析域名失败 #547

Open
HusenHuang opened this issue Feb 21, 2024 · 10 comments
Open

边缘端访问云端时,边缘端解析域名失败 #547

HusenHuang opened this issue Feb 21, 2024 · 10 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@HusenHuang
Copy link

What happened:
运行测试用例 examples/cloudzone.yaml 和 examples/edgezone.yaml 测试跨云边通信,由云访问边没有问题,边访问云出现 telnet hand住的情况
What you expected to happen:
边端能够访问云端

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
已经参考https://zhuanlan.zhihu.com/p/585749690 问题5自查过了,还是出现无法解析的问题
在边缘端宿主机测试结果
image
在边缘端 pod测试结果
image

Environment:

  • EdgeMesh version: 1.15

  • Kubernetes version (use kubectl version): 1.26.9

  • KubeEdge version(e.g. cloudcore --version and edgecore --version): 1.15.2

  • Containerd:1.6.28

  • Cloud nodes Environment:
    • Hardware configuration (e.g. lscpu):
    • OS (e.g. cat /etc/os-release): Ubuntu 20.04.6 LTS
    • Kernel (e.g. uname -a):
    • Go version (e.g. go version):
    • Others:
  • Edge nodes Environment:
    • edgecore version (e.g. edgecore --version):
    • Hardware configuration (e.g. lscpu):
    • OS (e.g. cat /etc/os-release): Ubuntu 20.04.6 LTS
    • Kernel (e.g. uname -a):
    • Go version (e.g. go version):
    • Others:
@HusenHuang HusenHuang added the kind/bug Categorizes issue or PR as related to a bug. label Feb 21, 2024
@HusenHuang
Copy link
Author

HusenHuang commented Feb 21, 2024

边缘端的edgemesh日志
edge-edgemesh-agent.log
边缘端的edgecore日志
edgecore.log
云端edgemesh日志
cloud-edgemesh-agent.log
云端cloudcore日志
cloudcore.log

@HusenHuang
Copy link
Author

根据issueKubeEdge issue 3445里的指导,临时规避方式如下:
a. 删除service
b. kubectl delete objectsync --all
c. 重启cloudcore、edgecore,重新部署edgemesh
d. 重新创建service
这个也临时操作了,边缘端还是无法解析云端

@victorming666
Copy link

我也遇到同样问题,云访问边没问题,边访问云报dns无法解析:
云访问边OK:
image
边访问云NG:
image

@biao-lvwan
Copy link

怎么解决啊

@HusenHuang
Copy link
Author

telnet tcp-echo-cloud-svc.cloudzone 2701 改成 telnet tcp-echo-cloud-svc.cloudzone.svc.cluster.local 2701 就可以了

@letweare
Copy link

怎么解决啊

我和你遇见的问题一样
你现在解决了么

@letweare
Copy link

telnet tcp-echo-cloud-svc.cloudzone 2701 改成 telnet tcp-echo-cloud-svc.cloudzone.svc.cluster.local 2701 就可以了

我试了 也是不行

@biao-lvwan
Copy link

telnet tcp-echo-cloud-svc.cloudzone 2701 改成 telnet tcp-echo-cloud-svc.cloudzone.svc.cluster.local 2701 就可以了

我试了 也是不行
目前还没解决

@letweare
Copy link

telnet tcp-echo-cloud-svc.cloudzone 2701 改成 telnet tcp-echo-cloud-svc.cloudzone.svc.cluster.local 2701 就可以了

我试了 也是不行
目前还没解决

这个方法我还是连接不了

@guanpengwei
Copy link

同样的问题,求助

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants