purekeeper opened a new issue #863:
URL: https://github.com/apache/apisix-ingress-controller/issues/863


   ### Issue description
   
   Always alert error:    but i i can call  
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/routes 
by curl
   
   2022-02-13T11:29:24+08:00 error apisix/cluster.go:197 failed to list route 
in APISIX: Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/routes: 
context canceled
   2022-02-13T11:29:24+08:00 error apisix/cluster.go:164 failed to sync cache 
{"cost_time": "8.002459486s", "cluster": "default"}
   2022-02-13T11:29:24+08:00 error ingress/controller.go:396 failed to wait the 
default cluster to be ready: Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/routes: 
context canceled
   2022-02-13T11:29:24+08:00 info ingress/controller.go:337 controller now is 
running as a candidate {"namespace": "ingress-apisix", "pod": 
"apisix-ingress-controller-64c49fdf5-24v2l"}
   I0213 11:29:24.958518 1 leaderelection.go:243] attempting to acquire leader 
lease ingress-apisix/ingress-apisix-leader...
   2022-02-13T11:29:24+08:00 info apisix/cluster.go:155 syncing cache 
{"cluster": "default"}
   2022-02-13T11:29:24+08:00 info apisix/cluster.go:344 syncing schema 
{"cluster": "default"}
   2022-02-13T11:29:24+08:00 error apisix/route.go:117 failed to list routes: 
Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/routes: 
context canceled
   2022-02-13T11:29:24+08:00 error apisix/cluster.go:197 failed to list route 
in APISIX: Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/routes: 
context canceled
   2022-02-13T11:29:24+08:00 error apisix/plugin.go:46 failed to list plugins' 
names: Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/plugins/list:
 context canceled
   2022-02-13T11:29:24+08:00 error apisix/cluster.go:364 failed to list plugin 
names in APISIX: Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/plugins/list:
 context canceled
   2022-02-13T11:29:24+08:00 warn apisix/cluster.go:327 failed to sync schema: 
Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/plugins/list:
 context canceled
   2022-02-13T11:29:24+08:00 info ingress/controller.go:290 LeaderElection 
{"message": "apisix-ingress-controller-64c49fdf5-24v2l became leader", 
"event_type": "Normal"}
   I0213 11:29:24.975164 1 leaderelection.go:253] successfully acquired lease 
ingress-apisix/ingress-apisix-leader
   2022-02-13T11:29:24+08:00 info ingress/controller.go:370 controller tries to 
leading ... {"namespace": "ingress-apisix", "pod": 
"apisix-ingress-controller-64c49fdf5-24v2l"}
   2022-02-13T11:29:24+08:00 warn apisix/cluster.go:304 waiting cluster default 
to ready, it may takes a while
   [GIN] 2022/02/13 - 11:29:26 | 200 | 36.176µs | 172.31.63.152 | GET "/healthz"
   2022-02-13T11:29:26+08:00 error apisix/route.go:117 failed to list routes: 
Get 
http://apisix-admin.ingress-apisix.svc.cluster.local:9180/apisix/admin/routes: 
context canceled
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long):
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (uname -a):
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to