You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/28 06:54:53 UTC

[GitHub] [apisix] varcher-me commented on issue #4143: bug: prometheus plugin ask for root premission of etcd

varcher-me commented on issue #4143:
URL: https://github.com/apache/apisix/issues/4143#issuecomment-828196547


   > I know why.
   > 
   > In step 1, the directory permissions for the apisix user are `/apisix/`, but the prefix set in config.yaml in step2 is `/apisix`, if I also change it to `/apisix/`, it will work.
   > 
   > I think we should catch this exception.
   
   In this case(change etcd path to /apisix/), the key in etcd will changed like this(checked by etcdctl), double slash. I think it still incorrect...
   
   
   /apisix//consumers/
   
   /apisix//data_plane/server_info/04ccd55b-6017-4471-bd5b-4804860fe2d5
   
   /apisix//global_rules/
   
   /apisix//node_status/
   
   /apisix//plugin_configs/
   
   /apisix//plugin_metadata/
   
   /apisix//plugins
   
   /apisix//plugins/
   
   /apisix//proto/
   
   /apisix//routes/
   
   /apisix//services/
   
   /apisix//ssl/
   
   /apisix//stream_routes/
   
   /apisix//upstreams/
   


-- 
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:
users@infra.apache.org