I’m attempting to modify my NFS backup URL and I get the following message: admission webhook “validator.harvesterhci.io” denied the request: There is VMBackup in creating or deleting progress
I’m not sure why I’m getting backup errors in the first place, VolumeSnapshot xxx in error state, but it could be permissions, and that’s my quest…
My real issue is that I’m not able to delete the failed backup jobs, so unable to correct the backup URL or go any further.
Image of the failed backups listing, delete does nothing.
I stumbled across this when I got the same message. The main difference was that my backups weren’t showing up at all in the UI, but either way you can use kubectl to fix this.
kubectl get vmbackups -A will give you a list of all the backups. Then you just need to delete them with the --force flag. (ie: kubectl delete vmbackup --force fall24reboots) Or be sure to add the namespace if they’re scoped. (ie: kubectl delete vmbackup --force -n mynamespace fall24reboots ). If they get stuck deleting do kubectl edit and remove the finalizer lines.