papdaniel commented on issue #2082:
URL:
https://github.com/apache/apisix-ingress-controller/issues/2082#issuecomment-1842739998
I don't see any debug messages for some reason. I set the log level this
way, maybe I missed something?:
```
- command:
- /ingress-apisix/apisix-ingress-controller
- ingress
- --config-path
- /ingress-apisix/conf/config.yaml
- --log-level
- debug
```
Here is the whole log from the time I creatd the ApisixTls resource:
```
2023-12-06T18:13:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 47.72µs
2023-12-06T18:13:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 23.791µs
2023-12-06T18:13:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 112.831µs
2023-12-06T18:13:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 225.661µs
2023-12-06T18:13:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.6µs
2023-12-06T18:13:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 35.4µs
2023-12-06T18:13:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 35.871µs
2023-12-06T18:13:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 37.33µs
W1206 18:13:42.614919 1 warnings.go:70] unknown field
"status.conditions[0].lastTransitionTime"
W1206 18:13:42.661106 1 warnings.go:70] unknown field
"status.conditions[0].lastTransitionTime"
2023-12-06T18:13:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.74µs
2023-12-06T18:13:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 24.381µs
2023-12-06T18:13:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 39.98µs
2023-12-06T18:13:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 52.81µs
2023-12-06T18:14:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 37.53µs
2023-12-06T18:14:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 24.31µs
2023-12-06T18:14:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 38.99µs
2023-12-06T18:14:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 39.02µs
2023-12-06T18:14:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 24.801µs
2023-12-06T18:14:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 40.451µs
2023-12-06T18:14:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 36.56µs
2023-12-06T18:14:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 25.02µs
2023-12-06T18:14:44+08:00 error apisix/apisix_tls.go:190
failed to translate ApisixTls {"error": "secret \"c-deps\" not found",
"ApisixTls":
{"metadata":{"name":"c-deps","namespace":"test-tls","uid":"1830bffc-5528-4fa1-9e4c-cb7f0f59e5de","resourceVersion":"239012275","generation":1,"creationTimestamp":"2023-12-06T10:14:44Z","managedFields":[{"manager":"kubectl-create","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2023-12-06T10:14:44Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:hosts":{},"f:secret":{".":{},"f:name":{},"f:namespace":{}}}}}]},"spec":{"hosts":["*.example.com"],"secret":{"name":"c-deps","namespace":"test-tls"}},"status":{}}}
2023-12-06T18:14:44+08:00 info apisix/apisix_tls.go:257 sync
ApisixTls but not found, ignore {"event_type": "add", "ApisixTls":
"test-tls/c-deps", "version": "apisix.apache.org/v2"}
2023-12-06T18:14:44+08:00 error apisix/apisix_tls.go:190
failed to translate ApisixTls {"error": "secret \"c-deps\" not found",
"ApisixTls":
{"metadata":{"name":"c-deps","namespace":"test-tls","uid":"1830bffc-5528-4fa1-9e4c-cb7f0f59e5de","resourceVersion":"239012278","generation":1,"creationTimestamp":"2023-12-06T10:14:44Z","managedFields":[{"manager":"apisix-ingress-controller","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2023-12-06T10:14:44Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:conditions":{}}},"subresource":"status"},{"manager":"kubectl-create","operation":"Update","apiVersion":"apisix.apache.org/v2","time":"2023-12-06T10:14:44Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:hosts":{},"f:secret":{".":{},"f:name":{},"f:namespace":{}}}}}]},"spec":{"hosts":["*.example.com"],"secret":{"name":"c-deps","namespace":"test-tls"}},"status":{"conditions":[{"type":"ResourcesAvailable","status":"False","observedGeneration"
:1,"lastTransitionTime":"2023-12-06T10:14:44Z","reason":"ResourceSyncAborted","message":"secret
\"c-deps\" not found"}]}}}
2023-12-06T18:14:44+08:00 info apisix/apisix_tls.go:257 sync
ApisixTls but not found, ignore {"event_type": "update", "ApisixTls":
"test-tls/c-deps", "version": "apisix.apache.org/v2"}
2023-12-06T18:14:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 18.54µs
2023-12-06T18:14:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.691µs
2023-12-06T18:14:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 65.94µs
2023-12-06T18:14:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 48.25µs
2023-12-06T18:15:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 68.39µs
2023-12-06T18:15:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 323.802µs
2023-12-06T18:15:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 114.482µs
2023-12-06T18:15:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 25.39µs
2023-12-06T18:15:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.511µs
2023-12-06T18:15:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 28.28µs
2023-12-06T18:15:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 40.342µs
2023-12-06T18:15:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 41.631µs
2023-12-06T18:15:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 38.561µs
2023-12-06T18:15:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 18.3µs
2023-12-06T18:15:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 58.521µs
2023-12-06T18:15:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 57.031µs
2023-12-06T18:16:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 56.13µs
2023-12-06T18:16:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 49.11µs
2023-12-06T18:16:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 39.351µs
2023-12-06T18:16:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 22.98µs
2023-12-06T18:16:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 40.94µs
2023-12-06T18:16:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 20.48µs
W1206 18:16:33.491433 1 warnings.go:70] unknown field
"status.conditions[0].lastTransitionTime"
2023-12-06T18:16:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 34.47µs
2023-12-06T18:16:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 22.36µs
2023-12-06T18:16:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 43.061µs
2023-12-06T18:16:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 26.22µs
2023-12-06T18:16:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 40.82µs
2023-12-06T18:16:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 30.38µs
2023-12-06T18:17:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 38.64µs
2023-12-06T18:17:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 38.67µs
2023-12-06T18:17:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 39.91µs
2023-12-06T18:17:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.13µs
2023-12-06T18:17:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 39.39µs
2023-12-06T18:17:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 19.98µs
2023-12-06T18:17:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 19.511µs
2023-12-06T18:17:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 64.3µs
2023-12-06T18:17:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 33.66µs
2023-12-06T18:17:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 23.98µs
2023-12-06T18:17:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.21µs
2023-12-06T18:17:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 23.17µs
2023-12-06T18:18:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 57.501µs
2023-12-06T18:18:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 23.29µs
2023-12-06T18:18:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 41.96µs
2023-12-06T18:18:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 23.66µs
2023-12-06T18:18:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.08µs
2023-12-06T18:18:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 46.76µs
2023-12-06T18:18:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 35.072µs
2023-12-06T18:18:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 31.52µs
2023-12-06T18:18:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 37.371µs
2023-12-06T18:18:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 21.79µs
2023-12-06T18:18:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 39.372µs
2023-12-06T18:18:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 27.3µs
2023-12-06T18:19:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 42.53µs
2023-12-06T18:19:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 24.251µs
2023-12-06T18:19:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 41.641µs
2023-12-06T18:19:17+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 24.48µs
2023-12-06T18:19:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 38.391µs
2023-12-06T18:19:27+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 26.55µs
2023-12-06T18:19:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 43.35µs
2023-12-06T18:19:37+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 24.72µs
2023-12-06T18:19:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 35.52µs
2023-12-06T18:19:47+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 57.09µs
2023-12-06T18:19:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 37.42µs
2023-12-06T18:19:57+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 60.06µs
2023-12-06T18:20:07+08:00 info [email protected]/context.go:173
path: /healthz, status: 200, method: GET, query: , ip: 10.0.14.199, user-agent:
kube-probe/1.28+, errors: , cost: 41.16µs
```
Here is the apisixTls:
```
kubectl -n test-tls describe apisixtlses.apisix.apache.org c-deps
Name: c-deps
Namespace: test-tls
Labels: <none>
Annotations: <none>
API Version: apisix.apache.org/v2
Kind: ApisixTls
Metadata:
Creation Timestamp: 2023-12-06T10:14:44Z
Generation: 1
Resource Version: 239012278
UID: 1830bffc-5528-4fa1-9e4c-cb7f0f59e5de
Spec:
Hosts:
*.temp.medipredict.com
Secret:
Name: c-deps
Namespace: test-tls
Status:
Conditions:
Last Transition Time: 2023-12-06T10:14:44Z
Message: secret "c-deps" not found
Observed Generation: 1
Reason: ResourceSyncAborted
Status: False
Type: ResourcesAvailable
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning ResourceSyncAborted 15m (x2 over 15m) ApisixIngress
ApisixIngress synced failed, with error: secret "c-deps" not found
```
Here you can see the secret has been created at 10:15
```
kubectl -n test-tls get secrets c-deps -o
custom-columns=NAME:metadata.name,CREATED_AT:metadata.creationTimestamp
NAME CREATED_AT
c-deps 2023-12-06T10:15:45Z
```
--
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]