Closed reski-rukmantiyo closed 2 days ago
how about deleting the ip manually before deleting the subnet ?
Yes, this is possible to have a routine to delete all ips that related with those subnet.
user should make sure all ips is deleted before deleting subnet.
yes, thanks for this. Let me close this.
Kube-OVN Version
v1.12.12
Kubernetes Version
Client Version: v1.30.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.30.0
Operation-system/Kernel Version
"Ubuntu 22.04.4 LTS" 5.15.0-113-generic
Description
Try to create script from Config VPC. All the scripts is compiled into 1 file. Due to problem in #4241, I try to delete using the same file kubectl delete -f config-vpc.yaml.
After wait a few minutes, got these messages
Steps To Reproduce
Current Behavior
Subnet cannot be delete due to multus net-attachment-def deleted first before subnet. When i try to apply the net-attachment-def again, then delete, somehow it dont work.
Solution is to delete leftover ip in kubectl get ip, then check for name of deleted subnet.
Expected Behavior
Subnet can be delete although net-attachment-def already deleted