xiangtianyu opened a new issue, #1267:
URL: https://github.com/apache/apisix-ingress-controller/issues/1267

   ### Issue description
   
   I used 1.4.1 in our test env, and met the same problem with #1165  , so i 
cherry pick the fix merge #1191 into our branch (1.4.1) and when we start, it 
failed with such error :
   
    ```
   I0824 14:10:16.460432       1 leaderelection.go:248] attempting to acquire 
leader lease apisix/ingress-apisix-leader...
   I0824 14:10:16.503746       1 leaderelection.go:258] successfully acquired 
lease apisix/ingress-apisix-leader
   I0824 14:10:20.313336       1 request.go:601] Waited for 1.00022017s due to 
client-side throttling, not priority and fairness, request: 
GET:https://10.2.0.1:443/apis/apisix.apache.org/v2beta3/namespaces/nuanwa/apisixroutes
   I0824 14:10:30.512912       1 request.go:601] Waited for 5.386238117s due to 
client-side throttling, not priority and fairness, request: 
GET:https://10.2.0.1:443/apis/apisix.apache.org/v2beta3/namespaces/6e41e048-1c25-4309-a381-ef87b61875cb/apisixtlses
   panic: interface conversion: interface {} is kube.ApisixUpstreamEvent, not 
string
   
   goroutine 455 [running]:
   
github.com/apache/apisix-ingress-controller/pkg/ingress.(*apisixUpstreamController).handleSyncErr(0xc003ba2240,
 {0x17fe1e0?, 0xc002a24800}, {0x1e73e00, 0xc005e60280})
           /build/pkg/ingress/apisix_upstream.go:326 +0x5c7
   
github.com/apache/apisix-ingress-controller/pkg/ingress.(*apisixUpstreamController).runWorker(0xc003ba2240,
 {0x1e8ce20, 0xc000474800})
           /build/pkg/ingress/apisix_upstream.go:85 +0x92
   created by 
github.com/apache/apisix-ingress-controller/pkg/ingress.(*apisixUpstreamController).run
           /build/pkg/ingress/apisix_upstream.go:71 +0x2de
   ```
   
   And then i found a similar fix #1192 ,and then cherry picked the merge, but 
when i have an another try,it still failed. Is this a bug?
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long):
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (uname -a):
   


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