apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

data not found by key

Open hramovalexey opened this issue 2 years ago • 4 comments

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 #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 avatar Sep 29 '22 08:09 hramovalexey

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

Dignn avatar Nov 17 '22 01:11 Dignn

I met the same problem

hq0819 avatar Feb 17 '23 07:02 hq0819

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 avatar Feb 28 '23 06:02 Baoyuantop

@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.

AmerDwight avatar Dec 01 '23 05:12 AmerDwight