unable to uninstall calico and get stuck on 'test-install-calicovpp-dev'
Environment
- Calico/VPP version: master,bff8eba4cf614b9f3591150ded186e914a0105ab
- Kubernetes version: V1.23.12
- Deployment type: VM
- Network configuration: Calico / host-local IPAM? IPIP / VXLAN enabled? Specific BGP settings?
Issue description Can't remove calico pods when 'make test-install-calicovpp-dev'.
To Reproduce Steps to reproduce the behavior:
- 1> successfully set up develop env according to 'https://github.com/projectcalico/vpp-dataplane/blob/master/docs/developper_guide.md'
- 2> change&modify VPP then reload vpp-nodes by 'make load-images'
- 3> update calico-vpp by 'make test-install-calicovpp-dev'
Expected behavior Remove the old version calico-app and successfully upgrade the new one.
Additional context
Some of the pods stuck on the status of 'Terminating'.
$k get pods -A -o wide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES calico-apiserver calico-apiserver-69fcc8ccf5-8j9qt 0/1 Terminating 0 7d19h 172.16.104.2 node2
================ make test-install-calicovpp-dev make test-install-calico CALICO_INSTALLATION=installation-test-v4 make[1]: Entering directory '/home/douchao/project/vpp-dataplane' kubectl replace --force -f https://raw.githubusercontent.com/projectcalico/calico/master/manifests/tigera-operator.yaml customresourcedefinition.apiextensions.k8s.io "installations.operator.tigera.io" deleted
error: timed out waiting for the condition make[1]: *** [Makefile:92: test-install-calico] Error 1 make[1]: Leaving directory '/home/douchao/project/vpp-dataplane' make: *** [Makefile:99: test-install-calicovpp] Error 2
Hello, sorry for the late reply. I managed to reproduce this issue. This actually is not a calico-vpp issue as I can reproduce it with calico itself as well. It looks to be some mismatch between tigera operator job and vagrant setup. Operator is not launching the uninstallation of some components for some reason. I am still investigating that. Will keep you updated.