apache / apisix-helm-chart

Apache APISIX Helm Chart
https://apisix.apache.org/
Apache License 2.0
231 stars 209 forks source link

help request: apisix 3.8.0 helm install request etcd Operation already in progress #723

Open wangchao732 opened 8 months ago

wangchao732 commented 8 months ago

Description

/usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init

WARNING: using fixed Admin API token has security risk. Please modify "admin_key" in conf/config.yaml . /usr/local/openresty//luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd request etcd endpoint 'http://apisix-etcd.apisix.svc.cluster.local:2379/version' error, Operation already in progress all etcd nodes are unavailable Warning! Request etcd endpoint 'http://apisix-etcd.apisix.svc.cluster.local:2379/version' error, Operation already in progress, retry time=1 Warning! Request etcd endpoint 'http://apisix-etcd.apisix.svc.cluster.local:2379/version' error, Operation already in progress, retry time=2

etcd is ready.

etcd-9.7.3

Environment

NAME READY STATUS RESTARTS AGE apisix-899647f7f-qn7fz 0/1 CrashLoopBackOff 254 (4m36s ago) 22h apisix-dashboard-5dc8484769-zrk67 1/1 Running 4 (21h ago) 22h apisix-etcd-0 1/1 Running 0 22h apisix-ingress-controller-589757b9f9-xfb9f 0/1 Init:0/1 0 22h

on k8s node run curl apisix-etcd.apisix.svc.cluster.local:2379/version {"etcdserver":"3.5.10","etcdcluster":"3.5.0"}

wangchao732 commented 8 months ago

kubectl exec -i -t dnsutils -- nslookup apisix-etcd.apisix.svc.cluster.local Server: 192.168.0.3 Address: 192.168.0.3#53

Name: apisix-etcd.apisix.svc.cluster.local Address: 192.168.47.138

kubectl exec -i -t dnsutils -- nslookup apisix-etcd.apisix.svc.cluster.local Server: 192.168.0.3 Address: 192.168.0.3#53

Name: apisix-etcd.apisix.svc.cluster.local Address: 192.168.47.138

kubectl get svc --namespace=apisix NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE apisix-admin ClusterIP 192.168.17.140 9180/TCP 23h apisix-dashboard ClusterIP 192.168.2.195 80/TCP 23h apisix-etcd ClusterIP 192.168.47.138 2379/TCP,2380/TCP 23h apisix-etcd-headless ClusterIP None 2379/TCP,2380/TCP 23h apisix-gateway NodePort 192.168.33.22 80:30023/TCP 23h apisix-ingress-controller ClusterIP 192.168.53.196 80/TCP 23h apisix-ingress-controller-apisix-gateway NodePort 192.168.51.175 80:31538/TCP,443:31858/TCP 23h