cataglyphis opened a new issue, #10710:
URL: https://github.com/apache/apisix/issues/10710
### Description
We use helm chart `1.9.0` to deploy apisix `3.2.2` & ingress controller
`1.7.1`, and then deploy the apisix route as below. We can find this route in
dashboard. But find lots of error logs in apisix ingress controller.
Apisix Route Config:
```yaml
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
annotations:
creationTimestamp: "2023-12-25T09:40:01Z"
generation: 1
labels:
app.kubernetes.io/instance: portal-dev--ack
name: portal
namespace: portal-dev
resourceVersion: "2887359"
uid: 875c3f32-f8ec-44e5-94d5-ae8ff7a3eddb
spec:
http:
- backends:
- resolveGranularity: service
serviceName: portal
servicePort: 3000
match:
hosts:
- portal-dev.xxx.com
paths:
- /*
name: portal
plugins:
- config:
headers:
Referrer-Policy: strict-origin-when-cross-origin
Strict-Transport-Security: max-age=63072000; includeSubDomains;
preload
X-Content-Type-Options: nosniff
enable: true
name: response-rewrite
priority: 10
status:
conditions:
- message: Sync Successfully
observedGeneration: 1
reason: ResourcesSynced
status: "True"
type: ResourcesAvailable
```
Apisix Ingress Controller logs:
```
2023-12-26T10:23:57.017396068+08:00 2023-12-26T10:23:57+08:00 error
apisix/apisix_upstream.go:332 failed to get upstream portal-dev_portal_3000:
not found
2023-12-26T10:23:57.017404810+08:00 2023-12-26T10:23:57+08:00 warn
apisix/apisix_upstream.go:488 sync ApisixUpstream failed, will retry
{"object":
{"Type":4,"Object":{"Key":"portal-dev/portal","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "not found"}
2023-12-26T10:23:58.087295379+08:00 2023-12-26T10:23:58+08:00 warn
apisix/cluster.go:1164 upstream not found {"id": "6315ee35", "url":
"http://apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams/6315ee35",
"cluster": "default"}
2023-12-26T10:23:58.087322094+08:00 2023-12-26T10:23:58+08:00 error
apisix/apisix_upstream.go:332 failed to get upstream portal-dev_portal_3000:
not found
2023-12-26T10:23:58.087325210+08:00 2023-12-26T10:23:58+08:00 warn
apisix/apisix_upstream.go:488 sync ApisixUpstream failed, will retry
{"object":
{"Type":1,"Object":{"Key":"portal-dev/portal","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "not found"}
2023-12-26T10:24:57.031136702+08:00 2023-12-26T10:24:57+08:00 warn
apisix/cluster.go:1164 upstream not found {"id": "6315ee35", "url":
"http://apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams/6315ee35",
"cluster": "default"}
2023-12-26T10:24:57.031178396+08:00 2023-12-26T10:24:57+08:00 error
apisix/apisix_upstream.go:332 failed to get upstream portal-dev_portal_3000:
not found
2023-12-26T10:24:57.031204732+08:00 2023-12-26T10:24:57+08:00 warn
apisix/apisix_upstream.go:488 sync ApisixUpstream failed, will retry
{"object":
{"Type":4,"Object":{"Key":"portal-dev/portal","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "not found"}
2023-12-26T10:24:58.090452029+08:00 2023-12-26T10:24:58+08:00 warn
apisix/cluster.go:1164 upstream not found {"id": "6315ee35", "url":
"http://apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams/6315ee35",
"cluster": "default"}
2023-12-26T10:24:58.090485107+08:00 2023-12-26T10:24:58+08:00 error
apisix/apisix_upstream.go:332 failed to get upstream portal-dev_portal_3000:
not found
2023-12-26T10:24:58.090488402+08:00 2023-12-26T10:24:58+08:00 warn
apisix/apisix_upstream.go:488 sync ApisixUpstream failed, will retry
{"object":
{"Type":1,"Object":{"Key":"portal-dev/portal","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "not found"}
```
### Environment
- APISIX version (run `apisix version`): 3.2.2
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`): 3.5.10-debian-11-r2
- APISIX Dashboard version, if relevant: 3.0.0-alpine
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
- APISIX Ingress Controller version: 1.7.1
--
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]