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

[Question]Edge pod connectivity test failed #2215

Open
nelzhang02184516 opened this issue Dec 4, 2024 · 2 comments
Open

[Question]Edge pod connectivity test failed #2215

nelzhang02184516 opened this issue Dec 4, 2024 · 2 comments
Labels
kind/question kind/question

Comments

@nelzhang02184516
Copy link

What happened:
image

image

I conducted connectivity testing on the busy-box pod on node fj-xamen-4.10.0.0.12 (Raven gateway node) and found that the data disappeared after passing through node fj-quanzhou-8.10.0.0.12 (Raven gateway node) and reaching node fj-quanzhou-8.10.0.0.14.
image
image
image
image

The same operation is performed on the busy-box pod (non Raven gateway) of fj-xamen-4.10.0.0.11, ping 172.16.0.72. There is data on fj-xamen-4.10.0.0.11 and fj-xamen-4.10.0.0.12, but no data on fj-quanzhou-8.10.0.0.12.
image
image
image

On fj-quanzhou-8.10.0.0.12, the bus pod IP of fj-xamen-4.10.0.0.12 can be tested to be normal
image

What you expected to happen:
cloud-edge communication
How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • OpenYurt version:v1.4.4
  • Kubernetes version (use kubectl version):v1.25.6
  • OS (e.g: cat /etc/os-release):Linux
  • Kernel (e.g. uname -a):3.10.0-1160.119.1.el7.x86_64
  • Install tools:
  • Others:

others
/kind question

@nelzhang02184516 nelzhang02184516 added the kind/question kind/question label Dec 4, 2024
@YTGhost
Copy link
Member

YTGhost commented Dec 4, 2024

This issue appears to be one that was fixed last year. Could you please provide the Raven version deployed in your cluster, the configured Gateway resource objects, and the iptables NAT table information on gateway node(if you use flannel, just like iptables -t nat -vnL FLANNEL-POSTRTG)?

@nelzhang02184516
Copy link
Author

This issue appears to be one that was fixed last year. Could you please provide the Raven version deployed in your cluster, the configured Gateway resource objects, and the iptables NAT table information on gateway node(if you use flannel, just like iptables -t nat -vnL FLANNEL-POSTRTG)?

raven-agent:0.4.2

cloud gateway
`[root@fj-quanzhou-8 /]# kubectl get gw gw-cloud -oyaml
apiVersion: raven.openyurt.io/v1beta1
kind: Gateway
metadata:
generation: 1
name: gw-cloud
resourceVersion: "38575"
uid: d8b4ce77-bf6a-45fe-8941-e2e003d4a681
spec:
endpoints:

  • nodeName: fj-quanzhou-8.10.0.0.12
    port: 10262
    publicIP: 120.xx.xx.xx
    type: proxy
  • nodeName: fj-quanzhou-8.10.0.0.12
    port: 4500
    publicIP: 120.xx.xx.xx
    type: tunnel
    exposeType: PublicIP
    nodeSelector:
    matchLabels:
    raven.openyurt.io/gateway: gw-cloud
    proxyConfig:
    Replicas: 1
    proxyHTTPPort: 10255,9445
    proxyHTTPSPort: 10250,9100
    tunnelConfig:
    Replicas: 1
    status:
    activeEndpoints:
  • config:
    enable-l7-proxy: "true"
    nodeName: fj-quanzhou-8.10.0.0.12
    port: 10262
    publicIP: 120.xx.xx.xx
    type: proxy
  • config:
    enable-l3-tunnel: "true"
    nodeName: fj-quanzhou-8.10.0.0.12
    port: 4500
    publicIP: 120.xx.xx.xx
    type: tunnel
    nodes:
  • nodeName: fj-quanzhou-8.10.0.0.12
    privateIP: 10.0.0.12
    subnets:
    • 172.16.0.0/26
  • nodeName: fj-quanzhou-8.10.0.0.13
    privateIP: 10.0.0.13
    subnets:
    • 172.16.0.128/26
  • nodeName: fj-quanzhou-8.10.0.0.14
    privateIP: 10.0.0.14
    subnets:
    • 172.16.0.64/26`

edge gateway
`[root@fj-quanzhou-8 /]# kubectl get gw gw-fj-xiamen-4 -oyaml
apiVersion: raven.openyurt.io/v1beta1
kind: Gateway
metadata:
generation: 1
name: gw-fj-xiamen-4
resourceVersion: "36329"
uid: 0cebcba1-6a1a-45c8-a9e2-632ca7fee94d
spec:
endpoints:

  • nodeName: fj-xiamen-4.10.0.0.12
    port: 10262
    publicIP: 120.xx.xx.xx
    type: proxy
    underNAT: true
  • nodeName: fj-xiamen-4.10.0.0.12
    port: 4500
    publicIP: 120.xx.xx.xx
    type: tunnel
    underNAT: true
    nodeSelector:
    matchLabels:
    raven.openyurt.io/gateway: gw-fj-xiamen-4
    proxyConfig:
    Replicas: 1
    tunnelConfig:
    Replicas: 1
    status:
    activeEndpoints:
  • config:
    enable-l7-proxy: "true"
    nodeName: fj-xiamen-4.10.0.0.12
    port: 10262
    publicIP: 120.xx.xx.xx
    type: proxy
    underNAT: true
  • config:
    enable-l3-tunnel: "true"
    nodeName: fj-xiamen-4.10.0.0.12
    port: 4500
    publicIP: 120.xx.xx.xx
    type: tunnel
    underNAT: true
    nodes:
  • nodeName: fj-xiamen-4.10.0.0.11
    privateIP: 10.0.0.11
    subnets:
    • 172.16.0.192/26
  • nodeName: fj-xiamen-4.10.0.0.12
    privateIP: 10.0.0.12
    subnets:
    • 172.16.1.0/26`

cloud gateway node
image

edge gateway node
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question kind/question
Projects
None yet
Development

No branches or pull requests

2 participants