Closed Karen-Schoener closed 1 month ago
I think the issue is consistently reproducible on my VM because it takes longer than 10 seconds for both sites report as 'ok' in the kubectl get site
command.
$ kubectl get site -A
NAMESPACE NAME STATUS SITES IN NETWORK
east east OK 1
west west containers with unready status: [config-sync] 1
Basically, with the test steps in this ticket, I am deleting a site that is not in the OK state.
I was worried that the issue was due to some misconfig on my VM, so I re-ran the test steps and added local debug logging in pkg/kube/certificates/mgr.go.
In certificateDeleted(), I noticed m.controller.GetKubeClient().CoreV1().Secrets.Delete return:
err=secrets \"skupper-site-ca\" not found"
Verified that PR https://github.com/skupperproject/skupper/pull/1703 fixes this issue.
Closing issue.
Describe the bug After creating/deleting sites east/west, see many logs reporting:
[ControllerError] Error while handling Certificate west/skupper-site-ca: secrets \"skupper-site-ca\" not found
Issue is consistently reproducible.
How To Reproduce
Snippet of skupper-controller logs:
Expected behavior Quiet logs after deleting sites east/west.
Environment details
Additional context Running with skupper v2 branch at commit with date of Thursday Sept 26.
My sandbox has no local changes.