Some folders/files seem to linger after PVCs are removed
After installing and removing WordPress a bunch of times (definitely over 20) I have all these folders for PVCs lying around:
root@oas:/var/lib/OpenAppStack/local-storage# ls -l | wc -l
149
Whereas I only have a few PVCs and PVs:
root@oas:/var/lib/OpenAppStack/local-storage# kubectl get pv --all-namespaces | wc -l
19
root@oas:/var/lib/OpenAppStack/local-storage# kubectl get pvc --all-namespaces | wc -l
19
I think there's still something wrong with local storage in that regard
Logs from my local-provisioner pod:
kubectl logs local-provisioner-597548f8fc-92bcm -n kube-system
E0331 12:19:42.434007 6 controller.go:811] error syncing volume "pvc-d6694fba-33e1-43d1-93dd-e03b4d75e98c": Operation cannot be fulfilled on persistentvolumes "pvc-d6694fba-33e1-43d1-93dd-e03b4d75e98c": the object has been modified; please apply your changes to the latest version and try again
E0331 12:19:45.547205 6 controller.go:811] error syncing volume "pvc-869c9779-379a-4492-9284-77bfdba5fc45": Operation cannot be fulfilled on persistentvolumes "pvc-869c9779-379a-4492-9284-77bfdba5fc45": the object has been modified; please apply your changes to the latest version and try again
E0331 12:19:46.095230 6 controller.go:839] volume "pvc-73a918c6-7091-427f-92f8-51c00dcbd756" in work queue no longer exists
E0331 12:19:46.695617 6 controller.go:839] volume "pvc-0f64ac02-0641-4626-8b98-8691b39b03e4" in work queue no longer exists
E0331 12:19:57.434821 6 controller.go:839] volume "pvc-d6694fba-33e1-43d1-93dd-e03b4d75e98c" in work queue no longer exists
E0331 12:20:00.548625 6 controller.go:839] volume "pvc-869c9779-379a-4492-9284-77bfdba5fc45" in work queue no longer exists
E0331 12:51:45.970031 6 controller.go:839] volume "pvc-174ac68d-9104-44d3-a87c-0fe123b48281" in work queue no longer exists
E0331 12:51:46.501533 6 controller.go:839] volume "pvc-167bd8c3-822d-48f9-b03b-900d3c94075b" in work queue no longer exists
E0331 12:51:47.703128 6 controller.go:839] volume "pvc-3298438f-899a-4007-b6dc-1ed905af7280" in work queue no longer exists
E0331 13:13:39.572238 6 controller.go:811] error syncing volume "pvc-fdff1599-640c-47b6-859d-d164a1ca2977": Operation cannot be fulfilled on persistentvolumes "pvc-fdff1599-640c-47b6-859d-d164a1ca2977": the object has been modified; please apply your changes to the latest version and try again
E0331 13:13:45.601118 6 controller.go:839] volume "pvc-67583dcb-a566-47c5-81df-6725369fd330" in work queue no longer exists
E0331 13:13:45.632811 6 controller.go:839] volume "pvc-d4e2a46d-7035-4d1e-bce8-e301cd95f467" in work queue no longer exists
E0331 13:13:54.573286 6 controller.go:839] volume "pvc-fdff1599-640c-47b6-859d-d164a1ca2977" in work queue no longer exists
E0331 13:26:03.586700 6 controller.go:811] error syncing volume "pvc-8a48e905-5701-41f5-949a-a6241dd79555": Operation cannot be fulfilled on persistentvolumes "pvc-8a48e905-5701-41f5-949a-a6241dd79555": the object has been modified; please apply your changes to the latest version and try again
E0331 13:26:05.348909 6 controller.go:839] volume "pvc-8b1fa724-69d6-444c-8c70-52900e504a30" in work queue no longer exists
E0331 13:26:15.536387 6 controller.go:811] error syncing volume "pvc-b069f536-aed5-4f46-87f7-08cd8e7923a8": Operation cannot be fulfilled on persistentvolumes "pvc-b069f536-aed5-4f46-87f7-08cd8e7923a8": the object has been modified; please apply your changes to the latest version and try again
E0331 13:26:18.587151 6 controller.go:839] volume "pvc-8a48e905-5701-41f5-949a-a6241dd79555" in work queue no longer exists
E0331 13:26:30.536910 6 controller.go:839] volume "pvc-b069f536-aed5-4f46-87f7-08cd8e7923a8" in work queue no longer exists
E0331 13:38:05.592180 6 controller.go:839] volume "pvc-e3c51633-8e01-4965-b304-207284ba211d" in work queue no longer exists
E0331 13:38:05.619642 6 controller.go:811] error syncing volume "pvc-c5d77c3f-6436-428b-964b-004373063a4c": Operation cannot be fulfilled on persistentvolumes "pvc-c5d77c3f-6436-428b-964b-004373063a4c": the object has been modified; please apply your changes to the latest version and try again
E0331 13:38:06.704598 6 controller.go:839] volume "pvc-08fb1cc3-b3ee-4c48-b25e-96a54fc91721" in work queue no longer exists
E0331 13:38:20.619776 6 controller.go:839] volume "pvc-c5d77c3f-6436-428b-964b-004373063a4c" in work queue no longer exists
E0331 13:38:33.536993 6 controller.go:811] error syncing volume "pvc-eb63ed9a-5075-40a1-b881-45cbefbf0b4e": Operation cannot be fulfilled on persistentvolumes "pvc-eb63ed9a-5075-40a1-b881-45cbefbf0b4e": the object has been modified; please apply your changes to the latest version and try again
E0331 13:38:48.537582 6 controller.go:839] volume "pvc-eb63ed9a-5075-40a1-b881-45cbefbf0b4e" in work queue no longer exists
E0331 13:44:56.013972 6 controller.go:839] volume "pvc-8123d888-ffac-4e4d-b625-a96d88c8bb11" in work queue no longer exists
E0331 13:44:56.036200 6 controller.go:839] volume "pvc-8798a16d-c6a7-449e-8748-0d2e5d69a5e0" in work queue no longer exists
E0331 13:45:25.528940 6 controller.go:811] error syncing volume "pvc-ff2419df-ed83-462f-b808-d49ab6e1c1e1": Operation cannot be fulfilled on persistentvolumes "pvc-ff2419df-ed83-462f-b808-d49ab6e1c1e1": the object has been modified; please apply your changes to the latest version and try again
E0331 13:45:40.529341 6 controller.go:839] volume "pvc-ff2419df-ed83-462f-b808-d49ab6e1c1e1" in work queue no longer exists
E0331 13:46:53.454115 6 controller.go:839] volume "pvc-f202931e-6af1-49c7-bd8a-3b91e59f92cf" in work queue no longer exists
E0331 13:52:23.035222 6 controller.go:811] error syncing volume "pvc-b2405a8c-e87e-4ab9-8682-1b94062f164e": Operation cannot be fulfilled on persistentvolumes "pvc-b2405a8c-e87e-4ab9-8682-1b94062f164e": the object has been modified; please apply your changes to the latest version and try again
E0331 13:52:27.737811 6 controller.go:839] volume "pvc-68451243-3f2b-45ec-98c5-98442dff01c8" in work queue no longer exists
E0331 13:52:28.219221 6 controller.go:839] volume "pvc-90cc36aa-5f71-46af-ba72-3d1dba8c16da" in work queue no longer exists
E0331 13:52:38.035904 6 controller.go:839] volume "pvc-b2405a8c-e87e-4ab9-8682-1b94062f164e" in work queue no longer exists