Open wdy62808 opened 3 months ago
Zookeeper autodiscovery with apisix-seed encounters the following errors
[error] 51#51: 4 [lua] config_etcd.lua:535: load_full_data(): failed to check item data of [/apisix/routes] err:property "upstream" validation failed: additional properties forbidden, found _discovery_type ,val: {"create_time":1722587116,"upstream":{"scheme":"http","_discovery_type":"zookeeper","hash_on":"vars","_service_name":"APISIX-ZK","pass_host":"pass","nodes":[{"priority":0,"weight":100,"host":"10.20.210.37","port":30103}],"type":"roundrobin"},"hosts":["test.apisix.web"],"name":"test_zk","status":1,"uri":"/","id":"1","priority":0,"update_time":1722587116}, context: init_worker_by_lua*
[error] 50#50: *1945 [lua] init.lua:548: handle_upstream(): failed to set upstream: discovery zookeeper is uninitialized,
env: doker apache/apisix:3.9.0-debian zookeeper:3.7.0
Zookeeper autodiscovery with apisix-seed encounters the following errors
[error] 51#51: 4 [lua] config_etcd.lua:535: load_full_data(): failed to check item data of [/apisix/routes] err:property "upstream" validation failed: additional properties forbidden, found _discovery_type ,val: {"create_time":1722587116,"upstream":{"scheme":"http","_discovery_type":"zookeeper","hash_on":"vars","_service_name":"APISIX-ZK","pass_host":"pass","nodes":[{"priority":0,"weight":100,"host":"10.20.210.37","port":30103}],"type":"roundrobin"},"hosts":["test.apisix.web"],"name":"test_zk","status":1,"uri":"/","id":"1","priority":0,"update_time":1722587116}, context: init_worker_by_lua*
[error] 50#50: *1945 [lua] init.lua:548: handle_upstream(): failed to set upstream: discovery zookeeper is uninitialized,