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

apisix-ingress-controller日志一直报错 #659

Closed
RunYuannn opened this issue Sep 2, 2021 · 19 comments
Closed

apisix-ingress-controller日志一直报错 #659

RunYuannn opened this issue Sep 2, 2021 · 19 comments

Comments

@RunYuannn
Copy link

Issue description

按照文档 Install Ingress APISIX on K3S and Rancher RKE安装,但是apisix-ingress-controller pod一直刷error日志,并按照文档 Proxy the httpbin service with Ingress 配置ingress无效

image

image

apisix-ingress-controller 日志报错:

image

404:

image

yaml:

image

Environment

  • your apisix-ingress-controller version (output of apisix-ingress-controller version --long);

1630564440(1)

  • your Kubernetes cluster version (output of kubectl version);

1630564473(1)

@tao12345666333
Copy link
Member

tao12345666333 commented Sep 2, 2021

can you try to delete apisix-ingress-controller pod?

(or kubectl rollout restart it)

@RunYuannn
Copy link
Author

RunYuannn commented Sep 2, 2021

@tao12345666333

can you try to delete apisix-ingress-controller pod?

(or kubectl rollout restart it)

image

it seems normal,but still 404

image

image

@tao12345666333
Copy link
Member

can you please delete your ingress resource and re-apply it ?

@RunYuannn
Copy link
Author

helm delete apisix -n ingress-apisix ?

@tao12345666333
Copy link
Member

no, only need kubectl delete ingress resource

@RunYuannn
Copy link
Author

is that right?

8bfda9bc0bbe274f366c7fc238bd729

fe06cc5ce7b3a77c1e4c5deac3f4ddd

image

@tokers
Copy link
Contributor

tokers commented Sep 2, 2021

@RunYuannn Where is the namespace of the ingress resource?

@RunYuannn
Copy link
Author

@tokers ingress-apisix. same namespace as apisix

@marchlhw
Copy link

marchlhw commented Jan 20, 2022

我也遇到了一些类似的问题,如下:
图片
图片
图片
图片

@tao12345666333
Copy link
Member

@marchlhw what's your apisix-ingress version?

It looks like the APISIX Ingress controller is not connected to the APISIX cluster.

@marchlhw
Copy link

图片

@tokers
Copy link
Contributor

tokers commented Jan 24, 2022

@tao12345666333 If I remember correctly, we don't merge the #774 in 1.3.0?

@tao12345666333
Copy link
Member

@tokers right! #774 was merged into v1.4.

@tao12345666333
Copy link
Member

@marchlhw Please try to restart APISIX Ingress controller.
Or check if the connection information of APISIX is correct.

@marchlhw
Copy link

marchlhw commented Jan 26, 2022

@marchlhw Please try to restart APISIX Ingress controller. Or check if the connection information of APISIX is correct.

图片
图片
在apisix ingress controller容器里调用管理API是正常的,这说明apisix本身是没有问题的,controller自身应该存在有问题:
2022-01-26T15:11:51+08:00 error apisix/cluster.go:197 failed to list route in APISIX: Get http://apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/routes: context canceled

@marchlhw
Copy link

marchlhw commented Jan 26, 2022

重建了ingress-controller,现在报:022-01-26T17:41:05+08:00 error ingress/pod.go:131 failed to delete pod from cache

图片

@tao12345666333
Copy link
Member

@marchlhw please refer to #851 (comment)

I will fix the Helm chat today.

@tao12345666333
Copy link
Member

@marchlhw @RunYuannn Do you still have problems if you use the latest version?

@tao12345666333
Copy link
Member

This issue has not been updated for too long, and based on current testing and some feedback, the issue has been fixed. I will close it. If you still have this problem, please feel free to reply or reopen it.

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

No branches or pull requests

4 participants