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 2022/11/11 06:06:45 UTC
[GitHub] [apisix-dashboard] Bigwen-1 opened a new issue, #2661: The node field is lost after the apisix-dashboard submission
Bigwen-1 opened a new issue, #2661:
URL: https://github.com/apache/apisix-dashboard/issues/2661
### Issue description
I added a service or upstream through the admin api and assigned node's metadata, but the metadata information was lost after I modified it through apisix-dashboard
Original etcd information:
/apisix/services/00000000000000046995
{"enable_websocket":true,"create_time":1668145810,"name":"push-user service2","id":"00000000000000046995","update_time":1668145810,"upstream":{"hash_on":"vars","scheme":"http","type":"roundrobin","nodes":[{"port":8080,"weight":100,"metadata":{"xq_lane":"sep_lane"},"host":"127.0.0.1","priority":0},{"port":8080,"weight":100,"metadata":{"xq_lane":"sep_push"},"host":"192.168.12.8","priority":0}],"pass_host":"pass"}}
Etcd information after changing the service name:
/apisix/services/00000000000000046995
{"id":"00000000000000046995","create_time":1668145810,"update_time":1668145968,"name":"push-user service2","upstream":{"nodes":{"127.0.0.1:8080":100,"192.168.12.8:8080":100},"timeout":{"connect":6,"send":6,"read":6},"type":"roundrobin","scheme":"http","pass_host":"pass","keepalive_pool":{"idle_timeout":60,"requests":1000,"size":320}}}
### Expected behavior
Retain node metadata information
### How to Reproduce
...
### Screenshots
_No response_
### Environment
- apisix version (cmd: `apisix version`):
- OS (cmd: `uname -a`):
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
- etcd version, if have (cmd: run `etcd --version`):
- apisix-dashboard version, if have:
- Browser version, if have:
### Additional context
_No response_
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop commented on issue #2661: The node field is lost after the apisix-dashboard submission
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #2661:
URL: https://github.com/apache/apisix-dashboard/issues/2661#issuecomment-1445829237
The dashboard does not recognize the metadata field in nodes.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop closed issue #2661: The node field is lost after the apisix-dashboard submission
Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #2661: The node field is lost after the apisix-dashboard submission
URL: https://github.com/apache/apisix-dashboard/issues/2661
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop commented on issue #2661: The node field is lost after the apisix-dashboard submission
Posted by GitBox <gi...@apache.org>.
Baoyuantop commented on issue #2661:
URL: https://github.com/apache/apisix-dashboard/issues/2661#issuecomment-1398054411
Hi @Bigwen-1, please provide information about the version you are using.
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org