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

data not found by key #2631

Open
hramovalexey opened this issue Sep 29, 2022 · 4 comments
Open

data not found by key #2631

hramovalexey opened this issue Sep 29, 2022 · 4 comments
Labels

Comments

@hramovalexey
Copy link

Issue description

In dashboard error.log I see messages like:

2022-09-26T11:22:10.187Z WARN store/store.go:154 data not found by key: 424533355921408701
2022-09-26T11:22:10.187Z WARN store/store.go:154 data not found by key: 424610085914804925

They appear every time when I open Route section in UI.
Key is routes ID.
Message appears on every created route.
All routes work fine.
If I open clean route then message appears anyway.

I started clean APISIX + dashboard instances using docker compose file provided here https://github.com/apache/apisix-docker/tree/master/compose, created clean route and get the same error message.

Expected behavior

"data not found by key" message must not appear on routes that passed validation

How to Reproduce

  1. Deploy docker compose using commands:
export APISIX_DOCKER_TAG=2.15.0-centos
export APISIX_DASHBOARD_TAG=2.13-centos
docker-compose -f docker-compose-master.yaml -p docker-apisix up -d
docker-compose -f dashboard-compose.yaml -p docker-apisix up -d
  1. Open error.log:
docker exec -it docker-apisix_dashboard_1 bash
tail -n 10 -f logs/error.log
  1. In UI create clean route.
  2. Reopen Route section after route deploy and see message at error.log
    2022-09-29T07:16:49.252Z WARN store/store.go:154 data not found by key: 427661642814194368

Screenshots

No response

Environment

  • apisix version (cmd: apisix version): 2.15.0
  • OS (cmd: uname -a): Linux LAPTOP-189UUVIH 5.10.102.1-microsoft-standard-WSL2 Init Dashboard & add some features #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run etcd --version): {"etcdserver":"3.4.9","etcdcluster":"3.4.0"}
  • apisix-dashboard version, if have: 2.13
  • Browser version, if have: Firefox 105.0.1

Additional context

No response

@hramovalexey hramovalexey added the bug Something isn't working label Sep 29, 2022
@Dignn
Copy link

Dignn commented Nov 17, 2022

Yes, I have encountered the same problem. Is there a solution?

@hq0819
Copy link

hq0819 commented Feb 17, 2023

I met the same problem

@Baoyuantop
Copy link
Contributor

Since Dashboard places a cache layer in front of etcd in order to reduce requests to and from etcd, it queries etcd and prints this log when there is no corresponding data in the cache layer. This log does not indicate that your system is down and can be ignored.
We can discuss whether to adjust this log to the Info level.

@Baoyuantop Baoyuantop added discuss and removed bug Something isn't working checking backend labels Feb 28, 2023
@AmerDwight
Copy link

AmerDwight commented Dec 1, 2023

@Baoyuantop
Encountering the same problems here.
But it couldn't stop circling whenever I entering "Upsteeam" --> "Create"or"Configure"
and facing the same issue of "store/store.go:128 data not found by key ..." correspondingly in error log

Is anything that I missed?
Still investigating...
Hint or indication would be grateful.

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

No branches or pull requests

6 participants