spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
537 stars 75 forks source link

When uninstalling and cleaning up the Pod, the pool resourceVersion may have changed, causing the uninstallation to fail. #4088

Closed github-actions[bot] closed 1 month ago

github-actions[bot] commented 1 month ago

action url: https://github.com/spidernet-io/spiderpool/actions/runs/10975304355

ty-dc commented 1 month ago

{"level":"FATAL","ts":"2024-09-21T20:54:24.840Z","logger":"spiderpool-controller","caller":"cmd/clean.go:52","msg":"1 error occurred:\n\t* Operation cannot be fulfilled on spiderippools.spiderpool.spidernet.io \"default-v6-ippool\": the object has been modified; please apply your changes to the latest version and try again\n\n"}

---------------logs error pod: kube-system spiderpool-controller-hook-pre-delete-bpwl6------------
{"level":"INFO","ts":"2024-09-21T20:54:23.597Z","logger":"spiderpool-controller","caller":"cmd/clean.go:43","msg":"validate spiderpool-controller\nmutating spiderpool-controller\n"}
{"level":"INFO","ts":"2024-09-21T20:54:23.610Z","logger":"spiderpool-controller","caller":"cmd/clean.go:179","msg":"succeeded to delete MutatingWebhookConfiguration: spiderpool-controller"}
{"level":"INFO","ts":"2024-09-21T20:54:23.617Z","logger":"spiderpool-controller","caller":"cmd/clean.go:171","msg":"MutatingWebhookConfiguration: network-resources-injector-config does not exist, error: mutatingwebhookconfigurations.admissionregistration.k8s.io \"network-resources-injector-config\" not found"}
{"level":"INFO","ts":"2024-09-21T20:54:23.624Z","logger":"spiderpool-controller","caller":"cmd/clean.go:179","msg":"succeeded to delete MutatingWebhookConfiguration: sriov-operator-webhook-config"}
{"level":"INFO","ts":"2024-09-21T20:54:23.632Z","logger":"spiderpool-controller","caller":"cmd/clean.go:179","msg":"succeeded to delete ValidatingWebhookConfiguration: spiderpool-controller"}
{"level":"INFO","ts":"2024-09-21T20:54:23.639Z","logger":"spiderpool-controller","caller":"cmd/clean.go:179","msg":"succeeded to delete ValidatingWebhookConfiguration: sriov-operator-webhook-config"}
{"level":"INFO","ts":"2024-09-21T20:54:23.655Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderIPPool default-v4-ippool"}
{"level":"INFO","ts":"2024-09-21T20:54:23.675Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderIPPool: default-v4-ippool"}
{"level":"ERROR","ts":"2024-09-21T20:54:23.680Z","logger":"spiderpool-controller","caller":"cmd/clean.go:216","msg":"failed to clean the finalizers of SpiderIPPool: default-v6-ippool, Operation cannot be fulfilled on spiderippools.spiderpool.spidernet.io \"default-v6-ippool\": the object has been modified; please apply your changes to the latest version and try again"}
{"level":"INFO","ts":"2024-09-21T20:54:23.692Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderIPPool vlan30-v4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.698Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderIPPool: vlan30-v4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.706Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderIPPool vlan30-v6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.725Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderIPPool: vlan30-v6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.731Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderIPPool vlan40-v4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.737Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderIPPool: vlan40-v4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.742Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderIPPool vlan40-v6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.744Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderIPPool: vlan40-v6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.753Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: default-v4-subnet"}
{"level":"INFO","ts":"2024-09-21T20:54:23.756Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: default-v6-subnet"}
{"level":"INFO","ts":"2024-09-21T20:54:23.759Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: v4-ss-934b36ed98d4e21"}
{"level":"INFO","ts":"2024-09-21T20:54:23.766Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: v4-ss-c5a2d692231e754"}
{"level":"INFO","ts":"2024-09-21T20:54:23.779Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: v4-ss-e51188931fed574"}
{"level":"INFO","ts":"2024-09-21T20:54:23.786Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: v6-ss-2ff31548ab5487d"}
{"level":"INFO","ts":"2024-09-21T20:54:23.811Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: v6-ss-daba3958bf312ed"}
{"level":"INFO","ts":"2024-09-21T20:54:23.830Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: v6-ss-fc44bb5c864cf18"}
{"level":"INFO","ts":"2024-09-21T20:54:23.837Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: vlan100-v4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.849Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: vlan100-v6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.859Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: vlan200-v4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.868Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderSubnet: vlan200-v6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.884Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint test-pod-5ccf944869-z94gm"}
{"level":"INFO","ts":"2024-09-21T20:54:23.889Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: test-pod-5ccf944869-z94gm"}
{"level":"INFO","ts":"2024-09-21T20:54:23.894Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint kruise-controller-manager-676f679d8f-bfgf4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.897Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: kruise-controller-manager-676f679d8f-bfgf4"}
{"level":"INFO","ts":"2024-09-21T20:54:23.902Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint kruise-controller-manager-676f679d8f-mpqrk"}
{"level":"INFO","ts":"2024-09-21T20:54:23.912Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: kruise-controller-manager-676f679d8f-mpqrk"}
{"level":"INFO","ts":"2024-09-21T20:54:23.916Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint coredns-76f75df574-5z8gd"}
{"level":"INFO","ts":"2024-09-21T20:54:23.920Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: coredns-76f75df574-5z8gd"}
{"level":"INFO","ts":"2024-09-21T20:54:23.925Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint coredns-76f75df574-zbw9r"}
{"level":"INFO","ts":"2024-09-21T20:54:23.931Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: coredns-76f75df574-zbw9r"}
{"level":"INFO","ts":"2024-09-21T20:54:23.934Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint kdoctor-agent-2n5d5"}
{"level":"INFO","ts":"2024-09-21T20:54:23.937Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: kdoctor-agent-2n5d5"}
{"level":"INFO","ts":"2024-09-21T20:54:23.941Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint kdoctor-agent-q7q9m"}
{"level":"INFO","ts":"2024-09-21T20:54:23.944Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: kdoctor-agent-q7q9m"}
{"level":"INFO","ts":"2024-09-21T20:54:23.948Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint kdoctor-controller-7db4cc668b-gjgf6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.951Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: kdoctor-controller-7db4cc668b-gjgf6"}
{"level":"INFO","ts":"2024-09-21T20:54:23.955Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint kdoctor-netreach-one-macvlan-standalone-500-24043791-56ctn"}
{"level":"INFO","ts":"2024-09-21T20:54:23.960Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: kdoctor-netreach-one-macvlan-standalone-500-24043791-56ctn"}
{"level":"INFO","ts":"2024-09-21T20:54:23.964Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint kdoctor-netreach-one-macvlan-standalone-500-24043791-8fp5p"}
{"level":"INFO","ts":"2024-09-21T20:54:23.969Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: kdoctor-netreach-one-macvlan-standalone-500-24043791-8fp5p"}
{"level":"INFO","ts":"2024-09-21T20:54:23.973Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-api-f97fbdff-tpkb8"}
{"level":"INFO","ts":"2024-09-21T20:54:23.976Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-api-f97fbdff-tpkb8"}
{"level":"INFO","ts":"2024-09-21T20:54:23.980Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-api-f97fbdff-v69fh"}
{"level":"INFO","ts":"2024-09-21T20:54:23.985Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-api-f97fbdff-v69fh"}
{"level":"INFO","ts":"2024-09-21T20:54:23.990Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-controller-6bf9f4477f-5qbwg"}
{"level":"INFO","ts":"2024-09-21T20:54:23.994Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-controller-6bf9f4477f-5qbwg"}
{"level":"INFO","ts":"2024-09-21T20:54:24.001Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-controller-6bf9f4477f-gdsdp"}
{"level":"INFO","ts":"2024-09-21T20:54:24.005Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-controller-6bf9f4477f-gdsdp"}
{"level":"INFO","ts":"2024-09-21T20:54:24.009Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-handler-s66vj"}
{"level":"INFO","ts":"2024-09-21T20:54:24.013Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-handler-s66vj"}
{"level":"INFO","ts":"2024-09-21T20:54:24.021Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-handler-xvgsm"}
{"level":"INFO","ts":"2024-09-21T20:54:24.028Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-handler-xvgsm"}
{"level":"INFO","ts":"2024-09-21T20:54:24.037Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-operator-59f5558dcd-mf2l9"}
{"level":"INFO","ts":"2024-09-21T20:54:24.087Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-operator-59f5558dcd-mf2l9"}
{"level":"INFO","ts":"2024-09-21T20:54:24.135Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint virt-operator-59f5558dcd-rmkj8"}
{"level":"INFO","ts":"2024-09-21T20:54:24.184Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: virt-operator-59f5558dcd-rmkj8"}
{"level":"INFO","ts":"2024-09-21T20:54:24.233Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderEndpoint local-path-provisioner-6f8956fb48-nxrph"}
{"level":"INFO","ts":"2024-09-21T20:54:24.283Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderEndpoint: local-path-provisioner-6f8956fb48-nxrph"}
{"level":"INFO","ts":"2024-09-21T20:54:24.291Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderMultusConfig: macvlan-vlan0"}
{"level":"INFO","ts":"2024-09-21T20:54:24.294Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderMultusConfig: macvlan-vlan100"}
{"level":"INFO","ts":"2024-09-21T20:54:24.297Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderMultusConfig: macvlan-vlan200"}
{"level":"INFO","ts":"2024-09-21T20:54:24.299Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderMultusConfig: ovs-vlan30"}
{"level":"INFO","ts":"2024-09-21T20:54:24.302Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderMultusConfig: ovs-vlan40"}
{"level":"INFO","ts":"2024-09-21T20:54:24.306Z","logger":"spiderpool-controller","caller":"cmd/clean.go:220","msg":"succeeded to clean the finalizers of SpiderCoordinator default"}
{"level":"INFO","ts":"2024-09-21T20:54:24.308Z","logger":"spiderpool-controller","caller":"cmd/clean.go:232","msg":"succeeded to delete SpiderCoordinator: default"}
{"level":"INFO","ts":"2024-09-21T20:54:24.565Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: ovsnetworks.sriovnetwork.openshift.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.572Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: spiderclaimparameters.spiderpool.spidernet.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.582Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: spidercoordinators.spiderpool.spidernet.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.593Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: spiderendpoints.spiderpool.spidernet.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.613Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: spiderippools.spiderpool.spidernet.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.638Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: spidermultusconfigs.spiderpool.spidernet.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.647Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: spiderreservedips.spiderpool.spidernet.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.657Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: spidersubnets.spiderpool.spidernet.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.677Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: sriovibnetworks.sriovnetwork.openshift.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.685Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: sriovnetworknodepolicies.sriovnetwork.openshift.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.697Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: sriovnetworknodestates.sriovnetwork.openshift.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.758Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: sriovnetworkpoolconfigs.sriovnetwork.openshift.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.780Z","logger":"spiderpool-controller","caller":"cmd/clean.go:281","msg":"succeeded to delete CRD: sriovnetworks.sriovnetwork.openshift.io"}
{"level":"INFO","ts":"2024-09-21T20:54:24.840Z","logger":"spiderpool-controller","caller":"cmd/clean.go:307","msg":"succeeded to delete spiderpool-init Job: kube-system/spiderpool-init"}
{"level":"FATAL","ts":"2024-09-21T20:54:24.840Z","logger":"spiderpool-controller","caller":"cmd/clean.go:52","msg":"1 error occurred:\n\t* Operation cannot be fulfilled on spiderippools.spiderpool.spidernet.io \"default-v6-ippool\": the object has been modified; please apply your changes to the latest version and try again\n\n"}