kworkbee commented on issue #2176:
URL:
https://github.com/apache/apisix-ingress-controller/issues/2176#issuecomment-1993620196
@Revolyssup As you just mentioned, this is the result of erasing and
re-applying both `ApisixRoute` and `ApisixUpstream`.
```
2024-03-13T13:49:24+08:00 warn apisix/cluster.go:599 failed to check
health for cluster default: dial tcp 172.20.44.139:9180: connect: connection
refused, will retry
2024-03-13T13:49:29+08:00 warn apisix/cluster.go:599 failed to check
health for cluster default: dial tcp 172.20.44.139:9180: connect: connection
refused, will retry
2024-03-13T13:49:34+08:00 warn apisix/cluster.go:599 failed to check
health for cluster default: dial tcp 172.20.44.139:9180: connect: connection
refused, will retry
2024-03-13T13:49:34+08:00 warn providers/controller.go:598 failed
to check health for default cluster: timed out waiting for the condition, give
up leader
2024-03-13T13:49:34+08:00 warn apisix/cluster.go:599 failed to check
health for cluster default: dial tcp 172.20.44.139:9180: connect: connection
refused, will retry
2024-03-13T13:49:39+08:00 warn apisix/cluster.go:599 failed to check
health for cluster default: dial tcp 172.20.44.139:9180: connect: connection
refused, will retry
2024-03-13T13:49:44+08:00 warn apisix/cluster.go:599 failed to check
health for cluster default: dial tcp 172.20.44.139:9180: connect: connection
refused, will retry
2024-03-13T13:49:44+08:00 warn providers/controller.go:598 failed
to check health for default cluster: timed out waiting for the condition, give
up leader
2024-03-13T13:49:44+08:00 warn apisix/cluster.go:599 failed to check
health for cluster default: dial tcp 172.20.44.139:9180: connect: connection
refused, will retry
2024-03-13T13:49:44+08:00 warn apisix/cluster.go:1164 upstream not
found {"id": "971e4f30", "url":
"http://dev-tool-apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams/971e4f30",
"cluster": "default"}
2024-03-13T13:49:44+08:00 warn apisix/cluster.go:1164 upstream not
found {"id": "9756d1ef", "url":
"http://dev-tool-apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams/9756d1ef",
"cluster": "default"}
2024-03-13T13:50:42+08:00 error translation/apisix_route.go:238 failed
to translate ApisixUpstream at Upstream[0] {"error":
"apisixupstream.apisix.apache.org \"feature-flags-nodes-upstream\" not found",
"apisix_upstream": "apisix/feature-flags-nodes-upstream"}
2024-03-13T13:50:42+08:00 error apisix/route.go:138 failed to
create route: unexpected status code 400; error message: {"error_msg":"failed
to fetch upstream info by upstream id [32eb11c7], response code: 404"}
2024-03-13T13:50:42+08:00 error apisix/apisix_route.go:380 failed
to sync ApisixRoute to apisix {"error": "1 error occurred:\n\t* unexpected
status code 400; error message: {\"error_msg\":\"failed to fetch upstream info
by upstream id [32eb11c7], response code: 404\"}\n\n\n"}
2024-03-13T13:50:42+08:00 warn apisix/apisix_route.go:482 sync
ApisixRoute failed, will retry {"object":
{"Type":1,"Object":{"Key":"apisix/feature-flags-route","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "1 error occurred:\n\t* unexpected status code 400; error message:
{\"error_msg\":\"failed to fetch upstream info by upstream id [32eb11c7],
response code: 404\"}\n\n\n"}
W0313 13:50:42.477556 1 warnings.go:70] unknown field
"status.conditions[0].lastTransitionTime"
2024-03-13T13:50:43+08:00 error translation/apisix_route.go:238 failed
to translate ApisixUpstream at Upstream[0] {"error":
"apisixupstream.apisix.apache.org \"feature-flags-nodes-upstream\" not found",
"apisix_upstream": "apisix/feature-flags-nodes-upstream"}
2024-03-13T13:50:43+08:00 error apisix/route.go:138 failed to
create route: unexpected status code 400; error message: {"error_msg":"failed
to fetch upstream info by upstream id [32eb11c7], response code: 404"}
2024-03-13T13:50:43+08:00 error apisix/apisix_route.go:380 failed
to sync ApisixRoute to apisix {"error": "1 error occurred:\n\t* unexpected
status code 400; error message: {\"error_msg\":\"failed to fetch upstream info
by upstream id [32eb11c7], response code: 404\"}\n\n\n"}
2024-03-13T13:50:43+08:00 warn apisix/apisix_route.go:482 sync
ApisixRoute failed, will retry {"object":
{"Type":1,"Object":{"Key":"apisix/feature-flags-route","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "1 error occurred:\n\t* unexpected status code 400; error message:
{\"error_msg\":\"failed to fetch upstream info by upstream id [32eb11c7],
response code: 404\"}\n\n\n"}
2024-03-13T13:50:44+08:00 error translation/apisix_route.go:238 failed
to translate ApisixUpstream at Upstream[0] {"error":
"apisixupstream.apisix.apache.org \"feature-flags-nodes-upstream\" not found",
"apisix_upstream": "apisix/feature-flags-nodes-upstream"}
2024-03-13T13:50:44+08:00 error apisix/route.go:138 failed to
create route: unexpected status code 400; error message: {"error_msg":"failed
to fetch upstream info by upstream id [32eb11c7], response code: 404"}
2024-03-13T13:50:44+08:00 error apisix/apisix_route.go:380 failed
to sync ApisixRoute to apisix {"error": "1 error occurred:\n\t* unexpected
status code 400; error message: {\"error_msg\":\"failed to fetch upstream info
by upstream id [32eb11c7], response code: 404\"}\n\n\n"}
2024-03-13T13:50:44+08:00 warn apisix/apisix_route.go:482 sync
ApisixRoute failed, will retry {"object":
{"Type":1,"Object":{"Key":"apisix/feature-flags-route","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "1 error occurred:\n\t* unexpected status code 400; error message:
{\"error_msg\":\"failed to fetch upstream info by upstream id [32eb11c7],
response code: 404\"}\n\n\n"}
2024-03-13T13:50:45+08:00 warn apisix/cluster.go:1164 upstream not
found {"id": "32eb11c7", "url":
"http://dev-tool-apisix-admin.apisix.svc.cluster.local:9180/apisix/admin/upstreams/32eb11c7",
"cluster": "default"}
2024-03-13T13:50:45+08:00 error apisix/apisix_upstream.go:376 failed
to get upstream apisix_feature-flags-nodes-upstream: not found
2024-03-13T13:50:45+08:00 error apisix/apisix_upstream.go:845 update
status {"status":
{"conditions":[{"type":"ResourcesAvailable","status":"False","observedGeneration":1,"lastTransitionTime":"2024-03-13T05:50:45Z","reason":"ResourceSyncAborted","message":"not
found"}]}}
W0313 13:50:45.220898 1 warnings.go:70] unknown field
"status.conditions[0].lastTransitionTime"
2024-03-13T13:50:45+08:00 warn apisix/apisix_upstream.go:489 sync
ApisixUpstream failed, will retry {"object":
{"Type":1,"Object":{"Key":"apisix/feature-flags-nodes-upstream","OldObject":null,"GroupVersion":"apisix.apache.org/v2"},"OldObject":null,"Tombstone":null},
"error": "not found"}
W0313 13:50:45.273798 1 warnings.go:70] unknown field
"status.conditions[0].lastTransitionTime"
2024-03-13T13:50:46+08:00 error apisix/apisix_upstream.go:845 update
status {"status":
{"conditions":[{"type":"ResourcesAvailable","status":"True","observedGeneration":1,"lastTransitionTime":"2024-03-13T05:50:46Z","reason":"ResourcesSynced","message":"Sync
Successfully"}]}}
W0313 13:50:46.274203 1 warnings.go:70] unknown field
"status.conditions[0].lastTransitionTime"
--
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]