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/09/15 06:45:12 UTC

[GitHub] [apisix-ingress-controller] Donghui0 opened a new issue #684: request help: error log "failed to delete pod from cache"

Donghui0 opened a new issue #684:
URL: https://github.com/apache/apisix-ingress-controller/issues/684


   ### Issue description
   When the service version changes, the k8s RollingUpgrade is triggered. The controller will have an error log: 
   `"error ingress/pod.go:130 failed to delete pod from cache {"error": pod not running"`
   
   ![image](https://user-images.githubusercontent.com/7134928/133383753-fe563b04-383c-4a74-90bb-c0632271c171.png)
   
   **Is there any influences ?**
   ### Environment
   
   * your apisix-ingress-controller version: v1.1
   * your Kubernetes cluster version: v1.16.6
   


-- 
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-ingress-controller] tao12345666333 commented on issue #684: request help: error log "failed to delete pod from cache"

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #684:
URL: https://github.com/apache/apisix-ingress-controller/issues/684#issuecomment-947344660


   #714 has been merged, I think we can close this one. If you have any question please feel free to reopen it.


-- 
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-ingress-controller] tao12345666333 closed issue #684: request help: error log "failed to delete pod from cache"

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #684:
URL: https://github.com/apache/apisix-ingress-controller/issues/684


   


-- 
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-ingress-controller] Donghui0 edited a comment on issue #684: request help: error log "failed to delete pod from cache"

Posted by GitBox <gi...@apache.org>.
Donghui0 edited a comment on issue #684:
URL: https://github.com/apache/apisix-ingress-controller/issues/684#issuecomment-919908856


   https://github.com/apache/apisix-ingress-controller/blob/5c9cdbe7fc2c28f3023d635dbbd9bc833388a2bf/pkg/types/pod.go#L68-L77
   
   To delete the cache, need to determine whether the IP of the POD exists. 
   However, deleting the POD will definitely trigger the CNI to remove the IP. 
   So, In the delete event, the POD IP does not exist. is there a problem with the logic of deleting podCache?


-- 
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-ingress-controller] Donghui0 commented on issue #684: request help: error log "failed to delete pod from cache"

Posted by GitBox <gi...@apache.org>.
Donghui0 commented on issue #684:
URL: https://github.com/apache/apisix-ingress-controller/issues/684#issuecomment-919908856


   https://github.com/apache/apisix-ingress-controller/blob/5c9cdbe7fc2c28f3023d635dbbd9bc833388a2bf/pkg/types/pod.go#L68-L77
   
   To delete the cache, you need to determine whether the IP of the POD exists. 
   However, deleting the POD will definitely trigger the CNI to remove the IP, So, is there a problem with the logic of deleting podCache?


-- 
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-ingress-controller] gxthrj commented on issue #684: request help: error log "failed to delete pod from cache"

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #684:
URL: https://github.com/apache/apisix-ingress-controller/issues/684#issuecomment-919954378


   Good catch. PR is welcome. 
   I think we can remove this condition directly.


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