markeee-e opened a new issue, #10005:
URL: https://github.com/apache/apisix/issues/10005

   ### Current Behavior
   
   control-plane is working
   I configed for data plane
   ```
       deployment:
         role: data_plane
         role_data_plane:
           config_provider: control_plane
           control_plane:
             host:
               - https://apisix-control-plane:9280
             prefix: /apisix
             timeout: 30
         certs:
           cert: /usr/local/apisix/certs/tls.crt
           cert_key: /usr/local/apisix/certs/tls.key
           trusted_ca_cert: /usr/local/apisix/certs/ca.crt
   ``` 
   
   and data plane pod env (same value control plane(root / **********))
   ```
             env:
               - name: APISIX_ETCD_PASSWORD
                 valueFrom:
                   secretKeyRef:
                     name: apisix-secret
                     key: etcd-root-password
               - name: APISIX_ETCD_USER
                 valueFrom:
                   configMapKeyRef:
                     name: apisix-configmap-custom
                     key: etcd-root-username
   ``` 
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   ```
   /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init
   /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
   got malformed key-put message: "{"error":"etcdserver: user name is 
empty","code":3,"message":"etcdserver: user name is empty"}" from etcd 
"https://apisix-control-plane:9280/v3/kv/put";
   ``` 
   
   ### Steps to Reproduce
   
   1. Run control plane OK(as well ETCD)
   2. Run data plane FAIL
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.4.0
   - Operating system (run `uname -a`): kubernetes(image 
"apache/apisix:3.4.0-debian")
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to