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

run edgemesh-agent failed #556

Open
zhushuaifeifei opened this issue Mar 25, 2024 · 3 comments
Open

run edgemesh-agent failed #556

zhushuaifeifei opened this issue Mar 25, 2024 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zhushuaifeifei
Copy link

I0325 02:02:43.205688 1 server.go:58] Version: v1.13.0-beta.0.136+ca8ebc27189266-dirty
I0325 02:02:43.205960 1 server.go:94] [1] Prepare agent to run
I0325 02:02:43.207228 1 netif.go:96] bridge device edgemesh0 already exists
I0325 02:02:43.207592 1 server.go:98] edgemesh-agent running on EdgeMode
I0325 02:02:43.296172 1 server.go:101] [2] New clients
I0325 02:02:43.300400 1 server.go:108] [3] Register beehive modules
I0325 02:02:43.304885 1 module.go:34] Module EdgeDNS registered successfully
I0325 02:02:43.396794 1 server.go:68] Using userspace Proxier.
I0325 02:02:46.036925 1 util.go:273] Listening to tunl0 is meaningless, skip it.
I0325 02:02:46.098493 1 util.go:273] Listening to docker0 is meaningless, skip it.
I0325 02:02:46.098844 1 util.go:273] Listening to edgemesh0 is meaningless, skip it.
I0325 02:02:46.799705 1 module.go:189] I'm {12D3KooWQQsDnTJz128WcrMTApSgXtSsYGya7ghM73wkPEQ4Sz1E: [/ip4/127.0.0.1/tcp/20006 /ip4/10.220.90.184/tcp/20006]}
I0325 02:02:46.801490 1 module.go:211] Bootstrapping the DHT
I0325 02:02:46.801651 1 tunnel.go:439] [Bootstrap] bootstrapping to 12D3KooW9yF6fZvnMC3zxXSrxZSq1JM8otuwz7uTQ7FjNfKtFxVK
I0325 02:02:47.596728 1 tunnel.go:449] [Bootstrap] success bootstrapped with {12D3KooW9yF6fZvnMC3zxXSrxZSq1JM8otuwz7uTQ7FjNfKtFxVK: [/ip4/36.133.50.140/tcp/20006]}
I0325 02:02:47.800953 1 tunnel.go:86] Starting MDNS discovery service
I0325 02:02:47.801123 1 tunnel.go:99] Starting DHT discovery service
I0325 02:02:47.801480 1 module.go:34] Module EdgeTunnel registered successfully
W0325 02:02:47.801516 1 module.go:37] Module EdgeCNI is disabled, do not register
I0325 02:02:47.801545 1 server.go:110] edgemesh-agent exited
F0325 02:02:47.801565 1 server.go:60] run edgemesh-agent failed: [
register module edgeproxy error: new proxy server err: unable to create proxier: failed to initialize iptables: error checking rule: exit status 2: iptables v1.8.3 (legacy): Couldn't load target `KUBE-NODEPORT-NON-LOCAL':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

@zhushuaifeifei zhushuaifeifei added the kind/bug Categorizes issue or PR as related to a bug. label Mar 25, 2024
@zhushuaifeifei
Copy link
Author

I0321 13:02:12.906861 1 server.go:58] Version: v1.16.0-dirty
I0321 13:02:12.907210 1 server.go:94] [1] Prepare agent to run
I0321 13:02:12.910147 1 netif.go:96] bridge device edgemesh0 already exists
I0321 13:02:12.910541 1 server.go:98] edgemesh-agent running on EdgeMode
I0321 13:02:12.910624 1 server.go:101] [2] New clients
I0321 13:02:12.999645 1 server.go:108] [3] Register beehive modules
I0321 13:02:13.002572 1 module.go:34] Module EdgeDNS registered successfully
I0321 13:02:13.003709 1 server.go:68] Using userspace Proxier.
I0321 13:02:15.199411 1 util.go:273] Listening to tunl0 is meaningless, skip it.
I0321 13:02:15.300927 1 util.go:273] Listening to docker0 is meaningless, skip it.
I0321 13:02:15.301906 1 util.go:273] Listening to edgemesh0 is meaningless, skip it.
I0321 13:02:16.095863 1 module.go:189] I'm {12D3KooWQQsDnTJz128WcrMTApSgXtSsYGya7ghM73wkPEQ4Sz1E: [/ip4/127.0.0.1/tcp/20006 /ip4/10.220.90.184/tcp/20006]}
I0321 13:02:16.095987 1 module.go:211] Bootstrapping the DHT
I0321 13:02:16.096028 1 tunnel.go:439] [Bootstrap] bootstrapping to 12D3KooW9yF6fZvnMC3zxXSrxZSq1JM8otuwz7uTQ7FjNfKtFxVK
I0321 13:02:16.802671 1 tunnel.go:449] [Bootstrap] success bootstrapped with {12D3KooW9yF6fZvnMC3zxXSrxZSq1JM8otuwz7uTQ7FjNfKtFxVK: [/ip4/36.133.50.140/tcp/20006]}
I0321 13:02:16.906432 1 tunnel.go:86] Starting MDNS discovery service
I0321 13:02:16.906560 1 tunnel.go:99] Starting DHT discovery service
I0321 13:02:16.907127 1 module.go:34] Module EdgeTunnel registered successfully
W0321 13:02:16.907307 1 module.go:37] Module EdgeCNI is disabled, do not register
I0321 13:02:16.907412 1 server.go:110] edgemesh-agent exited
F0321 13:02:16.907455 1 server.go:60] run edgemesh-agent failed: [
register module edgeproxy error: new proxy server err: unable to create proxier: failed to initialize iptables: error checking rule: exit status 2: iptables v1.8.3 (legacy): Couldn't load target `KUBE-NODEPORT-NON-LOCAL':No such file or directory

Try `iptables -h' or 'iptables --help' for more information.

]

@zhushuaifeifei
Copy link
Author

I tried two versions but failed to run successfully,can you help me?

@Poorunga
Copy link
Member

Please check the iptables version of the host machine

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

2 participants