You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/30 02:58:12 UTC

[GitHub] [apisix-ingress-controller] Horus-K opened a new issue #728: bug:

Horus-K opened a new issue #728:
URL: https://github.com/apache/apisix-ingress-controller/issues/728


   ### Issue description
   ![image](https://user-images.githubusercontent.com/48319268/139517895-460c4f0b-955a-4e5b-b561-96b5727b866d.png)
   ![image](https://user-images.githubusercontent.com/48319268/139517907-f953c06a-619c-4303-8b29-96b39de466e0.png)
   
   ### Environment
   Container memory leak causes node to restart
   The container is not configured with resource limits. I modified the apisix token, but did not modify the ingress-controller token
   
   ### Minimal test code / Steps to reproduce the issue
   
   1.
   2.
   3.
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   
   ### What's the expected result?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #728: bug:

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #728:
URL: https://github.com/apache/apisix-ingress-controller/issues/728#issuecomment-955644797


   It seems that the connection between APISIX and ETCD cluster is broken, could you check out whether the network was partitioned.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #728: bug:

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #728:
URL: https://github.com/apache/apisix-ingress-controller/issues/728#issuecomment-955237812


   what's your APISIX Ingress version?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #728: bug:

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #728:
URL: https://github.com/apache/apisix-ingress-controller/issues/728#issuecomment-965890384


   > I modified the apisix token, but did not modify the ingress-controller token
   
   If apisix-ingress cannot pass the apisix certification, then the log under normal circumstances should look like the following
   
   ```
   2021-11-11T08:36:52+08:00       error   apisix/cluster.go:164   failed to sync cache    {"cost_time": "8.009174516s", "cluster": "default"}
   2021-11-11T08:36:52+08:00       error   ingress/controller.go:411       failed to wait the default cluster to be ready: unexpected status code 401; error message: <html>
   <head><title>401 Authorization Required</title></head>
   <body>
   <center><h1>401 Authorization Required</h1></center>
   <hr><center>openresty</center>
   </body>
   </html>
   
   2021-11-11T08:36:52+08:00       info    ingress/controller.go:352       controller now is running as a candidate        {"namespace": "default", "pod": ""}
   I1111 08:36:52.236975   45230 leaderelection.go:243] attempting to acquire leader lease default/ingress-apisix-leader...
   2021-11-11T08:36:52+08:00       info    apisix/cluster.go:344   syncing schema  {"cluster": "default"}
   2021-11-11T08:36:52+08:00       debug   apisix/plugin.go:40     try to list plugins' names in APISIX    {"cluster": "default", "url": "http://127.0.0.1:9080/apisix/admin/plugins"}
   2021-11-11T08:36:52+08:00       error   apisix/plugin.go:46     failed to list plugins' names: Get "http://127.0.0.1:9080/apisix/admin/plugins/list": context canceled
   2021-11-11T08:36:52+08:00       error   apisix/cluster.go:364   failed to list plugin names in APISIX: Get "http://127.0.0.1:9080/apisix/admin/plugins/list": context canceled
   2021-11-11T08:36:52+08:00       info    apisix/cluster.go:155   syncing cache   {"cluster": "default"}
   2021-11-11T08:36:52+08:00       debug   apisix/route.go:111     try to list routes in APISIX    {"cluster": "default", "url": "http://127.0.0.1:9080/apisix/admin/routes"}
   2021-11-11T08:36:52+08:00       warn    apisix/cluster.go:327   failed to sync schema: Get "http://127.0.0.1:9080/apisix/admin/plugins/list": context canceled
   2021-11-11T08:36:52+08:00       error   apisix/route.go:117     failed to list routes: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:36:52+08:00       error   apisix/cluster.go:197   failed to list route in APISIX: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:36:52+08:00       info    ingress/controller.go:305       LeaderElection  {"message": " became leader", "event_type": "Normal"}
   I1111 08:36:52.239697   45230 leaderelection.go:253] successfully acquired lease default/ingress-apisix-leader
   2021-11-11T08:36:52+08:00       info    ingress/controller.go:385       controller tries to leading ... {"namespace": "default", "pod": ""}
   2021-11-11T08:36:52+08:00       warn    apisix/cluster.go:304   waiting cluster default to ready, it may takes a while
   2021-11-11T08:36:54+08:00       debug   apisix/route.go:111     try to list routes in APISIX    {"cluster": "default", "url": "http://127.0.0.1:9080/apisix/admin/routes"}
   2021-11-11T08:36:54+08:00       error   apisix/route.go:117     failed to list routes: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:36:54+08:00       error   apisix/cluster.go:197   failed to list route in APISIX: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:36:56+08:00       debug   apisix/route.go:111     try to list routes in APISIX    {"cluster": "default", "url": "http://127.0.0.1:9080/apisix/admin/routes"}
   2021-11-11T08:36:56+08:00       error   apisix/route.go:117     failed to list routes: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:36:56+08:00       error   apisix/cluster.go:197   failed to list route in APISIX: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:36:58+08:00       debug   apisix/route.go:111     try to list routes in APISIX    {"cluster": "default", "url": "http://127.0.0.1:9080/apisix/admin/routes"}
   2021-11-11T08:36:58+08:00       error   apisix/route.go:117     failed to list routes: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:36:58+08:00       error   apisix/cluster.go:197   failed to list route in APISIX: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:37:00+08:00       debug   apisix/route.go:111     try to list routes in APISIX    {"cluster": "default", "url": "http://127.0.0.1:9080/apisix/admin/routes"}
   2021-11-11T08:37:00+08:00       error   apisix/route.go:117     failed to list routes: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:37:00+08:00       error   apisix/cluster.go:197   failed to list route in APISIX: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   2021-11-11T08:37:00+08:00       error   apisix/cluster.go:164   failed to sync cache    {"cost_time": "8.004210921s", "cluster": "default"}
   2021-11-11T08:37:00+08:00       error   ingress/controller.go:411       failed to wait the default cluster to be ready: Get "http://127.0.0.1:9080/apisix/admin/routes": context canceled
   ```
   
   I did not reproduce it, please provide more detailed steps.
   For use in a production environment, it is recommended to configure resource limits.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org