telepresenceio / telepresence

Local development against a remote Kubernetes or OpenShift cluster
https://www.telepresence.io
Other
6.43k stars 507 forks source link

failed to add subnet #3639

Open qiaoenxin opened 3 days ago

qiaoenxin commented 3 days ago

Describe the bug A clear and concise description of what the bug is. Telepresence connect failed.

telepresence_logs.zip

2024-07-02 18:46:34.8275 info    ---
2024-07-02 18:46:34.8275 info    Telepresence daemon v2.18.0 (api v3) starting...
2024-07-02 18:46:34.8280 info    PID is 132328
2024-07-02 18:46:34.8280 info    
2024-07-02 18:46:34.9322 info    daemon/server-grpc : gRPC server started
2024-07-02 18:46:43.4480 info    daemon/session : -- Starting new session
2024-07-02 18:46:43.6156 info    daemon/session : Connected to OSS Traffic Manager v2.18.0
2024-07-02 18:46:43.6156 info    daemon/session : Connected to Manager 2.18.0
2024-07-02 18:46:43.6185 info    daemon/session : also-proxy subnets []
2024-07-02 18:46:43.6185 info    daemon/session : never-proxy subnets [170.18.9.17/32]
2024-07-02 18:46:43.6185 info    daemon/session : allow-conflicting subnets []
2024-07-02 18:46:43.6195 info    daemon/session : Configuration reloaded
2024-07-02 18:46:43.6225 info    daemon/session/network : also-proxy subnets []
2024-07-02 18:46:43.6225 info    daemon/session/network : never-proxy subnets [170.18.9.17/32]
2024-07-02 18:46:43.6225 info    daemon/session/network : allow-conflicting subnets []
2024-07-02 18:46:44.1227 info    daemon/session/network : Adding service subnet 241.254.0.0/16
2024-07-02 18:46:44.1232 info    daemon/session/network : Adding pod subnet 241.255.0.0/24
2024-07-02 18:46:44.1371 info    daemon/session/network : Creating interface tel0
2024-07-02 18:46:44.2365 info    stdlog : Using existing driver 0.14
2024-07-02 18:46:44.2432 info    stdlog : Creating adapter
2024-07-02 18:46:44.6652 info    daemon/session/network : Setting cluster DNS to 241.255.0.17
2024-07-02 18:46:44.6652 info    daemon/session/network : Setting cluster domain to "cluster.local."
2024-07-02 18:46:44.6652 info    daemon/session/network : Dropping never-proxy "170.18.9.17/32" because it is not routed
2024-07-02 18:46:44.6671 info    daemon/session/network : Starting Endpoint
2024-07-02 18:46:46.6563 error   daemon/session/network : failed to add subnet 241.254.0.0/16: The parameter is incorrect.
2024-07-02 18:46:46.6563 error   daemon/session/network : failed to add subnet 241.255.0.0/24: The parameter is incorrect.
2024-07-02 18:47:06.7869 error   daemon/session/dns/SearchPaths : DNS doesn't seem to work properly

To Reproduce Steps to reproduce the behavior: The kubernetes service subnet is 241.254.0.0/16. The kubernetes pod subnet is 241.255.0.0/16.

Expected behavior A clear and concise description of what you expected to happen.

Versions (please complete the following information):