Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to set upstream: discovery zookeeper is uninitialized #85

Open
wdy62808 opened this issue Aug 2, 2024 · 1 comment
Open

failed to set upstream: discovery zookeeper is uninitialized #85

wdy62808 opened this issue Aug 2, 2024 · 1 comment

Comments

@wdy62808
Copy link

wdy62808 commented Aug 2, 2024

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,

@wdy62808
Copy link
Author

wdy62808 commented Aug 2, 2024

env:
doker
apache/apisix:3.9.0-debian
zookeeper:3.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant