jaredhuang opened a new issue #2912:
URL: https://github.com/apache/apisix/issues/2912


   
   etcd版本为: apisix-2.0-0.el7.noarch.rpm
   
   我的etcd版本如下,已经搭载集群,状态如下:
   
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
   |      ENDPOINT      |        ID        | VERSION | DB SIZE | IS LEADER | IS 
LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
   
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
   | 172.16.17.154:2379 | 97eff9f7767b8795 |  3.4.13 |   20 kB |      true |    
  false |         4 |         13 |                 13 |        |
   | 172.16.16.169:2379 | 71a23c46af8167fe |  3.4.13 |   20 kB |     false |    
  false |         4 |         13 |                 13 |        |
   | 172.16.20.226:2379 |  d8f14140df69d87 |  3.4.13 |   20 kB |     false |    
  false |         4 |         13 |                 13 |        |
   
+--------------------+------------------+---------+---------+-----------+------------+-----------+------------+--------------------+--------+
   
   报错日志如下:
   2020/12/01 21:49:39 [error] 14690#14690: *34880 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/routes, context: ngx.timer
   2020/12/01 21:49:39 [error] 14693#14693: *34882 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/consumers, context: ngx.timer
   2020/12/01 21:49:39 [error] 14689#14689: *34883 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/upstreams, context: ngx.timer
   2020/12/01 21:49:39 [error] 14690#14690: *34885 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/services, context: ngx.timer
   2020/12/01 21:49:39 [error] 14690#14690: *34887 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/plugin_metadata, context: ngx.timer
   2020/12/01 21:49:39 [error] 14693#14693: *34888 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/plugin_metadata, context: ngx.timer
   2020/12/01 21:49:39 [error] 14689#14689: *34889 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/global_rules, context: ngx.timer
   2020/12/01 21:49:39 [error] 14690#14690: *34895 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/upstreams, context: ngx.timer
   2020/12/01 21:49:39 [error] 14693#14693: *34896 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/proto, context: ngx.timer
   2020/12/01 21:49:39 [error] 14689#14689: *34897 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/services, context: ngx.timer
   2020/12/01 21:49:40 [error] 14689#14689: *34861 [lua] config_etcd.lua:428: 
failed to fetch data from etcd: failed to read etcd dir,  etcd key: 
/apisix/routes, context: ngx.timer
   
   我的etcd集群的数据如下:
   
[![D4Ckiq.jpg](https://s3.ax1x.com/2020/12/01/D4Ckiq.jpg)](https://imgchr.com/i/D4Ckiq)


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to