ffch commented on issue #7610:
URL: https://github.com/apache/apisix/issues/7610#issuecomment-1205998978
I found that when the ip changed, the following error log is printed:
```
2022/08/05 11:15:24 [error] 61#61: *1995466 [lua] config_etcd.lua:573:
failed to fetch data from etcd: failed to check item data of
[/SERVICES/apisix/routes] err:property "upstream" validation failed: property
"nodes" validation failed: object matches none of the required, etcd key:
/SERVICES/apisix/routes, context: ngx.timer
2022/08/05 11:15:24 [error] 56#56: *2034285 [lua] config_etcd.lua:573:
failed to fetch data from etcd: failed to check item data of
[/SERVICES/apisix/routes] err:property "upstream" validation failed: property
"nodes" validation failed: object matches none of the required, etcd key:
/SERVICES/apisix/routes, context: ngx.timer
```
and the etcd is
```
/SERVICES/apisix/routes/419517589346059237
{
"create_time": 1659581568,
"host": "st-b.admin.srv",
"id": "419517589346059237",
"name": "后台",
"status": 1,
"update_time": 1659581568,
"upstream": {
"_discovery_type": "zookeeper",
"_service_name": "admin-web",
"discovery_type": "zookeeper",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
},
"nodes": [
{
"host": "10.167.37.187",
"port": 8766,
"weight": 100
}
],
"pass_host": "pass",
"scheme": "http",
"timeout": {
"connect": 6,
"read": 6,
"send": 6
},
"type": "roundrobin"
},
"uri": "/*"
}
```
the same etcd route is is fine at startup.
--
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]